Skip to content
MCP server
Registry

Agent Index MCP Server

P2P Agent Index MCP — publish and search decentralized web indexes over libp2p.

Agent Index scores 46 (Fair), with no SPDX license recorded and written in TypeScript. It installs as a local process. It declares 10 tools. Filed under Search. GitHub shows 0 stars. Package registries report about 55 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by agent-idxNo licenseTypeScript0 stars
Trust score
46Fair
Trust score 46 of 100, Fair

Fair trust

46 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 46 comes from

22 + 10 + 0 + 0 + 4 + 10 = 46. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance10 / 20

How recently the repository saw a commit or release.

Maintenance: 10 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "agent-idx-mcp": {      "command": "npx",      "args": [        "-y",        "@agent-idx/client@0.4.5"      ],      "env": {        "AGENT_INDEX_DIRECTORY_URL": ""      }    }  }}

Environment variables

NameRequiredNotes
AGENT_INDEX_DIRECTORY_URLOptionalURL of the network Active Nodes directory (routing/relay multiaddrs)

Tools10Tool docs quality grade C

All capabilities
  • Add keywords to this peer's advertised topic list

  • DHT/registry discovery only — peer IDs and multiaddrs

  • Start here — directory URL, configured peers, Active Nodes sections, blind-test flow

  • Fetch ANP locators from another edge peer over libp2p

  • Local peer ID, configured routing/relay, keyword and record counts

  • Store a page summary and advertise agent-supplied keywords

  • Query a known peer ID directly (bypasses DHT; uses relay hole-punch when needed)

  • Remove keywords from this peer's advertised topic list

  • Discover peers by keywords, fetch records for query, return merged JSON

  • Replace the peer's advertised keyword list

About

@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.

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

FlagDescription
-b, --bootstrap <multiaddr>Required. Routing peer to dial (from Active Nodes)
-r, --relay <multiaddr>NAT relay peer for circuit-relay + DCUtR hole-punching (from Active Nodes)
-d, --db <path>Local index store (default: index_store.json)
-k, --keywords <path>Local keyword store (default: keywords.json)

MCP tools

ToolDescription
get_network_setupStart here — directory URL, configured peers, Active Nodes sections, blind-test flow
publish_indexStore a page summary and advertise agent-supplied keywords
search_indexDiscover peers by keywords, fetch records for query, return merged JSON
query_peer_indexQuery a known peer ID directly (bypasses DHT; uses relay hole-punch when needed)
add_keywordsAdd keywords to this peer's advertised topic list
remove_keywordsRemove keywords from this peer's advertised topic list
set_keywordsReplace the peer's advertised keyword list
find_peers_by_keywordDHT/registry discovery only — peer IDs and multiaddrs
get_peer_statusLocal peer ID, configured routing/relay, keyword and record counts
get_peer_profileFetch 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 public

Requires membership in the @agent-idx npm organization.

Frequently asked questions

What is Agent Index MCP Server?

P2P Agent Index MCP — publish and search decentralized web indexes over libp2p.

How do I install Agent Index MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Agent Index MCP Server runs locally from the npm package @agent-idx/client with the command npx -y @agent-idx/client@0.4.5.

Does Agent Index MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Agent Index MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does Agent Index MCP Server provide?

Agent Index MCP Server provides 10 tools, including add_keywords, find_peers_by_keyword, get_network_setup, and get_peer_profile. See the full tool list for descriptions and parameters.

How is Agent Index MCP Server's trust score calculated?

Agent Index MCP Server scores 46 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server