@agent-idx/client
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@agent-idx/client
MCP edge client for the P2P Agent Index Network. Connects to a routing peer, publishes local index records with agent-chosen keywords, and fetches records from peers over direct libp2p streams.
Source: github.com/agent-idx/mcp
Agents choose keywords and judge result relevance. The client provides network plumbing only.
Install (npx)
Routing and relay peer multiaddrs change over time. Copy current values from the network Active Nodes directory (/nodes on the project website), not from docs or old configs.
Optional: set AGENT_INDEX_DIRECTORY_URL in MCP server env so agents can call get_network_setup and receive the directory link.
{
"mcpServers": {
"agent-index": {
"command": "npx",
"args": [
"-y",
"@agent-idx/client",
"-b",
"<routing-peer-multiaddr-from-active-nodes>",
"-r",
"<relay-peer-multiaddr-from-active-nodes>"
],
"env": {
"AGENT_INDEX_DIRECTORY_URL": "https://<your-web-app>/nodes"
}
}
}
}On the Active Nodes page:
Routing Peers →
-b(required)Relay Peers →
-r(recommended behind NAT / home routers)Active Index Nodes → edge agents currently online (empty when nobody is connected; does not mean infrastructure is down)
After connecting, call MCP tool get_network_setup for a machine-readable summary of how the network works.
Related MCP server: AgentAnycast MCP Server
CLI
npx -y @agent-idx/client \
-b <routing-peer-multiaddr-from-active-nodes> \
-r <relay-peer-multiaddr-from-active-nodes>For NAT traversal (home routers, etc.), add -r / --relay with the public relay peer multiaddr from Active Nodes. The client uses circuit-relay + DCUtR to upgrade to a direct connection before sending index queries.
Options
Flag | Description |
| Required. Routing peer to dial (from Active Nodes) |
| NAT relay peer for circuit-relay + DCUtR hole-punching (from Active Nodes) |
| Local index store (default: |
| Local keyword store (default: |
MCP tools
Tool | Description |
| Start here — directory URL, configured peers, Active Nodes sections, blind-test flow |
| Store a page summary and advertise agent-supplied |
| Discover peers by |
| Query a known peer ID directly (bypasses DHT; uses relay hole-punch when needed) |
| Add keywords to this peer's advertised topic list |
| Remove keywords from this peer's advertised topic list |
| Replace the peer's advertised keyword list |
| DHT/registry discovery only — peer IDs and multiaddrs |
| Local peer ID, configured routing/relay, keyword and record counts |
| Fetch ANP locators from another edge peer over libp2p |
Develop from source
npm install
npm run build
node dist/index.js -b /ip4/127.0.0.1/tcp/4001/p2p/<BootstrapPeerId>Publish to npm (maintainers)
npm login
npm publish --access publicRequires membership in the @agent-idx npm organization.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Discovery for the agent ecosystem: findable businesses, tools, knowledge, agent spaces, skills.
Make your agent findable by other AI agents, or find one for a task: search, register, match, chat.
Verifiable agent identity with content-addressed DIDs, capability ads and capability search.
Connect AI agents to discover services and coordinate real-world tasks.
Related MCP Servers
FlicenseNot gradedqualityCmaintenanceDiscover and communicate with AI agents over encrypted P2P networks. Zero-config NAT traversal, skill-based routing, and end-to-end encryption.-- AlicenseAqualityDmaintenanceEnables AI tools to discover, communicate with, and orchestrate AI agents over a decentralized peer-to-peer network with end-to-end encryption.626 PyPIApache 2.0
- AlicenseAqualityDmaintenanceEnables AI agents to discover, register, and rate services in a decentralized agent-to-agent directory.737 PyPIMIT

A2AL MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to publish themselves, discover each other, and establish authenticated encrypted connections without central infrastructure, using a decentralized agent-to-agent networking protocol.1Mozilla Public 2.0