Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
AuthzX MCP Gateway — policy-enforcing proxy between AI agents and MCP servers
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
YOUR_API_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"gateway": {
"command": "npx",
"args": [
"-y",
"@authzx/mcp-gateway"
],
"env": {
"YOUR_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add gateway --env YOUR_API_KEY=your-value -- npx -y @authzx/mcp-gateway运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"gateway": {
"command": "npx",
"args": [
"-y",
"@authzx/mcp-gateway"
],
"env": {
"YOUR_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"gateway": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@authzx/mcp-gateway"
],
"env": {
"YOUR_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 authzx 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:YOUR_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.1)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Tool Guardian
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Too many MCP servers eating your context? A router that loads each tool's schema only when needed.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Authorization gateway for AI agents and MCP tool calls.
Open-source. Drop-in. Works with any MCP client.
AI agents connected to MCP servers can call any tool they have access to: read your database, delete files, execute arbitrary SQL. Vengtoo MCP Gateway puts a policy enforcement point between the agent and those tools, so every call is authorized before it executes.
{"ts":"2026-05-25T10:03:11.482Z","level":"info","msg":"mcp_tool_call","subject":"agent:ai-assistant","tool":"database__query","allowed":true,"latency_ms":0.8}
go install github.com/vengtoo/agent/cmd/agent@latest
vengtoo-agent --policy ./policy.rego
Create a policy.rego to define what your agent can do:
package vengtoo.mcp
default allow := false
allow if { input.resource.name == "databasequery" } allow if { input.resource.name == "databaselist_tables" }
allow if { input.resource.name == "database__execute" not contains(lower(input.resource.attributes.sql), "drop") not contains(lower(input.resource.attributes.sql), "delete from") }
See demo/policies/ for more examples including Kubernetes namespace protection.
gateway.config.json:{
"vengtoo": { "agentUrl": "http://127.0.0.1:8181" }, "subject": "agent:ai-assistant", "servers": { "database": { "command": "node", "args": ["./my-database-mcp-server.js"] } } }
claude mcp add --transport stdio vengtoo-gateway -- \
npx vengtoo-mcp-gateway --config /path/to/gateway.config.json
| Field | Type | Required | Description |
|---|---|---|---|
vengtoo.agentUrl | string | \* | URL of local Vengtoo Agent (local mode) |
vengtoo.cloudUrl | string | \* | URL of Vengtoo Cloud API (cloud mode) |
vengtoo.apiKey | string | API key from Vengtoo Cloud (or set VENGTOO_API_KEY env var) | |
vengtoo.timeoutMs | number | Authorization request timeout (default: 5000) | |
subject | string | yes | Identity of the agent making tool calls |
subjectType | string | Subject type (default: "agent") | |
resourceType | string | Resource type for authorization checks (default: "mcp_tool") | |
servers | object | yes | Map of downstream MCP servers to proxy |
transport | string | Caller transport: "stdio" (default) or "http", see Transport | |
http | object | HTTP transport settings (used when transport is "http") |
\* Provide either agentUrl (local mode) or cloudUrl (cloud mode).
Each entry in servers has:
| Field | Type | Required | Description |
|---|---|---|---|
command | string | yes | Command to spawn the MCP server |
args | string[] | Command arguments | |
env | object | Additional environment variables |
Connect to Vengtoo Cloud for managed policies:
{
"vengtoo": { "cloudUrl": "https://api.vengtoo.com/access/v1/evaluation", "apiKey": "vgt_..." }, "subject": "agent:prod-assistant", "servers": { "database": { "command": "node", "args": ["./db-server.js"] } } }
Run the Vengtoo Agent locally with a .rego policy file for offline, self-contained authorization:
# Start the agent with your policy
vengtoo-agent --policy ./policy.rego
{
"vengtoo": { "agentUrl": "http://127.0.0.1:8181" }, "subject": "agent:dev-assistant", "servers": { "database": { "command": "node", "args": ["./db-server.js"] } } }
The gateway exposes its (policy-enforced) tools to callers over one of two transports.
Runs as a local subprocess speaking MCP over stdin/stdout: the right choice for a single desktop agent (Claude Desktop, Cursor, Claude Code). No network surface.
Runs a Streamable HTTP MCP server at a URL, so a remote agent (or many concurrent agents) can share one governed gateway. Enable it with --http (or "transport": "http" in the config):
vengtoo-mcp-gateway --config gateway.config.json --http --port 8808
{
"vengtoo": { "cloudUrl": "https://api.vengtoo.com/access/v1/evaluation", "apiKey": "vgt_..." }, "subject": "agent:prod-assistant", "transport": "http", "http": { "port": 8808, "host": "0.0.0.0", "path": "/mcp", "authTokens": [" "], "allowedHosts": ["gateway.example.com"] }, "servers": { "database": { "command": "node", "args": ["./db-server.js"] } } }
HTTP config (http.*):
| Field | Type | Default | Description |
|---|---|---|---|
port | number | 8808 | TCP port to listen on |
host | string | 127.0.0.1 | Interface to bind; 0.0.0.0 accepts remote connections |
path | string | /mcp | URL path of the MCP endpoint |
callers | object[] | - | Per-caller identity: { "token": "...", "subject": "agent:claude" }; each bearer token authorizes as its own subject |
authTokens | string[] | - | Anonymous bearer tokens; grant access, run as the global subject |
allowedHosts | string[] | - | Enables DNS-rebinding protection; rejects requests with an unlisted Host |
allowedOrigins | string[] | - | Enables DNS-rebinding protection; rejects requests with an unlisted Origin |
Per-caller identity. Give each agent its own token and subject, and your policies (and audit trail) see each caller's real identity through one shared gateway:
"http": {
"port": 8808, "callers": [ { "token": " ", "subject": "agent:claude" }, { "token": " ", "subject": "agent:cursor" } ] }
Also settable via VENGTOO_GATEWAY_HTTP_CALLERS=" =agent:claude, =agent:cursor". Sessions are bound to the token that opened them: a different caller presenting another caller's session id gets a 401, so identities cannot cross sessions. Tokens listed in authTokens (or callers omitted entirely) run as the config's global subject.
Safety: the gateway refuses to bind a non-loopback interface with no caller auth (callers or authTokens). Either configure tokens, or set VENGTOO_GATEWAY_ALLOW_UNAUTHENTICATED=true to knowingly expose an open endpoint. An unauthenticated GET /healthz liveness probe is always served.
⚠️ Security: Vengtoo trusts whichever subject this gateway asserts. The
callerstoken→subject mapping above (owned by this gateway's own config) is the
correct pattern; it is NOT the same as trusting a client-supplied header. Never
change this to derive the subject from a header/field a calling client sends; that
would let any caller claim to be any subject and inherit its permissions within
your tenant. If you front this gateway with another reverse proxy, make sure that
proxy cannot be made to forward an arbitrary caller-chosen bearer token or subject.
| Flag | Description |
|---|---|
--config | Path to gateway config file (default: ./gateway.config.json) |
--http | Serve over HTTP instead of stdio |
--port | HTTP listen port (default: 8808; implies --http-compatible config) |
--host | HTTP bind interface (default: 127.0.0.1) |
--path | HTTP endpoint path (default: /mcp) |
--list-tools | List all tools from configured downstream servers and exit |
--generate-policy [path] | Generate a starter .rego policy file for the configured tools (default: policy.rego) |
Environment overrides: VENGTOO_API_KEY, VENGTOO_AGENT_URL, VENGTOO_SUBJECT, VENGTOO_GATEWAY_TRANSPORT (http), VENGTOO_GATEWAY_PORT / PORT, VENGTOO_GATEWAY_HOST, VENGTOO_GATEWAY_PATH, VENGTOO_GATEWAY_HTTP_TOKENS (comma-separated), VENGTOO_GATEWAY_ALLOW_UNAUTHENTICATED.
The gateway runs as a stdio MCP server. Point your MCP client at it instead of the downstream server directly.
claude mcp add --transport stdio vengtoo-gateway -- \
npx vengtoo-mcp-gateway --config /path/to/gateway.config.json
Add to .cursor/mcp.json:
{
"mcpServers": { "vengtoo-gateway": { "command": "npx", "args": ["vengtoo-mcp-gateway", "--config", "/path/to/gateway.config.json"] } } }
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": { "vengtoo-gateway": { "command": "npx", "args": ["vengtoo-mcp-gateway", "--config", "/path/to/gateway.config.json"] } } }
Add to .vscode/mcp.json:
{
"servers": { "vengtoo-gateway": { "type": "stdio", "command": "npx", "args": ["vengtoo-mcp-gateway", "--config", "/path/to/gateway.config.json"] } } }
See demo/ for full end-to-end examples with sample policies.
See ROADMAP.md for what's planned: per-caller OAuth, downstream resilience, dynamic tool lists, metrics, remote downstream servers, and more.
Apache-2.0, see LICENSE.