# Agent Mesh (MCP server)

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

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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/google/agentmesh |
| GitHub stars | 1,201 |
| License | Apache-2.0 |
| Language | Go |
| Transport | stdio |
| Packages | npm: @agentmesh-p2p/sdk |
| Remote URL | none |
| Needs API key | yes |
| Official | yes |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Web & browsing |
| Latest release | v0.2.0 (Nov 2, 2026) |
| Last commit | Nov 11, 2026 |
| MCP registry name | io.github.google/agentmesh |

## Install

### Claude Desktop (claude_desktop_config.json)

```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

```sh
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)

```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)

```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 2026-10-07.

## Environment variables

- `AGENTMESH_CONTROL_PLANE_URL` (required): Control plane URL supplied by your mesh operator. HTTPS is required beyond loopback unless explicitly permitted below.
- `AGENTMESH_BOOTSTRAP_TOKEN_PATH` (secret): Absolute path to a bootstrap token file for first enrollment. Set this OR AGENTMESHJWTPATH; leave both empty only when resuming saved credentials.
- `AGENTMESH_JWT_PATH` (secret): Absolute path to an OIDC/workload token file. Alternative to the bootstrap token; reread during credential refresh.
- `AGENTMESH_STATE_DIR`: Absolute directory for this client identity. Use a distinct directory per client and mesh. If omitted, uses ~/.config/agentmesh/mcp.
- `AGENTMESH_INSECURE_CONTROL_PLANE`: Allow plaintext HTTP beyond loopback. Development only: exposes enrollment traffic to the network.

## Similar MCP servers

- [CRW Web Scraper](https://appsgit.com/mcp-servers/crw-web-scraper): Open-source web scraper for AI agents with scrape, crawl, and map tools. (1,261 stars, AGPL-3.0)
- [Fetcher MCP](https://appsgit.com/mcp-servers/fetcher-mcp): MCP server for fetch web page content using Playwright headless browser. (1,088 stars, MIT)
- [AutoTS](https://appsgit.com/mcp-servers/autots): Automated time series forecasting with model search, anomaly detection, and event risk analysis. (1,433 stars, MIT)
- [Unbrowse](https://appsgit.com/mcp-servers/unbrowse): Websites as APIs: read pages, run site tasks via learned APIs, cloud browser with saved logins. (930 stars, MIT, needs API key)
- [WebPerf Snippets](https://appsgit.com/mcp-servers/webperf-snippets): Measure Core Web Vitals and debug web performance with 56 snippets in a headless Chromium. (1,458 stars, MIT, needs API key)
- [Auto Browser](https://appsgit.com/mcp-servers/auto-browser): Give your AI agent a real browser — with a human in the loop. (929 stars, MIT)

---

Canonical page: https://appsgit.com/mcp-servers/agent-mesh
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
