Gate-MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_MODE | No | Set to stdio when configuring Antigravity. | |
| GATE_CACHE_DB | No | Path to the SQLite database used for deduplication and memory. | <root>/.gate-mcp/cache.db |
| GATE_MAX_FILES | No | Symbol graph file cap (hard limit 50000). | 5000 |
| GATE_TOOL_MODE | No | Tool listing mode: catalog or full. | catalog |
| GATE_ENABLE_PROXY | No | Enable the opt-in downstream MCP proxy. Set to 1 to enable. | 0 |
| GATE_PROJECT_ROOT | No | Trusted path ceiling for Gate tools. | process.cwd() |
| GATE_ALLOW_ANY_PATH | No | Disable the path boundary. Not recommended. | 0 |
| GATE_MAX_FILE_BYTES | No | Maximum compress input size in bytes. | 33554432 |
| DISABLE_CONSOLE_OUTPUT | No | Set to true when configuring Antigravity to disable console output. | |
| GATE_ALLOW_MEMORY_CACHE | No | Emergency-only setting. Set to 1 to skip the startup SQLite module check and allow in-memory cache fallback. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gate_compress_fileC | AST/structure file compression. Code: signature. YAML/MD: auto structure. See gate_help recommended_stack. |
| gate_graph_queryC | Symbol graph + graphify map. graphify_map/search/hubs for communities. search auto-fallback. See gate_help recommended_stack. |
| gate_initC | Project health: graphify map, dedup cache path, MCP slug hint. Run once per repo. See gate_help. |
| gate_session_statsC | Measured file/byte/token work plus dedup cache activity. See gate_help gate_session_stats. |
| gate_invokeB | Catalog mode: call any Gate tool by name with args. Use for tools not in tools/list. See gate_help. |
| gate_helpA | Full docs for any Gate-MCP tool. tool='recommended_stack' for navigation playbook; omit for directory. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a distinct function: compression, graph querying, project initialization, session metrics, documentation, and a catch-all invoker. The only soft overlap is gate_invoke versus the concrete tools (and gate_help), since invoke can reach anything, but its catalog/fallback role is clearly documented.
All six tools use the same gate_ prefix followed by a clear snake_case noun/verb phrase (compress_file, graph_query, session_stats, init, invoke, help). The pattern is predictable and easy to scan.
Six tools is well-scoped for a context-optimization server, with no redundant entries. Sub-functionality is folded into mode arguments rather than spawning extra tools, keeping the surface lean.
The surface covers setup (init), core work (compress_file, graph_query), observability (session_stats), discovery (help), and extensibility (invoke). Minor gap: there is no explicit listing of the underlying catalog or a decompress/restore path, though gate_help and gate_invoke largely mitigate this.