ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Agent Mesh

โดย googleรุ่น 0.2.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.google/agentmesh

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Discover and call remote MCP tools as your own authenticated Agent Mesh member.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: AGENTMESH_CONTROL_PLANE_URL, AGENTMESH_BOOTSTRAP_TOKEN_PATH, AGENTMESH_JWT_PATH

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: AGENTMESH_CONTROL_PLANE_URL, AGENTMESH_BOOTSTRAP_TOKEN_PATH, AGENTMESH_JWT_PATH, AGENTMESH_STATE_DIR, AGENTMESH_INSECURE_CONTROL_PLANE

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "agentmesh": {
      "command": "npx",
      "args": [
        "-y",
        "@agentmesh-p2p/sdk"
      ],
      "env": {
        "AGENTMESH_CONTROL_PLANE_URL": "ใส่ค่าของคุณ",
        "AGENTMESH_BOOTSTRAP_TOKEN_PATH": "ใส่ค่าของคุณ",
        "AGENTMESH_JWT_PATH": "ใส่ค่าของคุณ",
        "AGENTMESH_STATE_DIR": "ใส่ค่าของคุณ",
        "AGENTMESH_INSECURE_CONTROL_PLANE": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add agentmesh --env AGENTMESH_CONTROL_PLANE_URL='ใส่ค่าของคุณ' --env AGENTMESH_BOOTSTRAP_TOKEN_PATH='ใส่ค่าของคุณ' --env AGENTMESH_JWT_PATH='ใส่ค่าของคุณ' --env AGENTMESH_STATE_DIR='ใส่ค่าของคุณ' --env AGENTMESH_INSECURE_CONTROL_PLANE='ใส่ค่าของคุณ' -- npx -y @agentmesh-p2p/sdk

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "agentmesh": {
      "command": "npx",
      "args": [
        "-y",
        "@agentmesh-p2p/sdk"
      ],
      "env": {
        "AGENTMESH_CONTROL_PLANE_URL": "ใส่ค่าของคุณ",
        "AGENTMESH_BOOTSTRAP_TOKEN_PATH": "ใส่ค่าของคุณ",
        "AGENTMESH_JWT_PATH": "ใส่ค่าของคุณ",
        "AGENTMESH_STATE_DIR": "ใส่ค่าของคุณ",
        "AGENTMESH_INSECURE_CONTROL_PLANE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "agentmesh": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agentmesh-p2p/sdk"
      ],
      "env": {
        "AGENTMESH_CONTROL_PLANE_URL": "ใส่ค่าของคุณ",
        "AGENTMESH_BOOTSTRAP_TOKEN_PATH": "ใส่ค่าของคุณ",
        "AGENTMESH_JWT_PATH": "ใส่ค่าของคุณ",
        "AGENTMESH_STATE_DIR": "ใส่ค่าของคุณ",
        "AGENTMESH_INSECURE_CONTROL_PLANE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • AGENTMESH_CONTROL_PLANE_URL จำเป็น env
    Control plane URL supplied by your mesh operator. HTTPS is required beyond loopback unless explicitly permitted below.
  • AGENTMESH_BOOTSTRAP_TOKEN_PATH ความลับ env
    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_PATH ความลับ env
    Absolute path to an OIDC/workload token file. Alternative to the bootstrap token; reread during credential refresh.
  • AGENTMESH_STATE_DIR env
    Absolute directory for this client identity. Use a distinct directory per client and mesh. If omitted, uses ~/.config/agentmesh/mcp.
  • AGENTMESH_INSECURE_CONTROL_PLANE env
    Allow plaintext HTTP beyond loopback. Development only: exposes enrollment traffic to the network.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub google ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32380 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 89% ของอีก 32380 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32380 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Agent Mesh ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: AGENTMESH_CONTROL_PLANE_URL, AGENTMESH_BOOTSTRAP_TOKEN_PATH, AGENTMESH_JWT_PATH

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.0) เข้า registry 4 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Dechonet MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวาน
ติดตั้ง

Dechonet MCP

โดย node-man

30 security tools for AI agents: phishing links, exposure maps, DNS, SSL, PQC, history, pivots.

บนเครื่องหรือคลาวด์อัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

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

Guide: google.github.io/agentmesh/docs/guides/native-sdks, from an empty machine to two programs on a mesh. Source: github.com/google/agentmesh/tree/main/sdk/js.

Install

npm install @agentmesh-p2p/sdk @modelcontextprotocol/sdk zod

Requires Node.js 22.18 or later. In a browser, bundle it with the page (the package's browser field selects the browser files); the guide's In a browser section has the details and an example page.

MCP client over stdio

The package's agentmesh executable joins as its own mesh member and exposes five MCP tools: get_mesh_info, discover_remote_services, find_remote_tools, describe_remote_tool and call_remote_tool. A stdio-capable MCP client starts and stops the process; no node daemon is needed for this caller. Providers still publish their services through agentmesh-node.

To try the executable from a source checkout:

cd sdk/js

npm ci npm run build

Use absolute paths in your MCP client's configuration:

{

"mcpServers": { "agentmesh": { "command": "node", "args": ["/absolute/path/to/agentmesh/sdk/js/dist/cli.js"], "env": { "AGENTMESH_CONTROL_PLANE_URL": "https://your-control-plane.example", "AGENTMESH_BOOTSTRAP_TOKEN_PATH": "/absolute/path/to/join-token", "AGENTMESH_STATE_DIR": "/absolute/path/to/this-client-identity" } } } }

Get the control plane URL and token file from your mesh operator or agentmesh-one. Alternatively, set AGENTMESH_JWT_PATH to a workload/OIDC token file; do not set both token paths. Credentials are read from files, never command-line values.

The first run enrolls and saves its identity; later runs resume from the state directory without the bootstrap token. JWT enrollment rereads the token file when refreshing. Use a distinct state directory for each client identity and mesh; do not run multiple processes against the same directory. The default is ~/.config/agentmesh/mcp. Plain HTTP is allowed on loopback only unless AGENTMESH_INSECURE_CONTROL_PLANE=true explicitly permits it elsewhere.

Stdout contains only MCP messages; diagnostics go to stderr. Closing stdin or sending SIGINT/SIGTERM shuts down the mesh session. Tool calls use the member's existing authenticated streams and policy, including provider label checks. Remote tool results retain text, non-text content, structured output and errors. Discovery follows tool pagination, rejects looping catalogs and bounds each search to 64 providers, 256 services per provider, 256 tools per service and 1024 results. Requests have a 10-second deadline; narrow a large search by peer or service. intent is accepted but ignored, matching the node's current tool.

This member publishes no services, so it has no list_local_services tool. Inference and A2A discovery return metadata, but this executable provides no HTTP proxy, /v1 endpoint, local socket or local_proxy_url. Use an SDK client or an agentmesh-node HTTP proxy to invoke those protocols.

Use

Both programs below are in examples/ and run against a real mesh in the repository's tests. They read the mesh from AGENTMESH_CONTROL_PLANE_URL and the enrollment token from AGENTMESH_BOOTSTRAP_TOKEN_PATH; the guide shows how to get both from agentmesh-one or from the operator of an existing mesh.

Find a service and call it:

// Calls something on the mesh: a tool of an MCP service or a path of an

// inference or A2A service someone published, found by name, or an agent that // published nothing, reached by its peer ID. // // node call.js mcp://everything echo '{"message": "hi"}' // node call.js inference://ollama /v1/models // node call.js 12D3KooW... a2a://agent /card // // AGENTMESH_CONTROL_PLANE_URL names the mesh. The first run enrolls with the file // AGENTMESH_BOOTSTRAP_TOKEN_PATH (a token the mesh operator gave you) or // AGENTMESH_JWT_PATH (a workload identity token your platform issues, such as a // Kubernetes projected service account token), and keeps the identity and // credential in AGENTMESH_STATE_DIR; later runs resume from there without it. import { homedir } from "node:os"; import { AgentMesh, type DiscoveredProvider } from "@agentmesh-p2p/sdk";

let argv = process.argv.slice(2); // A first argument that is not a service target is the peer ID of an agent. let peerId: string | undefined; if (argv[0] !== undefined && !argv[0].includes("://")) { [peerId, ...argv] = argv as [string, ...string[]]; } const [service = peerId !== undefined ? "a2a://agent" : "mcp://everything", toolOrPath = peerId !== undefined ? "/card" : "echo", args = '{"message": "hi"}'] = argv;

const mesh = await AgentMesh.enroll({ controlPlaneUrl: process.env.AGENTMESH_CONTROL_PLANE_URL ?? "https://mesh.example.com", bootstrapTokenPath: process.env.AGENTMESH_BOOTSTRAP_TOKEN_PATH, jwtPath: process.env.AGENTMESH_JWT_PATH, stateDir: process.env.AGENTMESH_STATE_DIR ?? ${homedir()}/.config/agentmesh/caller, // A plaintext http:// control plane is otherwise accepted only on loopback. allowInsecure: process.env.AGENTMESH_INSECURE_CONTROL_PLANE === "true", }); const session = await mesh.join(); console.log(on the mesh as ${session.peerId});

// The peer to call: an agent named by ID, or a provider of a published service. let provider: DiscoveredProvider = { peerId: peerId ?? "", addrs: [] }; if (peerId !== undefined) { // An agent is not in the discovery table; the SDK finds the path to its // peer ID through the routers. await session.connect(peerId); } else { const providers = await session.discover(service); if (providers.length === 0) { throw new Error(no member of the mesh serves ${service}); } // A provider record can outlive its member; the first that answers is used. let reached = false; for (const candidate of providers) { try { await session.connect(candidate); provider = candidate; reached = true; break; } catch (err) { console.error(${candidate.peerId}: ${(err as Error).message}); } } if (!reached) { throw new Error(no provider of ${service} is reachable); } } console.log(${service} is served by ${provider.peerId});

if (service.startsWith("mcp://")) { const tools = await session.listTools(provider, service); console.log(tools: ${tools.map((t) => t.name).join(", ")}); const result = await session.callTool(provider, service, toolOrPath, JSON.parse(args)); console.log(result.text.join("\n")); } else { const response = await session.request(provider, service, toolOrPath); console.log(response.status, response.text()); }

await session.close();

<!-- /embed -->

Be an agent others can call. Nothing is published; a caller reaches the agent by its peer ID, the one it prints, through a router:

// An agent on the mesh: joins, then answers A2A requests from other members

// until stopped. It publishes nothing. There is no service name to look up; a // caller reaches the agent by its peer ID, through a router, as a2a://agent. // The mesh policy decides which members may call; the SDK turns the others // away before anything reaches this code. // // node agent.js # answered by the handler below // node agent.js http://127.0.0.1:9999 # forwarded to an A2A server beside it // // AGENTMESH_CONTROL_PLANE_URL names the mesh. The first run enrolls with the file // AGENTMESH_BOOTSTRAP_TOKEN_PATH (a token the mesh operator gave you) or // AGENTMESH_JWT_PATH (a workload identity token your platform issues, such as a // Kubernetes projected service account token), and keeps the identity and // credential in AGENTMESH_STATE_DIR; later runs resume from there, as the same // peer, without it. import { homedir } from "node:os"; import { AgentMesh } from "@agentmesh-p2p/sdk";

const [backendURL] = process.argv.slice(2);

const mesh = await AgentMesh.enroll({ controlPlaneUrl: process.env.AGENTMESH_CONTROL_PLANE_URL ?? "https://mesh.example.com", bootstrapTokenPath: process.env.AGENTMESH_BOOTSTRAP_TOKEN_PATH, jwtPath: process.env.AGENTMESH_JWT_PATH, stateDir: process.env.AGENTMESH_STATE_DIR ?? ${homedir()}/.config/agentmesh/agent, // A plaintext http:// control plane is otherwise accepted only on loopback. allowInsecure: process.env.AGENTMESH_INSECURE_CONTROL_PLANE === "true", }); const session = await mesh.join();

// Answers every path with who was asked and who asked; a real agent runs an // A2A server here, or beside this process at backendURL. const target = await session.acceptA2A( backendURL !== undefined ? { url: backendURL } : { handler: (request, caller) => Response.json({ name: "agent", path: new URL(request.url).pathname, caller: caller.peerId }) }, ); console.log(accepting ${target} as ${session.peerId});

const stop = () => void session.close().then(() => process.exit(0)); process.on("SIGINT", stop); process.on("SIGTERM", stop);

<!-- /embed -->

enroll reuses the identity and credential saved in stateDir when they are still valid for that control plane, and needs exactly one of bootstrapTokenPath, bootstrapToken, jwtPath or jwt (a token string or a () => string | Promise callback invoked at enrollment and on every refresh) otherwise. Read tokens from a file, a callback or the environment; do not put them on a command line. labels are attested at enrollment; join({ egressRequireLabels }) is the floor every peer the session calls must attest, all of it, held for the session.

A plaintext http:// control plane is accepted only on loopback. Pass allowInsecure: true for a network you trust.

License

Apache-2.0. Issues and contributions at github.com/google/agentmesh.

ถาม PopNx