A neutral public trust registry for MCP servers — check before you connect.
Project description
MCP Trust Registry
Check before you connect. A neutral, public danger grade for the MCP servers your AI agents rely on.
Live: mcp-trust.vercel.app
Not yet published to PyPI. Install from source using the Quickstart below.
Use as an MCP server
mcp-trust runs as a read-only MCP server so an agent can check a server's
danger grade before connecting — it serves a baked snapshot of real,
sandboxed grades, so no database or network is needed.
mcp-trust mcp-serve # from a source/dev install (works today)
uvx mcp-trust mcp-serve # once published to PyPI
| Tool | Description |
|---|---|
list_servers |
Every graded MCP server with its A-F grade, transparency, and danger score. |
check_server |
Full grade, risk dimensions, and findings for one server by slug. |
get_methodology |
How the A-F grade and transparency axis are computed, plus the honesty model. |
Connecting an MCP server hands it influence over what your agent does. Tool poisoning, prompt injection, over-broad permissions, and rug-pull tool mutations are documented attack classes -- and today there's no quick way to vet a server before you wire it in. MCP Trust Registry scans public MCP servers and gives each one a single readable danger grade (A-F), a separate transparency signal, and the findings behind them.
Think OSV.dev / Socket.dev / haveibeenpwned, scoped to MCP servers.
Prerequisites
- Python >= 3.11
uv(used for dependency management and running the project)
How it works
register a server -> scan via engine -> derive grade -> persist -> serve at a stable URL
The registry does not reimplement vulnerability detection. It orchestrates a
pluggable scan engine -- the shipping backend wraps the public
mcp-audits (>=2.1) package -- and owns the
catalog, the public trust-grade normalization, persistence, and the lookup API.
Quickstart
git clone https://github.com/saagpatel/mcp-trust.git && cd mcp-trust
uv pip install -e ".[dev]" # core + dev deps (runs on the built-in StubEngine)
mcp-trust seed # load the seed catalog
mcp-trust scan mcp-reference-time # scan a catalog server, print its grade
mcp-trust check mcp-reference-time # look up the latest stored grade
mcp-trust serve # serve the API on http://127.0.0.1:8000
For real scanning install the engine extra and select it:
uv pip install -e ".[dev,engine]"
MCP_TRUST_ENGINE=mcpaudit mcp-trust scan mcp-reference-time
Scanning launches the server's process. For untrusted servers, isolate execution in a locked-down container (no network, read-only fs, dropped caps, resource limits):
MCP_TRUST_ENGINE=mcpaudit MCP_TRUST_SANDBOX=docker mcp-trust scan mcp-reference-time
The default is no sandbox (safe only for servers you trust).
API
| Method | Path | Purpose |
|---|---|---|
GET |
/ |
web -- public catalog page (grade + transparency per server) |
GET |
/ui/servers/{slug} |
web -- server detail page + README badge-embed snippet |
GET |
/healthz |
liveness |
GET |
/servers |
catalog + latest grade per server (JSON) |
GET |
/servers/{slug} |
full latest scan record + metadata (JSON) |
POST |
/servers/{slug}/scan |
operator scan trigger; public deployments disable this route |
GET |
/servers/{slug}/badge.json |
shields.io-compatible README badge |
Every server has two orthogonal signals: a danger grade (A-F) and a transparency level (high/medium/low, from annotation coverage). Automated grades are not endorsements, certifications, or claims that a server is malicious. A low grade on a low-transparency server means "cannot verify safe," not "known dangerous."
HTTP scan triggering is fail-closed by default. Public deployments should set
MCP_TRUST_PUBLIC_READONLY=1, which makes POST /servers/{slug}/scan return
403 before any engine can run. Operator scans should normally run through the
CLI against the persistent registry DB, not through public traffic.
For local API demos with the deterministic StubEngine, set
MCP_TRUST_ALLOW_UNAUTHENTICATED_STUB_SCANS=1. Do not set that in public.
Token-gated API scan triggering is still available for private operator surfaces
by setting MCP_TRUST_SCAN_TOKEN and passing it as Authorization: Bearer <token> or X-MCP-Trust-Scan-Token.
Set MCP_TRUST_RECEIPTS_DIR=/data/mcp-trust/receipts during real scan runs to
archive a JSON receipt for each scan and store its portable artifact filename in
report_ref.
Status
Live at mcp-trust.vercel.app as a statically
generated catalog, regenerated from the local registry. The seven official
reference MCP servers carry real mcp-audits grades from network-off Docker
sandbox scans (distribution A/B/B/C/D/F/F). Every grade is labeled by
provenance, so demo/stub data can never read as a real scan, and an unscanned
server never shows a letter grade.
The static front door is the low-ops launch path (see
DEPLOY-VERCEL.md); a weekly launchd job under
deploy/launchd/ re-scans, rebuilds, and optionally
redeploys (deploy is opt-in). The live FastAPI service + VM path remains
documented in DEPLOY-VM.md as an alternative. See
SPEC.md for the full contract and LAUNCH-GATE.md
for launch history.
Contributing
uv.lock is intentionally committed to the repository to ensure reproducible
installs across environments. When adding or updating dependencies, commit the
updated uv.lock alongside your pyproject.toml changes.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_trust-0.1.0.tar.gz.
File metadata
- Download URL: mcp_trust-0.1.0.tar.gz
- Upload date:
- Size: 146.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9a81b60fdf3f327c8248099cfe84d7cf3ebd02a130442402515e3b995af7bed
|
|
| MD5 |
6fb57fa2d78fee1d010a0796455ed4c0
|
|
| BLAKE2b-256 |
e59ae9452aef310c2808a5573aa159c0dccc545f70fe69d9a885192213062ea4
|
Provenance
The following attestation bundles were made for mcp_trust-0.1.0.tar.gz:
Publisher:
publish.yml on saagpatel/mcp-trust
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_trust-0.1.0.tar.gz -
Subject digest:
b9a81b60fdf3f327c8248099cfe84d7cf3ebd02a130442402515e3b995af7bed - Sigstore transparency entry: 1999444449
- Sigstore integration time:
-
Permalink:
saagpatel/mcp-trust@d00b589f230a8e6f25f725dd8a4bb7080b614244 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/saagpatel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d00b589f230a8e6f25f725dd8a4bb7080b614244 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mcp_trust-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_trust-0.1.0-py3-none-any.whl
- Upload date:
- Size: 52.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
130789b66646139a70d9f5412176f98160242a8ce84b4a203ce548d5424db7e0
|
|
| MD5 |
3f3e3224c41b82df3da7f8fbf207aa69
|
|
| BLAKE2b-256 |
87d8db893922950a7ac84256230a08a1023219161c7623e3b467271e12b1ea8e
|
Provenance
The following attestation bundles were made for mcp_trust-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on saagpatel/mcp-trust
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_trust-0.1.0-py3-none-any.whl -
Subject digest:
130789b66646139a70d9f5412176f98160242a8ce84b4a203ce548d5424db7e0 - Sigstore transparency entry: 1999444532
- Sigstore integration time:
-
Permalink:
saagpatel/mcp-trust@d00b589f230a8e6f25f725dd8a4bb7080b614244 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/saagpatel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d00b589f230a8e6f25f725dd8a4bb7080b614244 -
Trigger Event:
push
-
Statement type: