@dvvezig/bridge-mcp
v0.1.0
Published
Mounts MCP servers as tool capabilities on a Zig participant.
Readme
@dvvezig/bridge-mcp
Mount MCP servers as Zig participant tool capabilities.
This package starts stdio MCP servers, maps MCP tools into Zig tool declarations, adds them to capability cards, and exposes a small call interface for native Zig agents.
npm install @dvvezig/bridge-mcpimport { addMcpToolsToCard, mountMcpServer } from "@dvvezig/bridge-mcp";
const mount = await mountMcpServer({ command: "node", args: ["./mcp-server.js"] });
const card = addMcpToolsToCard(myAgentCard, mount);Use this bridge when an agent wants to advertise or call existing MCP tools inside a Zig room. MCP Apps UI interop is not part of this v1 bridge; use Zig surfaces or the iframe escape hatch for UI.
