Discover and call remote MCP tools as your own authenticated Agent Mesh member.
Connect Runs on your machine
claude mcp add agentmesh -e AGENTMESH_CONTROL_PLANE_URL=<AGENTMESH_CONTROL_PLANE_URL> -e AGENTMESH_BOOTSTRAP_TOKEN_PATH=<AGENTMESH_BOOTSTRAP_TOKEN_PATH> -e AGENTMESH_JWT_PATH=<AGENTMESH_JWT_PATH> -e AGENTMESH_STATE_DIR=<AGENTMESH_STATE_DIR> -e AGENTMESH_INSECURE_CONTROL_PLANE=<AGENTMESH_INSECURE_CONTROL_PLANE> -- npx -y @agentmesh-p2p/[email protected]
{
"mcpServers": {
"agentmesh": {
"command": "npx",
"args": [
"-y",
"@agentmesh-p2p/[email protected]"
],
"env": {
"AGENTMESH_CONTROL_PLANE_URL": "<AGENTMESH_CONTROL_PLANE_URL>",
"AGENTMESH_BOOTSTRAP_TOKEN_PATH": "<AGENTMESH_BOOTSTRAP_TOKEN_PATH>",
"AGENTMESH_JWT_PATH": "<AGENTMESH_JWT_PATH>",
"AGENTMESH_STATE_DIR": "<AGENTMESH_STATE_DIR>",
"AGENTMESH_INSECURE_CONTROL_PLANE": "<AGENTMESH_INSECURE_CONTROL_PLANE>"
}
}
}
}
{
"mcpServers": {
"agentmesh": {
"command": "npx",
"args": [
"-y",
"@agentmesh-p2p/[email protected]"
],
"env": {
"AGENTMESH_CONTROL_PLANE_URL": "<AGENTMESH_CONTROL_PLANE_URL>",
"AGENTMESH_BOOTSTRAP_TOKEN_PATH": "<AGENTMESH_BOOTSTRAP_TOKEN_PATH>",
"AGENTMESH_JWT_PATH": "<AGENTMESH_JWT_PATH>",
"AGENTMESH_STATE_DIR": "<AGENTMESH_STATE_DIR>",
"AGENTMESH_INSECURE_CONTROL_PLANE": "<AGENTMESH_INSECURE_CONTROL_PLANE>"
}
}
}
}
{
"servers": {
"agentmesh": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agentmesh-p2p/[email protected]"
],
"env": {
"AGENTMESH_CONTROL_PLANE_URL": "<AGENTMESH_CONTROL_PLANE_URL>",
"AGENTMESH_BOOTSTRAP_TOKEN_PATH": "<AGENTMESH_BOOTSTRAP_TOKEN_PATH>",
"AGENTMESH_JWT_PATH": "<AGENTMESH_JWT_PATH>",
"AGENTMESH_STATE_DIR": "<AGENTMESH_STATE_DIR>",
"AGENTMESH_INSECURE_CONTROL_PLANE": "<AGENTMESH_INSECURE_CONTROL_PLANE>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
AGENTMESH_CONTROL_PLANE_URLRequired | Control plane URL supplied by your mesh operator. HTTPS is required beyond loopback unless explicitly permitted below. |
AGENTMESH_BOOTSTRAP_TOKEN_PATHOptional, secret | Absolute path to a bootstrap token file for first enrollment. Set this OR AGENTMESH_JWT_PATH; leave both empty only when resuming saved credentials. |
AGENTMESH_JWT_PATHOptional, secret | Absolute path to an OIDC/workload token file. Alternative to the bootstrap token; reread during credential refresh. |
AGENTMESH_STATE_DIROptional | Absolute directory for this client identity. Use a distinct directory per client and mesh. If omitted, uses ~/.config/agentmesh/mcp. |
AGENTMESH_INSECURE_CONTROL_PLANEOptional | Allow plaintext HTTP beyond loopback. Development only: exposes enrollment traffic to the network. |
Details
| Package | @agentmesh-p2p/[email protected] (NPM, stdio) |
| First published | 2 Nov 2026 |
| Last updated | 2 Nov 2026 |
| Registry name | io.github.google/agentmesh |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
