MCP Gateway Protocol & Agent Tooling
Stdio JSON-RPC 2.0 Transport
McpGateway (air mcp) runs as a standard stdio MCP server communicating over JSON-RPC 2.0 for clients such as Antigravity and Claude Desktop. Never write console.log to stdout inside MCP adapters (IMcpAdapter), because any non-protocol output corrupts the JSON-RPC stream; route all diagnostics to stderr.
Knowledge & Blueprint Vector Retrieval
Through IAircadaSearchEngine, McpGateway exposes search_knowledge_nodes and search_blueprints backed by hybrid vector and keyword indexing. Pass format: 'summaries' during initial blueprint discovery to keep LLM context budgets compact before loading full blueprint payloads or installing them with apply_blueprint.
Live Studio Inspection & Telemetry
Connected coding agents can inspect the live 3D scene hierarchy (inspect_studio_structure), dispatch atomic scene mutations (dispatch_studio_transaction), and query runtime error diagnostics (query_dev_logs, get_dev_error_report, get_dev_logged_object) against active Studio development sessions over stdio.
| Tool / Interface | Purpose |
|---|---|
| searchknowledgenodes(query, scope?) | Semantic search across SDK, CLI, Studio, and capability nodes. |
| search_blueprints(query, category?) | Vector search for executable 3D blueprints (supports format: 'summaries'). |
| apply_blueprint(blueprintId, targetDir?) | Installs a blueprint directly into the target workspace. |
| inspectstudiostructure / dispatchstudiotransaction | Reads live scene trees and applies atomic APEX mutations. |
| querydevlogs / getdeverror_report | Retrieves runtime dev-server logs and structured error reports. |
{
"mcpServers": {
"aircada": {
"command": "air",
"args": ["mcp"]
}
}
}