Mesh Agent MCP Server provides an interface for Claude to access blockchain and web3 tools through the Heurist Mesh network. This server connects to various specialized AI agents that handle cryptocurrency data, blockchain analysis, token security, and more - all through a single API key.
# Clone the repository
git clone https://github.com/heurist-network/heurist-mesh-mcp-server.git
cd heurist-mesh-mcp-server
# Install the package
uv pip install -e .
# Clone the repository
git clone https://github.com/heurist-network/heurist-mesh-mcp-server.git
cd heurist-mesh-mcp-server
# Build the Docker image
docker build -t mesh-tool-server .
Add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"heurist-mesh-agent": {
"command": "uv",
"args": [
"--directory",
"/path/to/heurist-mesh-mcp-server/mesh_mcp_server",
"run",
"mesh-tool-server"
],
"env": {
"HEURIST_API_KEY": "your-api-key-here"
}
}
}
}
For Docker with Claude Desktop, add this to your claude_desktop_config.json
:
{
"mcpServers": {
"mesh-agent": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e", "TRANSPORT=stdio",
"-e", "HEURIST_API_KEY=your-api-key-here",
"mesh-tool-server"
]
}
}
}
cp .env.example .env
# Edit .env file to add your API key
HEURIST_API_KEY=your-api-key-here
uv run mesh-tool-server --transport sse --port 8000
docker run -p 8000:8000 -e PORT=8000 mesh-tool-server
Then in Cursor, add the MCP Server URL: http://0.0.0.0:8000/sse
A shared SSE endpoint is available at https://sequencer-v2.heurist.xyz/mcp/sse with common agents included:
For Claude Desktop users connecting to SSE servers, install mcp-proxy.
Here are some of the key tools available through the Mesh Agent server:
To modify which agents are available in your server:
server.py
fileConfig
classDEFAULT_AGENTS
list:DEFAULT_AGENTS = [
"CoinGeckoTokenInfoAgent",
"DexScreenerTokenInfoAgent",
"ElfaTwitterIntelligenceAgent",
"ExaSearchAgent",
"FirecrawlSearchAgent",
"GoplusAnalysisAgent",
# Add your desired agents here
]
For the complete list of available agents, visit mesh.heurist.ai/metadata.json or mcp.heurist.ai.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "heurist-mesh-agent" '{"command":"uv","args":["--directory","/path/to/heurist-mesh-mcp-server/mesh_mcp_server","run","mesh-tool-server"],"env":{"HEURIST_API_KEY":"your-api-key-here"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"heurist-mesh-agent": {
"command": "uv",
"args": [
"--directory",
"/path/to/heurist-mesh-mcp-server/mesh_mcp_server",
"run",
"mesh-tool-server"
],
"env": {
"HEURIST_API_KEY": "your-api-key-here"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"heurist-mesh-agent": {
"command": "uv",
"args": [
"--directory",
"/path/to/heurist-mesh-mcp-server/mesh_mcp_server",
"run",
"mesh-tool-server"
],
"env": {
"HEURIST_API_KEY": "your-api-key-here"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect