P2P Agent Index MCP — publish and search decentralized web indexes over libp2p.
Drift inferred · capture-to-capture
No drift recorded — single capability capture; advisories appear once its surface changes.
tools
-
add_keywords
Add keywords to this peer's advertised topic list
-
find_peers_by_keyword
DHT/registry discovery only — peer IDs and multiaddrs
-
get_network_setup
Start here — directory URL, configured peers, Active Nodes sections, blind-test flow
-
get_peer_profile
Fetch ANP locators from another edge peer over libp2p
-
get_peer_status
Local peer ID, configured routing/relay, keyword and record counts
-
publish_index
Store a page summary and advertise agent-supplied keywords
-
query_peer_index
Query a known peer ID directly (bypasses DHT; uses relay hole-punch when needed)
-
remove_keywords
Remove keywords from this peer's advertised topic list
-
search_index
Discover peers by keywords, fetch records for query, return merged JSON
-
set_keywords
Replace the peer's advertised keyword list
code files: 19
filesystem 7
- fs agent-idx-mcp-50c6d9c/dist/db.js :1
import * as fs from 'fs'; - fs agent-idx-mcp-50c6d9c/dist/identity.js :1
import * as fs from 'fs'; - fs agent-idx-mcp-50c6d9c/dist/keywords.js :1
import * as fs from 'fs'; - fs agent-idx-mcp-50c6d9c/src/db.ts :1
import * as fs from 'fs'; - fs agent-idx-mcp-50c6d9c/src/identity.ts :1
import * as fs from 'fs'; - fs agent-idx-mcp-50c6d9c/src/keywords.ts :1
import * as fs from 'fs'; - fs (weak) agent-idx-mcp-50c6d9c/src/test.ts :106
await fs.unlink(file).catch(() => undefined);
network 2
- net agent-idx-mcp-50c6d9c/dist/p2p.js :278
const response = await fetch(this.getBootstrapHealthUrl(), { - net agent-idx-mcp-50c6d9c/src/p2p.ts :342
const response = await fetch(this.getBootstrapHealthUrl(), {
install hooks 1
- prepublishOnly agent-idx-mcp-50c6d9c/package.json :25
npm run build
declared dependencies 17
- @modelcontextprotocol/sdk@^0.6.0
- @libp2p/identify@^4.1.9
- @libp2p/kad-dht@^16.3.4
- @libp2p/noise@^1.0.1
- @libp2p/ping@^3.1.8
- @libp2p/tcp@^11.0.23
- @libp2p/yamux@^8.0.1
- @libp2p/circuit-relay-v2@^4.2.8
- @libp2p/dcutr@^3.0.23
- @libp2p/autonat@^3.0.10
- @multiformats/multiaddr@^12.2.1
- commander@^11.1.0
- dotenv@^16.4.5
- libp2p@^3.3.5
- uint8arrays@^3.1.1
- @types/node@^20.11.19
- typescript@^5.3.3