Universal MCP tool gateway for AI agents.
A compiled Rust MCP server that unifies all your MCP backends behind one endpoint. Tool discovery, automatic routing, connection pooling, circuit breakers, crash recovery. Framework-independent and local-first.
brew install thekeystoneproject/tap/stonegateOr download the binary from keystoneproject.dev.
# Start the server
stonegate serve
# Activate your license key
stonegate activate SG-XXXX-XXXX-XXXX-XXXXPoint any MCP-compatible agent platform at 127.0.0.1:3393. That's it.
# ~/.stonegate/config.toml
host = "127.0.0.1"
port = 3393
data_dir = "~/.stonegate"
[[servers]]
name = "filesystem"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
[[servers]]
name = "github"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-github"]
env = { GITHUB_TOKEN = "ghp_..." }Environment overrides: STONEGATE_HOST, STONEGATE_PORT, STONEGATE_DATA_DIR.
- Unified tool catalog across all MCP backends
- Automatic routing to the correct server
- Connection pooling — shared backends, no duplicates
- Circuit breaker — failing backends isolated instantly
- Crash recovery — backends auto-restart
- Async dispatch for long-running tools
Any platform that speaks MCP connects directly:
- Claude Code / Claude Desktop
- Hermes
- CrewAI
- LangGraph
- OpenHands
- Haystack
- Google ADK
- Microsoft Agent Framework
| Free | Pro ($19/mo) | Enterprise ($99/mo) | |
|---|---|---|---|
| MCP servers | 3 | Unlimited | Unlimited |
| Tool discovery | Yes | Yes | Yes |
| Health monitoring | — | Yes | Yes |
| Request logging | — | Yes | Yes |
| Priority dispatch | — | Yes | Yes |
| Fleet management | — | — | Yes |
Get a key at keystoneproject.dev.
Your data stays on your machine. No cloud dependency. No vendor lock-in.
Full documentation at keystoneproject.dev/docs.
stonegate is part of the Stone suite — three compiled Rust MCP servers for AI agent infrastructure:
- stonemem — Institutional memory
- stonemux — Multi-agent coordination
- stonegate — Universal tool gateway (this repo)
Proprietary — Copyright (c) 2026 The Keystone Project, Inc. All rights reserved.