ERC-8004 MCP Server
Enables querying ERC-8004 AI agent identities from on-chain and IPFS metadata. Supports search, listing, details, feedback, stats, and full metadata retrieval.
README
ERC-8004 MCP Server
An MCP (Model Context Protocol) server for querying ERC-8004 AI agent identities. It queries The Graph subgraph for on-chain data and fetches IPFS metadata for full off-chain details.
Features
- Search agents by name with optional protocol filtering (MCP/A2A)
- List agents with pagination, sorting, and protocol filtering
- Get full agent details including contract state, services, identity, and statistics
- Get feedback/reviews with scores, tags, review text, and MCP/A2A context
- Get engagement stats with tag analysis and score distribution
- Get full metadata including off-chain IPFS attributes (certifications, model info, social links, pricing, etc.)
Tools
| Tool | Description |
|---|---|
search_agents |
Search agents by name with optional protocol filter |
list_agents |
Browse agents with pagination and sorting |
get_agent |
Get full details for an agent by ID |
get_agent_feedback |
Get all feedback/reviews for an agent |
get_agent_stats |
Get engagement metrics and score breakdown |
get_agent_metadata |
Get full on-chain + off-chain metadata (IPFS) |
Setup
yarn install
Usage
stdio mode (Claude Desktop, Cursor, etc.)
yarn dev
HTTP mode (Streamable HTTP)
yarn dev:http
The server starts on http://localhost:3100/mcp by default. Set the PORT environment variable to change it.
Production
yarn build
yarn start # stdio
yarn start:http # HTTP
Configuration with Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"erc-8004-agents": {
"command": "npx",
"args": ["tsx", "/path/to/erc-8004-mcp-server/src/index.ts"]
}
}
}
Or with the compiled version:
{
"mcpServers": {
"erc-8004-agents": {
"command": "node",
"args": ["/path/to/erc-8004-mcp-server/dist/index.js"]
}
}
}
Configuration with Cursor
Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"erc-8004-agents": {
"command": "npx",
"args": ["tsx", "/path/to/erc-8004-mcp-server/src/index.ts"]
}
}
}
Or for the HTTP transport:
{
"mcpServers": {
"erc-8004-agents": {
"url": "http://localhost:3100/mcp"
}
}
}
Example queries
Once connected, you can ask your AI assistant:
- "Search for fitness agents on ERC-8004"
- "List the most recently created agents with MCP support"
- "Get details for agent 11155111:1213"
- "Show me all the feedback for Larry the Lobster"
- "What are the full metadata attributes for agent 11155111:1213?"
- "Show me the stats and score breakdown for this agent"
Data Sources
- On-chain data: ERC-8004 Subgraph on Sepolia testnet
- Off-chain metadata: IPFS via public gateways (ipfs.io, cloudflare-ipfs.com, dweb.link)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.