Documentation
¶
Overview ¶
Command mcpbridge shows the reverse direction: scope exposes a chat.Tool as an MCP server so external hosts (Claude Desktop, Cursor, ...) can drive a scope agent's tools.
Run as a stdio MCP server (the host spawns the binary and talks over stdin/stdout):
go run ./examples/mcp/mcpbridge
The example uses an in-memory transport pair so it runs offline; for real deployments swap to sdkmcp.StdioTransport{} (or the SDK's Streamable HTTP handler).
Click to show internal directories.
Click to hide internal directories.