MCP, MCP server
Mcp Tool Gateway
把 MCP Server 的"裸奔"工具调用变成可控流量。AI 客户端仍然用标准 MCP 协议(Streamable HTTP) 连接网关,但每个工具调用都会经过 API Key 认证 → 权限矩阵(URL 层 + 工具层 + 租户)→ 副作用分级 (READ 直通 / WRITE·DANGEROUS 人工确认)→ 限流 → 事务性审计多道闸门;审计经 Outbox 异步落库, 与业务同事务提交,保证不丢。
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
race.sh, line 3
S1=$(curl -s -D - -o /dev/null -X POST http://localhost:8080/mcp \ - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
race.sh, line 3
S1=$(curl -s -D - -o /dev/null -X POST http://localhost:8080/mcp \ - SECRETS_PATH_DOTENV Low
Mentions a .env file.
.dockerignore, line 5
.env
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach mcp-gateway-2. The description does not name that host. can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
race.sh, line 3
S1=$(curl -s -D - -o /dev/null -X POST http://localhost:8080/mcp \
race.sh, line 8
S2=$(curl -s -D - -o /dev/null -X POST http://mcp-gateway-2:8080/mcp \
race.sh, line 14
curl -s -o /tmp/r1.txt -X POST http://localhost:8080/mcp \
Show more
race.sh, line 19
curl -s -o /tmp/r2.txt -X POST http://mcp-gateway-2:8080/mcp \
gateway-core/src/main/resources/static/confirmation-console.html, line 103
const resp = await fetch("/confirmations?status=" + encodeURIComponent(status), {
gateway-core/src/main/resources/static/confirmation-console.html, line 153
const resp = await fetch(`/confirmations/${confirmationId}/${action}`, {
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
.dockerignore, line 4
.gitignore
.dockerignore, line 5
.env
.env.example, line 1
# 复制为 .env 供 docker compose 读取(仅本地开发示例,生产必须更换密钥)
Show more
.gitignore, line 15
*.log
README.md, line 67
cp .env.example .env # 按需修改
README.md, line 80
> 宿主机端口被占用时(如 5432/8080/3000/9090),复制 `.env.example` 为 `.env`
README.md, line 149
启动后访问(端口可在 `.env` 里覆盖):
docker-compose.yml, line 5
# 宿主机端口如与已有服务冲突(如 5432/8080/3000/9090),在 .env 里覆盖对应 HOST_PORT 即可。
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit ef1bfc35435e. can reach mcp-gateway-2. The description does not name that host. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: ef1bfc35435e709210189759ff0a6c6f086d40f2
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.