# mcp-audit — MCP static scan (SARIF + CI)

> Static MCP server scan: injection, secrets, tool poisoning. SARIF + rules catalog.

- name: top.web3project/mcp-audit
- version: 0.4.0
- connection class: R0 (autonomous)
- trust: 83/100 flags: no-repository
- quality: 80/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/top.web3project%2Fmcp-audit
- tools: https://api.protogrid.dev/v1/servers/top.web3project%2Fmcp-audit/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "mcp-audit": {
      "type": "http",
      "url": "https://web3project.top/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% +updated-9d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 80/100 (good)

### protocol: 88 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- warn `protocol.list_ttl`: tools/list declares ttlMs 0, so clients re-fetch it on every use

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 72 (weight 30)

- warn `tools.descriptions`: 1 of 5 tools have a description under 20 characters
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: scan_mcp_server (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); scan_to_sarif (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); scan_public_repo (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 300 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: 83 (weight 15)

- pass `stability.changes`: 4 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- warn `stability.new_links`: 1 tool change in 30 days named sites the server never named before (gitee.com, github.com, gitlab.com); check where they send data

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 5, about 300 tokens to load them all
- tool set hash: 1bda3d8c64d23700f3ec73a9b6236593
- tools last changed: 2026-11-20T16:52:32.725Z
- badge: [![protogrid quality](https://protogrid.dev/badge/top.web3project/mcp-audit.svg)](https://protogrid.dev/servers/top.web3project/mcp-audit)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-20 `explain_rule` added
  - 查询单条规则的严重度、含义与修复建议
- 2026-11-20 `scan_to_sarif` added
  - 扫描本地路径或公开仓库并直接返回 SARIF 2.1.0 文档，可上传 GitHub code scanning
- 2026-11-20 `list_rules` added
  - 列出扫描器的全部规则（规则 id、严重度、说明、修复建议）
- 2026-11-19 `scan_public_repo` added **new sites: gitee.com, github.com, gitlab.com**
  - 扫描任意公开仓库（github.com / gitlab.com / gitee.com）里的 MCP server 安全风险。直接传仓库 URL，无需下载、无需本地路径。返回按严重度汇总的摘要 + 最多 3 条明细；完整报告（含修复建议/SARIF/CI 模板）见 https://web3project.top/mcp-audit

Full history: https://api.protogrid.dev/v1/servers/top.web3project%2Fmcp-audit/changes

## Remotes

- https://web3project.top/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (5)

- `explain_rule`: 查询单条规则的严重度、含义与修复建议
- `list_rules`: 列出扫描器的全部规则（规则 id、严重度、说明、修复建议）
- `scan_mcp_server`: 审计一个 MCP server 项目（本地路径）的安全风险，返回结构化风险清单
- `scan_public_repo`: 扫描任意公开仓库（github.com / gitlab.com / gitee.com）里的 MCP server 安全风险。直接传仓库 URL，无需下载、无需本地路径。返回按严重度汇总的摘要 + 最多 3 条明细；完整报告（含修复建议/SARIF/CI 模板）见 https://web3project.top/mcp-audit
- `scan_to_sarif`: 扫描本地路径或公开仓库并直接返回 SARIF 2.1.0 文档，可上传 GitHub code scanning
