AgentPassport

v0.2.0
io.github.ggoldani/agent-passport Checked 1 day ago Published 18 days ago

MCP server for AgentPassport: registration, paid interactions, ratings and on-chain trust tiers.

Values you need

VariableWhat it is
STELLAR_NETWORKoptional Stellar network (testnet or mainnet) Default: testnet
STELLAR_CONTRACT_IDrequired Deployed AgentPassport contract ID (C...) Default: CAYIR5ON6NDKCQ2KLPFHDJTNKEQHSTJP3ZBMRVV4QPEEAI5ZGLN4A7VQ
STELLAR_RPC_URLoptional Soroban RPC URL (defaults to the network default)
STELLAR_SECRET_KEYoptional secret Stellar secret key (S...) — only for write/admin operations; leave unset for read-only
AGENTPASSPORT_API_URLoptional AgentPassport REST API base URL used by the bridge tools Default: https://agent-passport.xyz

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add agent-passport -e STELLAR_CONTRACT_ID=CAYIR5ON6NDKCQ2KLPFHDJTNKEQHSTJP3ZBMRVV4QPEEAI5ZGLN4A7VQ -- npx -y @ggoldani/agent-passport-mcp@0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "agent-passport": {
      "args": [
        "-y",
        "@ggoldani/agent-passport-mcp@0.2.0"
      ],
      "command": "npx",
      "env": {
        "STELLAR_CONTRACT_ID": "CAYIR5ON6NDKCQ2KLPFHDJTNKEQHSTJP3ZBMRVV4QPEEAI5ZGLN4A7VQ"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "agent-passport": {
      "args": [
        "-y",
        "@ggoldani/agent-passport-mcp@0.2.0"
      ],
      "command": "npx",
      "env": {
        "STELLAR_CONTRACT_ID": "CAYIR5ON6NDKCQ2KLPFHDJTNKEQHSTJP3ZBMRVV4QPEEAI5ZGLN4A7VQ"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "STELLAR_CONTRACT_ID",
      "id": "stellar-contract-id",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "agent-passport": {
      "args": [
        "-y",
        "@ggoldani/agent-passport-mcp@0.2.0"
      ],
      "command": "npx",
      "env": {
        "STELLAR_CONTRACT_ID": "${input:stellar-contract-id}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.agent-passport]
command = "npx"
args = ["-y", "@ggoldani/agent-passport-mcp@0.2.0"]
env = { "STELLAR_CONTRACT_ID" = "CAYIR5ON6NDKCQ2KLPFHDJTNKEQHSTJP3ZBMRVV4QPEEAI5ZGLN4A7VQ" }

For AI agents

  1. Ask the user for: STELLAR_CONTRACT_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: health, ap_init, ap_get_agent, ap_get_config, ap_get_rating, ap_add_relayer, ap_list_agents, ap_accept_admin, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json