AgentPassport
v0.2.0MCP server for AgentPassport: registration, paid interactions, ratings and on-chain trust tiers.
Values you need
| Variable | What it is | |
|---|---|---|
STELLAR_NETWORK | optional | Stellar network (testnet or mainnet) Default: testnet |
STELLAR_CONTRACT_ID | required | Deployed AgentPassport contract ID (C...) Default: CAYIR5ON6NDKCQ2KLPFHDJTNKEQHSTJP3ZBMRVV4QPEEAI5ZGLN4A7VQ |
STELLAR_RPC_URL | optional | Soroban RPC URL (defaults to the network default) |
STELLAR_SECRET_KEY | optional secret | Stellar secret key (S...) — only for write/admin operations; leave unset for read-only |
AGENTPASSPORT_API_URL | optional | 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.0Add 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
- Ask the user for: STELLAR_CONTRACT_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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