gateway_load_server

Connect to a backend MCP server and discover its tools. Call this before using gateway_call_tool for a specific server.

Server MCP Gateway raiansar/mcp-gateway
Category Read
Risk class Low
Parameters 00 required

What gateway_load_server does on MCP Gateway

AI agents call gateway_load_server to retrieve information from MCP Gateway without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why gateway_load_server needs a policy

This tool performs schema discovery and inspection of backend servers, which is a read operation with no side effects. It gathers metadata about available tools rather than invoking them or modifying state. The low severity reflects that misuse only reveals which tools exist on backend servers, not actual data breach or system compromise.

From the tool's definition Tool description states it 'Connect[s] to a backend MCP server and discover[s] its tools' — this is a discovery/query operation that retrieves tool schema metadata. No data is modified, deleted, or executed; it is explicitly preparatory for gateway_call_tool.

Questions about gateway_load_server

What does the gateway_load_server tool do? +

Connect to a backend MCP server and discover its tools. Call this before using gateway_call_tool for a specific server. It is categorised as a Read tool in the MCP Gateway MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on gateway_load_server? +

Register the MCP Gateway MCP server in PolicyLayer and add a rule for gateway_load_server: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches MCP Gateway. Nothing to install.

What risk level is gateway_load_server? +

gateway_load_server is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit gateway_load_server? +

Yes. Add a rate_limit block to the gateway_load_server rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block gateway_load_server completely? +

Set action: deny in the PolicyLayer policy for gateway_load_server. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides gateway_load_server? +

gateway_load_server is provided by the MCP Gateway MCP server (raiansar/mcp-gateway). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.