Call it with an MCP client (Claude Desktop, Claude Code, Cursor, or any tool-use LLM):
$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