Skip to content
appsgit

Agent Mesh

Agent Mesh is an MCP server that adds web browsing tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Discover and call remote MCP tools as your own authenticated Agent Mesh member. It has 1,201 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @agentmesh-p2p/sdk.

github.com/google/agentmesh (opens in a new tab)

Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error

Install Agent Mesh

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "agent-mesh": {
      "command": "npx",
      "args": [
        "-y",
        "@agentmesh-p2p/sdk"
      ],
      "env": {
        "AGENTMESH_CONTROL_PLANE_URL": "your-value",
        "AGENTMESH_BOOTSTRAP_TOKEN_PATH": "your-value",
        "AGENTMESH_JWT_PATH": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env AGENTMESH_CONTROL_PLANE_URL=your-value --env AGENTMESH_BOOTSTRAP_TOKEN_PATH=your-value --env AGENTMESH_JWT_PATH=your-value --transport stdio agent-mesh -- npx -y @agentmesh-p2p/sdk

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "agent-mesh": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agentmesh-p2p/sdk"
      ],
      "env": {
        "AGENTMESH_CONTROL_PLANE_URL": "your-value",
        "AGENTMESH_BOOTSTRAP_TOKEN_PATH": "your-value",
        "AGENTMESH_JWT_PATH": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "agentmesh_bootstrap_token_path",
      "description": "AGENTMESH_BOOTSTRAP_TOKEN_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentmesh_jwt_path",
      "description": "AGENTMESH_JWT_PATH",
      "password": true
    }
  ],
  "servers": {
    "agent-mesh": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agentmesh-p2p/sdk"
      ],
      "env": {
        "AGENTMESH_CONTROL_PLANE_URL": "your-value",
        "AGENTMESH_BOOTSTRAP_TOKEN_PATH": "${input:agentmesh_bootstrap_token_path}",
        "AGENTMESH_JWT_PATH": "${input:agentmesh_jwt_path}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
AGENTMESH_CONTROL_PLANE_URLYesControl plane URL supplied by your mesh operator. HTTPS is required beyond loopback unless explicitly permitted below.
AGENTMESH_BOOTSTRAP_TOKEN_PATHsecretNoAbsolute path to a bootstrap token file for first enrollment. Set this OR AGENTMESHJWTPATH; leave both empty only when resuming saved credentials.
AGENTMESH_JWT_PATHsecretNoAbsolute path to an OIDC/workload token file. Alternative to the bootstrap token; reread during credential refresh.
AGENTMESH_STATE_DIRNoAbsolute directory for this client identity. Use a distinct directory per client and mesh. If omitted, uses ~/.config/agentmesh/mcp.
AGENTMESH_INSECURE_CONTROL_PLANENoAllow plaintext HTTP beyond loopback. Development only: exposes enrollment traffic to the network.

About Agent Mesh

Native JavaScript SDK for joining an Agent Mesh from inside the agent process. It replaces the agentmesh-node sidecar for agents written for Node.js or running in a browser page: the agent enrolls with the control plane, joins the mesh through a router, finds services and calls them, answers A2A requests for the agent itself, and follows the control plane's keys, bans and policy while it runs. It publishes no service; a tool or a model others should find by name runs behind a agentmesh-node.

  • agentic-ai
  • p2p-network
  • network-security
  • networking-ai
  • mcp
  • a2a
  • a2a-protocol
  • inference
  • mesh
  • mesh-network

FAQ

Agent Mesh FAQ

Still curious? Email info@appsgit.com.

How do I install the Agent Mesh MCP server?

Add the command npx -y @agentmesh-p2p/sdk to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Agent Mesh free?

The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (AGENTMESH_BOOTSTRAP_TOKEN_PATH and AGENTMESH_JWT_PATH) for the service it connects to, which may require a paid account.

Is Agent Mesh actively maintained?

The most recent commit was on Nov 11, 2026. The latest release is v0.2.0, published Nov 2, 2026. appsgit only lists MCP servers with a commit in the last six months.