Categories
Self-Hosted Developer Tools AI Agents Homelab Access Control API Gateway Model Context Protocol MCP GatewayStars
Forks
Watchers
Developer links
MCP Flow
Your agents get one MCP address and one bearer token, and you get a dashboard for adding, muting, and approving the servers behind it. Servers appear as collapsible groups showing the run command, status, and every tool published, beside a chart of calls per day. New ones come from a PyPI package, an npm package, a remote URL, a pasted mcpServers block, or an imported mcpmarket listing, and a marketplace of ready-made entries writes the record for you. Muting works at three levels: one tool, one server, or everything, and a muted tool vanishes from agents without being removed. If a server crashes, the gateway and its neighbors keep serving, and edits apply without a restart. The tokens page mints tokens with an mcp or admin scope and prints client config with the real host filled in. Users, groups, and allow or deny rules let several people share one gateway, and servers they propose, pinned to an exact version or full commit hash, wait on an approvals page. Environment variables, headers, and URL credentials are masked as dots in every dashboard view, API answer, and log. An admin token lets an agent add servers, read logs, and unmute tools itself, or even write a small server as source files and run it with no shell access. A REST API mirrors every control. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Benefits
- One address for every agent
- Agents connect to a single /mcp endpoint with one bearer token, and the gateway publishes each running server's tools as namespace_tool names, so one client entry covers every server.
- A failing server stays contained
- Servers run as subprocesses or proxied remote URLs, so a failed one never stops the gateway or its neighbors, and a change to one takes effect without restarting the process.
- Approvals and rules for shared use
- The admin writes allow or deny rules per user or group, and a server proposed by anyone else waits on the approvals page until the admin signs off on its pinned version.
- Secrets stay masked everywhere
- Environment variables, headers, and URL credentials live in a file with mode 0600 and show as dots in the dashboard, REST API, admin tools, and logs, while tokens are kept only as SHA-256 digests.
Features
- Streamable HTTP Gateway
- Serves the Model Context Protocol over streamable HTTP at /mcp behind bearer-token auth, with a /health endpoint and every visible tool of every running child published as namespace_tool.
- Server Management Dashboard
- A web UI built on htmx shows a collapsible group per server with its run command and tools, plus a window to edit, restart, disable, remove, and read logs.
- Package and Marketplace Installs
- Add servers as a uvx Python package, an npx npm package, a remote HTTP or SSE URL, or pasted mcpServers JSON, import a mcpmarket listing, or pick from the marketplace.
- Tokens and Multi-User Access
- Tokens with mcp or admin scope are stored as SHA-256 digests, and users, groups, and grant rules gate each server and tool, plus one-time setup codes for new users.
- REST API and Admin Tools
- A JSON REST API under /api manages servers, tokens, users, groups, rules, and approvals, and built-in mcpflow_* MCP tools let admin-token agents add servers, read logs, and mute tools.
- Inline Source Servers
- An agent writes an MCP server as source files with mcpflow_write_source (up to 200 files, 1 MiB), then runs it through uvx or npx with no git host or shell.