Skip to content
Gemini CLI

Chainweb API for Gemini CLI

io.github.pact-community-organization/chainweb

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

client:Gemini CLI transport:stdio runtime:npm

Install Chainweb API in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "chainweb": {
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-chainweb"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<PACT_COMMUNITY_WORKSPACE_ROOT>",
        "PACT_COMMUNITY_CHAINWEB_MODE": "<PACT_COMMUNITY_CHAINWEB_MODE>",
        "PACT_COMMUNITY_CHAINWEB_PROFILE": "<PACT_COMMUNITY_CHAINWEB_PROFILE>",
        "PACT_COMMUNITY_CHAINWEB_BASE_URL": "<PACT_COMMUNITY_CHAINWEB_BASE_URL>",
        "PACT_COMMUNITY_CHAINWEB_NETWORK_ID": "<PACT_COMMUNITY_CHAINWEB_NETWORK_ID>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Chainweb API in other clients