Skip to main content
Glama
pst291291

MCP Trust Layer

by pst291291

MCP Trust Layer πŸ”’

The first security scanner and trust verification layer for the MCP ecosystem.

MCP (Model Context Protocol) is how AI agents connect to tools and data. With 21,000+ MCP servers on GitHub and enterprise deployments accelerating in 2026, there is zero security verification in the ecosystem.

MCP Trust Layer fixes that.

Why This Exists

Every MCP server you install gets:

  • Read access to ~/.ssh/id_rsa, ~/.aws/credentials

  • Network access (exfiltrate data, SSRF)

  • Process spawn access (run commands)

  • Environment variable access (API keys)

Not a single MCP marketplace audits for security. One researcher found 3 of 8,764 servers leaked credentials under basic testing.

Related MCP server: MCPAmpel

Features

  • Scan any PyPI package for secrets, dangerous patterns, and prompt injection vectors

  • Scan any GitHub repo or source URL for security issues

  • Compare packages side-by-side by security score

  • Trust Score (0-10) β€” automated, reproducible security rating

  • Deep code analysis across all Python files in a package

Quick Start

Install

pip install "mcp[cli]"
git clone https://github.com/YOUR_USERNAME/mcp-trust-layer.git
cd mcp-trust-layer

Run (stdio)

python -m mcp run server.py --transport stdio

Run (HTTP)

python server.py
# Server starts on http://127.0.0.1:8000
# Connect any MCP client to http://localhost:8000/mcp

Add to Claude Code

claude mcp add --transport http mcp-trust http://localhost:8000/mcp

Then ask:

  • "Scan the PyPI package 'flask' for security issues"

  • "Compare the security scores of 'requests' and 'httpx'"

  • "Scan github.com/owner/repo for vulnerabilities"

Tools

Tool

Description

scan_pypi_package(name)

Deep scan of a PyPI package. Downloads source, analyzes all Python files for secrets, dangerous patterns, and prompt injection vectors. Returns trust score + findings.

scan_source_url(url)

Scan code from a GitHub repo or direct archive URL.

compare_packages(list)

Compare multiple packages by security score side by side.

Resources

URI

Description

trust://schema

JSON schema for security reports

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  MCP Client  │────▢│ Trust Scanner│────▢│  PyPI / GH  β”‚
β”‚ (Claude/Copilot)β”‚     β”‚  MCP Server  β”‚     β”‚  API        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
                           β–Ό
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚  Trust Score  β”‚
                    β”‚  + Findings   β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Security Checks

The scanner detects:

  • Secrets: API keys, tokens, passwords, private keys, connection strings

  • Dangerous patterns: eval(), exec(), subprocess, file writes, network access

  • Supply chain risks: dangerous imports, pickle deserialization, dynamic imports

  • Prompt injection vectors: system prompt references, injection patterns

Roadmap

  • PyPI package scanning

  • GitHub repo scanning

  • Security score (0-10)

  • Live MCP server endpoint monitoring

  • Continuous integration webhook alerts

  • Enterprise compliance reports (SOC2, HIPAA)

  • MCP marketplace integration API

Marketplaces

This server is listed on:

  • mcp.so β€” Largest MCP directory

  • Smithery β€” CLI-first MCP installer

  • PulseMCP β€” Community MCP index

  • Glama β€” Quality-scored MCP directory

License

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A security scanner that evaluates installed MCP servers for vulnerabilities by aggregating findings from 16 scanning engines into detailed trust scores. It enables users to scan their local AI agent configurations or specific repository URLs for potential security risks.
    Last updated
    4
    2
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Agent-native "safe to ship?" security gate for AI-generated code. Uses real parsers and inter-rocedural taint analysis (JS/TS, Python, Go) to flag the classes AI coding agents get wrong β€” secrets, SQL injection, SS, SSRF, path traversal, command injection, weak JWT/CORS β€” and ranks findings by confidence. Exposes a scan tool over MCP.
    Last updated
    1
    21
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.

  • Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.

  • Scan any public GitHub MCP-server repo for security issues. 37 MCP-specific L1 rules, 8 languages.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pst291291/mcp-trust-layer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server