Governed MCP Gateway — principal on every tool call and SSE frame, vaulted credential rotation, tool allowlists.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add governed-mcp-gateway -- npx -y npx{
"mcpServers": {
"governed-mcp-gateway": {
"command": "npx",
"args": ["-y", "npx"]
}
}
}MCP Servers overview
# @cubiczan/governed-mcp-gateway
[](https://www.npmjs.com/package/@cubiczan/governed-mcp-gateway)
[](https://registry.modelcontextprotocol.io)
[](LICENSE)
HTTP MCP **control plane** (default port **7474**). Principal on every `tools/call` and every SSE frame — not a tool catalog.
Production MCP auth often dies when work hops threads or workers. This gateway resolves a Bearer credential to a **Principal**, injects it into `params._meta.cubiczan.principal`, repeats it on SSE, enforces allowlists, rotates vaulted secrets in place, and runs a lightweight CHP spend gate before priced tools.
## Install / run
```bash
npm i -g @cubiczan/governed-mcp-gateway # or use npx
npx -y @cubiczan/governed-mcp-gateway
# → http://127.0.0.1:7474
```
From source:
```bash
npm install
npm run build
npm start
npm test
```
## Cursor / Claude config
Start the gateway in a terminal (or a process manager), then point the client at the HTTP MCP endpoints:
```json
{
"mcpServers": {
"governed-gateway": {
"url": "http://127.0.0.1:7474/mcp",
"headers": {
"Authorization": "Bearer mcp_agt_payops_demo"
}
},
"chp": {
"command": "npx",
"args": ["-y", "@cubiczan/chp-mcp"]
},
"conductor": {
"command": "npx",
"args": ["-y", "@cubiczan/agent-conductor"]
}
}
}
```
Demo keys: `mcp_agt_payops_demo`, `mcp_agt_research_demo`, `mcp_human_controller_demo`.
## Stack
```text
┌─────────────────┐ ┌──────────────────────────┐ ┌────────────────────┐
│ Cursor / Claude │────▶│ governed-mcp-gateway │────▶│ spend-mandate-plane│
│ (MCP client) │ SSE │ :7474 principal+vault │ opt │ :7475 │
└────────┬────────┘ └────────────┬─────────────┘ └────────────────────┘
│ │
│ stdio │ CHP gate (embedded)
▼ ▼
┌─────────────────┐ ┌──────────────────────────┐
│ @cubiczan/ │ │ @cubiczan/chp-mcp │
│ agent-conductor │ │ Profile B spend / HITL │
└─────────────────┘ └──────────────────────────┘
```
Sister packages: [@cubiczan/chp-mcp](https://github.com/icohangar-ops/cubiczan-chp-mcp), [@cubiczan/agent-conductor](https://github.com/icohangar-ops/agent-conductor), [consensus-hardening-protocol](https://github.com/icohangar-ops/consensus-hardening-protocol).
## API
| Method | Path | Auth | What |
|--------|------|------|------|
| `GET` | `/health` | — | `{ ok, service }` |
| `POST` | `/mcp` | Bearer | JSON-RPC `initialize`, `tools/list`, `tools/call` |
| `GET` | `/mcp/sse` | Bearer | SSE with principal on `_meta` |
| `POST` | `/v1/credentials` | Human | Put a named secret |
| `POST` | `/v1/credentials/:name/rotate` | Human | New hash, same name |
| `POST` | `/v1/credentials/verify` | — | `{ ok }` |
| `POST` | `/v1/locks` | Human | CHP approve / reject |
```bash
curl -sS -H "Authorization: Bearer mcp_agt_payops_demo" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"echo.ping","arguments":{"hello":"world"}}}' \
http://127.0.0.1:7474/mcp
```
## Notes
- This is an **HTTP** MCP gateway (JSON-RPC + SSE), not a stdio MCP process. The `governed-mcp-gateway` bin starts the HTTP server.
- Shared CHP / HTTP / ledger helpers are **vendored** under `src/shared/` (no `@cubiczan/shared` workspace dep).
- Optional: set `SPEND_PLANE_URL` to hook the spend-mandate plane before priced tools.
## License
MIT
What people ask about governed-mcp-gateway
What is icohangar-ops/governed-mcp-gateway?
+
icohangar-ops/governed-mcp-gateway is mcp servers for the Claude AI ecosystem. Governed MCP Gateway — principal on every tool call and SSE frame, vaulted credential rotation, tool allowlists. It has 0 GitHub stars and its last recorded update is dated 2026-08-22.
How do I install governed-mcp-gateway?
+
You can install governed-mcp-gateway by cloning the repository (https://github.com/icohangar-ops/governed-mcp-gateway) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is icohangar-ops/governed-mcp-gateway safe to use?
+
Our security agent has analyzed icohangar-ops/governed-mcp-gateway and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains icohangar-ops/governed-mcp-gateway?
+
icohangar-ops/governed-mcp-gateway is maintained by icohangar-ops. The last recorded GitHub activity is dated 2026-08-22, with 0 open issues.
Are there alternatives to governed-mcp-gateway?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy governed-mcp-gateway to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/icohangar-ops-governed-mcp-gateway)<a href="https://claudewave.com/repo/icohangar-ops-governed-mcp-gateway"><img src="https://claudewave.com/api/badge/icohangar-ops-governed-mcp-gateway" alt="Featured on ClaudeWave: icohangar-ops/governed-mcp-gateway" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!