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.
Four ways to add a server
Section titled “Four ways to add a server”| 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 |
Hosting your own server
Section titled “Hosting your own server”A server you hand to Khala follows the same path as an agent:
- Build from your image or repository.
- 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.
- Deploy to staging, then to production.
- 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.
The tool gateway
Section titled “The tool gateway”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:
- Identifies the caller: which agent, which deployment, which environment.
- Checks that the tool belongs to the agent’s spec version and is allowed in that environment.
- 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.
- Applies limits: requests per minute and timeout from the catalog, and the cost policy.
- Applies the data policy: blocked data classifications and how personal data is handled.
- Attaches the credential from your secret manager, outside the agent.
- Forwards the call: to the API behind an OpenAPI server, to a hosted server or to your URL.
- 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.
Isolation follows risk
Section titled “Isolation follows risk”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.
By deployment modality
Section titled “By deployment modality”| 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 |