cc-libs/tools/mcp-bridge/README.md
2026-06-15 19:57:45 +02:00

14 lines
764 B
Markdown

# mcp-bridge (deprecated, except the opencode proxy)
> **Deprecated.** The MCP server (`probe-computers` / `exec-lua` / `write-file`) and the
> CC-link WebSocket server have been migrated to `tools/trap-sandbox`, which serves the
> same tools over the sandbox gateway and addresses computers by `traposId`. See
> [ADR-0019](../../docs/adrs/adr-0019-mcp-over-sandbox-gateway.md).
This tool is kept alive only for its **opencode HTTP-over-WS proxy**, still used by the
in-game `ai` bridge mode (`apis/libhttpws.lua`, `apis/libai.lua`, `programs/ai.lua`) to
bypass ComputerCraft's ~60s HTTP cap. Once that proxy is migrated onto the gateway, this
tool can be removed entirely.
Do not add new MCP features here — add them to `tools/trap-sandbox/src/modules/mcp`.