PluginBench
MCP Server
Active
Apache-2.0

Chainweb API MCP Server

io.github.Pact-Community-Organization/chainweb

What is the Chainweb API MCP server?

Chainweb HTTP API: local sim, pre-signed send, poll, table reads, SPV proofs, module deploys.

How to install Chainweb API

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • PACT_COMMUNITY_WORKSPACE_ROOT
    required

    Workspace root directory; all file access is confined inside it.

  • PACT_COMMUNITY_CHAINWEB_MODE
    required

    Network mode; must be set and match PACT_COMMUNITY_CHAINWEB_PROFILE (devnet, testnet06, or mainnet).

  • PACT_COMMUNITY_CHAINWEB_PROFILE

    Network profile: devnet (default, read/write), testnet06, or mainnet (both read-only).

  • PACT_COMMUNITY_CHAINWEB_BASE_URL

    Chainweb node base URL (default per profile).

  • PACT_COMMUNITY_CHAINWEB_NETWORK_ID

    Network id, e.g. development, testnet06, mainnet01 (default per profile).

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "chainweb": {
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-chainweb"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<YOUR_PACT_COMMUNITY_WORKSPACE_ROOT>",
        "PACT_COMMUNITY_CHAINWEB_MODE": "<YOUR_PACT_COMMUNITY_CHAINWEB_MODE>",
        "PACT_COMMUNITY_CHAINWEB_PROFILE": "<YOUR_PACT_COMMUNITY_CHAINWEB_PROFILE>",
        "PACT_COMMUNITY_CHAINWEB_BASE_URL": "<YOUR_PACT_COMMUNITY_CHAINWEB_BASE_URL>",
        "PACT_COMMUNITY_CHAINWEB_NETWORK_ID": "<YOUR_PACT_COMMUNITY_CHAINWEB_NETWORK_ID>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "chainweb": {
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-chainweb"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<YOUR_PACT_COMMUNITY_WORKSPACE_ROOT>",
        "PACT_COMMUNITY_CHAINWEB_MODE": "<YOUR_PACT_COMMUNITY_CHAINWEB_MODE>",
        "PACT_COMMUNITY_CHAINWEB_PROFILE": "<YOUR_PACT_COMMUNITY_CHAINWEB_PROFILE>",
        "PACT_COMMUNITY_CHAINWEB_BASE_URL": "<YOUR_PACT_COMMUNITY_CHAINWEB_BASE_URL>",
        "PACT_COMMUNITY_CHAINWEB_NETWORK_ID": "<YOUR_PACT_COMMUNITY_CHAINWEB_NETWORK_ID>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "chainweb": {
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-chainweb"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<YOUR_PACT_COMMUNITY_WORKSPACE_ROOT>",
        "PACT_COMMUNITY_CHAINWEB_MODE": "<YOUR_PACT_COMMUNITY_CHAINWEB_MODE>",
        "PACT_COMMUNITY_CHAINWEB_PROFILE": "<YOUR_PACT_COMMUNITY_CHAINWEB_PROFILE>",
        "PACT_COMMUNITY_CHAINWEB_BASE_URL": "<YOUR_PACT_COMMUNITY_CHAINWEB_BASE_URL>",
        "PACT_COMMUNITY_CHAINWEB_NETWORK_ID": "<YOUR_PACT_COMMUNITY_CHAINWEB_NETWORK_ID>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "chainweb": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-chainweb"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<YOUR_PACT_COMMUNITY_WORKSPACE_ROOT>",
        "PACT_COMMUNITY_CHAINWEB_MODE": "<YOUR_PACT_COMMUNITY_CHAINWEB_MODE>",
        "PACT_COMMUNITY_CHAINWEB_PROFILE": "<YOUR_PACT_COMMUNITY_CHAINWEB_PROFILE>",
        "PACT_COMMUNITY_CHAINWEB_BASE_URL": "<YOUR_PACT_COMMUNITY_CHAINWEB_BASE_URL>",
        "PACT_COMMUNITY_CHAINWEB_NETWORK_ID": "<YOUR_PACT_COMMUNITY_CHAINWEB_NETWORK_ID>"
      }
    }
  }
}
Claude Code
claude mcp add chainweb --env PACT_COMMUNITY_WORKSPACE_ROOT=<YOUR_PACT_COMMUNITY_WORKSPACE_ROOT> --env PACT_COMMUNITY_CHAINWEB_MODE=<YOUR_PACT_COMMUNITY_CHAINWEB_MODE> --env PACT_COMMUNITY_CHAINWEB_PROFILE=<YOUR_PACT_COMMUNITY_CHAINWEB_PROFILE> --env PACT_COMMUNITY_CHAINWEB_BASE_URL=<YOUR_PACT_COMMUNITY_CHAINWEB_BASE_URL> --env PACT_COMMUNITY_CHAINWEB_NETWORK_ID=<YOUR_PACT_COMMUNITY_CHAINWEB_NETWORK_ID> -- npx -y @pact-community/mcp-chainweb

Related MCP servers

Pact 5 tooling: REPL test runs, trap scanning, gas estimation, interface diff, format checks.

0
TypeScript
Apache-2.0
View repository →