Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GATEWAY_DEBUG | No | Enable debug mode to expose get_gateway_status tool | true |
| GATEWAY_RULES | No | Path to gateway rules configuration file | .mcp-gateway-rules.json |
| GATEWAY_MCP_CONFIG | No | Path to MCP servers configuration file | .mcp.json |
| GATEWAY_DEFAULT_AGENT | No | Default agent identity when agent_id not provided | default |
| GATEWAY_INIT_STRATEGY | No | Initialization strategy (eager or lazy) | eager |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_servers | Discover downstream MCP servers available through this gateway. Your access is determined by gateway policy rules. Workflow: 1) Call list_servers to discover servers, 2) Call get_server_tools to see available tools, 3) Call execute_tool to use them. |
| get_server_tools | Discover tools available on a downstream MCP server accessed through this gateway. Returns only tools you have permission to use (filtered by policy rules). Use the returned tool definitions to call execute_tool. |
| execute_tool | Execute a tool on a downstream MCP server accessed through this gateway. Gateway validates permissions then forwards your request to the server. Returns the server's response directly. |
| get_gateway_status | Get gateway status, configuration state, and hot reload diagnostics. NOTE: Only available when debug mode is enabled. |