Skip to content

Hosted MCP servers and tool gateway

Agents act through tools, and tools come from MCP servers. Khala can connect to servers you already run, and it can also run them for you. Whatever the source, every call from an agent to a tool passes through one gateway, where your policies are applied.

Source Who runs it What you provide
From the catalog Depends on the entry Nothing beyond choosing it
Connected by URL You, wherever it already runs The address and a credential reference
Built from OpenAPI Khala. The gateway turns each tool call into the API request the document describes. No server to deploy or keep running The OpenAPI document, the base URL per environment and a credential reference
Your own code, hosted Khala. It builds, verifies, deploys and runs it A container image or a repository

A server you hand to Khala follows the same path as an agent:

  1. Build from your image or repository.
  2. Verify. It must start, answer the MCP handshake and list its tools. The tools it lists must match the catalog entry: a new tool is held back until someone reviews its name, its description, its risk level and whether it needs approval. Each tool runs at least one test call against staging.
  3. Deploy to staging, then to production.
  4. Observe its calls, errors and latency in the panel.

It runs in its own isolated sandbox with no credentials inside and no network by default, like an agent. When no one has called it for a while it is paused and its state saved, so an idle server uses no compute; the next call resumes it.

Agents never talk to a tool server directly. Each agent has one tool endpoint, the gateway, and it is the only tool destination its network allows. For every call the gateway:

  1. Identifies the caller: which agent, which deployment, which environment.
  2. Checks that the tool belongs to the agent’s spec version and is allowed in that environment.
  3. Applies the action policy: the tool’s risk level, and human approval for writes. A call that needs approval waits in the panel until someone decides.
  4. Applies limits: requests per minute and timeout from the catalog, and the cost policy.
  5. Applies the data policy: blocked data classifications and how personal data is handled.
  6. Attaches the credential from your secret manager, outside the agent.
  7. Forwards the call: to the API behind an OpenAPI server, to a hosted server or to your URL.
  8. Records the call and its result in the run’s trace, and writes to the audit log.

The result is one place to answer the question an auditor asks: which agent did what, with which tool, under which rule, and who approved it.

How strongly an agent or a hosted server is isolated follows the agent’s risk level, the same way the risk policy decides held-out tests and approvers:

Risk Isolation
Low and medium Isolated user-space kernel: strong separation with high density on ordinary nodes
High The same, on nodes no other customer uses
Critical Hardware virtualisation

A hosted MCP server takes the isolation of the highest-risk agent that uses it, and hardware virtualisation if any of its tools is destructive.

SaaS BYOC On-premise
Where hosted servers run Renaiss’ runtime, isolated per server; nodes of your own for high and critical risk A runtime node pool in your cloud account Runtime nodes in your data centre
Where the gateway runs Renaiss’ control plane Your cluster Your network. Works air-gapped
How servers reached by URL are called Over the internet or a private link you set up Inside your network rules Inside your network
Where credentials are attached The gateway, with secrets read from your secret manager through access you grant The gateway in your account, with your cloud’s secret manager The gateway in your network, with your secret manager
State of paused servers Renaiss’ object storage A bucket in your account, encrypted with your key Your S3-compatible storage
Record of tool calls Run traces and audit log in the database operated by Renaiss Your database Your database