Chainweb API for VS Code
io.github.pact-community-organization/chainweb
Chainweb HTTP API: local sim, pre-signed send, poll, table reads, SPV proofs, module deploys.
client:VS Code
transport:stdio
runtime:npm
Install Chainweb API in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "pact-community-workspace-root",
"description": "PACT_COMMUNITY_WORKSPACE_ROOT",
"password": true
},
{
"type": "promptString",
"id": "pact-community-chainweb-mode",
"description": "PACT_COMMUNITY_CHAINWEB_MODE",
"password": true
},
{
"type": "promptString",
"id": "pact-community-chainweb-profile",
"description": "PACT_COMMUNITY_CHAINWEB_PROFILE",
"password": true
},
{
"type": "promptString",
"id": "pact-community-chainweb-base-url",
"description": "PACT_COMMUNITY_CHAINWEB_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "pact-community-chainweb-network-id",
"description": "PACT_COMMUNITY_CHAINWEB_NETWORK_ID",
"password": true
}
],
"servers": {
"chainweb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pact-community/mcp-chainweb"
],
"env": {
"PACT_COMMUNITY_WORKSPACE_ROOT": "${input:pact-community-workspace-root}",
"PACT_COMMUNITY_CHAINWEB_MODE": "${input:pact-community-chainweb-mode}",
"PACT_COMMUNITY_CHAINWEB_PROFILE": "${input:pact-community-chainweb-profile}",
"PACT_COMMUNITY_CHAINWEB_BASE_URL": "${input:pact-community-chainweb-base-url}",
"PACT_COMMUNITY_CHAINWEB_NETWORK_ID": "${input:pact-community-chainweb-network-id}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs