Capabilities API
List bindings
Section titled “List bindings”Returns all classified MCP tools (CapabilityBindings).
GET /api/capabilities/bindingscurl http://localhost:8000/api/capabilities/bindingsResponse
[ { "app": "notion", "mcp_tool_name": "query_database", "capability_id": "read_database", "direction": "read", "param_mappings": {"database_id": "string"} }]List syncable pairs
Section titled “List syncable pairs”Returns valid source→target capability pairs.
GET /api/capabilities/syncable-pairscurl http://localhost:8000/api/capabilities/syncable-pairsResponse
[ { "source": {"app": "notion", "capability_id": "read_page", "direction": "read"}, "target": {"app": "sheets", "capability_id": "write_row", "direction": "write"} }]Scan capabilities
Section titled “Scan capabilities”Connects to all registered MCP servers, discovers tools, and stores CapabilityBindings. Idempotent — safe to call multiple times.
POST /api/capabilities/scancurl -X POST http://localhost:8000/api/capabilities/scanResponse 200 OK
{ "scanned": 2, "bindings_created": 14}Emits a scan_complete WebSocket event when done.