# MCP

Framecap MCP is a local stdio server; it opens no listening port and uploads nothing. Start it with the absolute Python path and the absolute bundled `framecap-mcp.py` path. It implements initialize, initialized notification, ping, tools/list, and tools/call using protocol `2025-06-18`.

All 11 tools come from the same schema as CLI. Business failures return `isError: true`; malformed JSON-RPC, unknown methods, tools, and parameters are errors rather than successful text. stdout contains protocol messages only.

Use `framecap-config.py CLIENT preview` before a structured, backed-up, idempotent install. Restart or reconnect the client, list tools, and call `edit_apply` on an existing image before claiming MCP works.
