Use case · MCP tools
Every MCP server in its own box.
One microVM per server, one gateway for every client.
Upgrade any time
Sign up → Add a card → Pick a plan (charged now) → Use kosa8.
Why MCP servers need a sandbox
They run as you
Started with npx, uvx or pip, a server gets your files, SSH keys and network. The MCP spec recommends sandboxing them.
Their words steer the model
A poisoned tool description, or one that changes after you approved it, can redirect your assistant.
What the kosa8 gateway does
A microVM per server
Its own kernel and the hosts you name. Name them: the default is any unless policy sets default_egress.
One gateway
kosa8 mcp serve over stdio, or HTTP with a bearer token. Plus 39 tools that drive kosa8.
Pinned definitions
A changed or new tool is withheld until a person approves it at a terminal.
Rules on arguments
Signed policy answers allow, deny or ask. Deny beats ask beats allow.
Every call on record
Hash-chained audit log; arguments and results kept as SHA-256 digests.
Any MCP client
Claude Code shown; AI SDK, LangChain.js and Mastra tested.
Register a server, point your client
kosa8 mcp add github --image node:22-alpine \ --egress-allow api.github.com --egress-allow registry.npmjs.org \ -e GITHUB_TOKEN=... --allow-tool list_issues --allow-tool create_issue \ -- npx -y @modelcontextprotocol/server-github kosa8 mcp ls
Held calls wait for kosa8 mcp asks and kosa8 mcp approve ID.
Questions
What does the kosa8 MCP sandbox isolate?
Each registered server runs as a container in its own kosa8 microVM, with its own kernel and the network rule you gave it. It cannot see your files, the other servers, or kosa8's own state.
What happens when an MCP server changes a tool's description?
The gateway withholds that tool from the model and says so. A person reviews the change with kosa8 mcp pins diff and accepts it with kosa8 mcp pins approve at a terminal.
Does the sandbox protect secrets I pass to a server with -e?
Only partly. A value passed with -e is in the server's environment, so it can be sent to any host the server is allowed to reach. Keep each server's --egress-allow list short.
Which MCP clients can use the kosa8 gateway?
Any MCP client. kosa8's docs show Claude Code, and test the AI SDK's MCP client, LangChain.js MCP adapters and Mastra against kosa8 mcp serve.
More: Sandbox MCP servers · Tool poisoning · MCP gateways · Approvals · Allow-lists · Audit logs · Tool rules