openie-cad MCP endpoint

This URL is a JSON-RPC POST endpoint, not a web page. Your browser sent a GET and got a 405 — that's expected.

Call it with an MCP client (Claude Desktop, Claude Code, Cursor, or any tool-use LLM):

This endpoint requires OAuth2 (dynamic client registration + PKCE): the examples assume a bearer token in $MCP_TOKEN. See the quickstart for the authorization flow.
curl -s https://cad.openie.dev/mcp \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $MCP_TOKEN" \
  -d '{
    "jsonrpc":"2.0","id":1,
    "method":"tools/list"
  }'

Or call a specific tool:

curl -s https://cad.openie.dev/mcp \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $MCP_TOKEN" \
  -d '{
    "jsonrpc":"2.0","id":2,
    "method":"tools/call",
    "params":{
      "name":"create_box",
      "arguments":{"width":10,"height":20,"depth":5}
    }
  }'

The response includes an Mcp-Session-Id header. Re-use it on subsequent calls to keep the per-session project in memory.

Documentation: docs.openie.dev

Tool reference: docs.openie.dev/mcp-tools.html (auto-extracted from the substrate source)

Quickstart: docs.openie.dev/quickstart.html