MCP Fingerprints & Passport Knowledge Base
An open-source, automated database and knowledge base of Model Context Protocol (MCP) server passports, version signatures, and tool contract fingerprints.
Ecosystem Architecture & Scope
mcp-fingerprints serves as the authoritative open standard for structural Model Context Protocol server passports. It focuses purely on:
- Static AST Extraction: Deep parameter schema, docstring, prompt, and resource extraction across Python, TypeScript/JavaScript, Go, and Rust.
- Deterministic Cryptographic Hashing: Order-invariant and whitespace-insensitive canonical hashing (
canonical_hash,toolset_canonical_hash). - Supply-Chain Verification & Drift Tracking: Detecting tool tampering, description changes, and schema mutations across package versions.
- Open Catalog & Client Exporters: Serving enriched structural web catalogs with interactive parameter schema inspectors and 1-click config generators.
Key Features
- 5,446+ Indexed Passports: Cross-indexed across npm, PyPI, Crates.io, Maven Central, Docker Hub, and GitHub polyglot registries.
- Empirical Ecosystem Research Audit: Comprehensive empirical audit of 1,000 real MCP servers across 5 representative groups (Rust, Go, JVM/.NET, Regional/International, Monorepos/Containers) cataloging systemic blind spots and remedies (
docs/research/master_mcp_ecosystem_audit_report.md). - Full Polyglot & Macro Ingestion Engines: First-class support for Rust
rmcpmacros (#[tool(...)] async fn), Gomark3labs/mcp-gobuilder patterns, Spring AI@Tool, C# .NET[McpServerTool], standalone PEP 723uvxscripts, and CJK multilingual Unicode preservation. - Interactive Command Hub (
mcp-fingerprints interactive): Emoji-decorated ergonomic TUI for workstation scanning, ready database search, unknown MCP auto-addition, and 1-click baseline diffing. - Cross-Platform Multi-Agent Discovery: Out-of-the-box discovery and inventory across 14+ AI coding agents (Claude Code, Desktop, Cursor, Windsurf, Zed, Cline, Roo, Goose, Continue, Junie, Copilot, Antigravity, OpenHands) across macOS, Linux, and Windows.
- Generic MCP Protocol Detection (
mcp-fingerprints detect): Active JSON-RPC 2.0 handshake (stdioandhttp/sse) testing whether any arbitrary process or URL implements the MCP protocol. - High-Performance Multi-Core Parallel Batching & Two-Tier SHA Cache:
ProcessPoolExecutorwith two-tier(mtime, size) -> SHA-256caching cutting warm validation and snapshot compilation from ~30s to <1s. - Resilient Time-Budgeted Stage Checkpoint Engine: Graceful checkpointing and resumption in
data/.sync_checkpoint.jsonwith clean exit code 0 when execution time budgets or CI timeouts are approached. - Zero-Pull Container & Polyglot Discovery: Headless Docker Hub / OCI Registry V2 and GitHub Rust/Go inspection without pulling gigabytes of images or cloning git trees.
- Deep Parameter & Annotation Extraction: Captures parameter types, descriptions, defaults, enums, required flags, and protocol annotations (
readOnlyHint,destructiveHint,idempotentHint,openWorldHint). - Consolidated Snapshot: Pre-compiled
passports.json.gzfor rapid HTTP consumption (< 50ms startup time).
Quickstart: Search & Client Export
Search for available MCP servers:
python3 -m mcp_fingerprints.cli search "postgres"
Export an MCP server configuration for Claude Desktop:
python3 -m mcp_fingerprints.cli export-config @modelcontextprotocol/server-postgres --client claude
Export an MCP server configuration for Cursor:
python3 -m mcp_fingerprints.cli export-config @modelcontextprotocol/server-postgres --client cursor
🧭 Interactive Command Hub (mcp-fingerprints interactive)
For developer convenience, mcp-fingerprints includes an interactive TUI command hub decorated with visual anchor emojis, dynamic workstation status, and instant search:
# Launch the interactive hub (or simply run without args in an interactive TTY)
mcp-fingerprints interactive
============================================================
Interactive MCP Command Hub
============================================================
OS: macOS
Paths Scanned: 4 (Claude Code, Cursor, Claude Desktop, Gemini)
Total MCP Servers Configured: 11
Baseline Status: Saved (workstation_baseline.json)
============================================================
1. 🖥️ Workstation Discovery & Inventory
• 🔍 Scan All Local AI Agents
• 🎯 Scan Specific Agent...
• 💾 Save Current State as Baseline JSON
• ⚖️ Diff Against Previous Baseline
2. 🌐 Ready Database & Unknown Local MCPs
• 🔤 Search Ready Database by Keyword
• 📥 Add Unknown MCP from Local Machine
• 📚 Browse Catalog Passports
3. 🧪 Live Prober & Generic MCP Detector
• 🔬 Detect if Command/URL is an MCP Server
• 🩺 Deep Live Server Probe
• 🏷️ Auto-Generate & Save Passport
4. ⚙️ Performance, Cache & System
• ⚡ View Cache & Benchmark Stats
• 🧹 Clear Validation / Passport Cache
• ⏱️ Inspect Active Checkpoints & Time Budgets
5. 🚪 Exit
💼 Real-World Scenarios & Use Cases
Scenario 1: Interactive Terminal Audit & Workstation Management
- Use Case Description: Developers using multiple AI coding assistants want an effortless, terminal-native way to inspect what tools are available, search tool definitions, and detect newly installed MCP servers without remembering flags.
- How It Works: Running
mcp-fingerprints interactivepresents an intuitive, categorized menu. Selecting🔍 Scan All Local AI Agentsaudits Claude Code, Claude Desktop, Cursor, and Windsurf, displays active tools, and offers 1-click baseline diffing.
Scenario 2: Multi-Agent Shadow MCP Discovery
- Use Case Description: AI developers frequently test MCP servers in one client (like Claude Code
~/.claude.json) and forget they are active, or need an inventory across diverse team configurations. - How It Works:
mcp-fingerprints scan-configsautomatically resolves configuration paths across 14+ clients across macOS, Linux, and Windows:
# Scan all installed clients without live probing
mcp-fingerprints scan-configs --no-probe-live
# Target a specific client
mcp-fingerprints scan-configs --client claude
# Export full machine inventory as a structured JSON file
mcp-fingerprints scan-configs --output workstation_inventory.json
Supported Clients Out-of-the-Box:
- Claude Desktop (
claude_desktop_config.json) - Claude Code CLI (
~/.claude.jsonroot & per-project entries,.mcp.json) - Cursor (
~/.cursor/mcp.json,<project>/.cursor/mcp.json) - Windsurf (
~/.codeium/windsurf/mcp_config.json) - Zed (
~/.config/zed/settings.json,context_serversformat) - Cline & Roo Code (
cline_mcp_settings.json,.roo/mcp.json) - Goose (
~/.config/goose/config.yaml, YAMLextensionsformat) - Continue.dev (
~/.continue/config.yaml, YAML list format) - JetBrains Junie & AI Assistant (
~/.junie/mcp/mcp.json) - VS Code / GitHub Copilot (
.vscode/mcp.json,serversformat) - Antigravity / Gemini CLI (
~/.gemini/config/mcp_config.json) - OpenHands & Trae (
mcp.json)
Scenario 2b: Global npm & npx Server Discovery
- Use Case Description: Developers often install MCP tools globally via
npm install -gor run them ephemerally vianpx(which caches them). These tools may not be manually registered in any client config, yet they are active on the machine. - How It Works:
mcp-fingerprints scan-configsnatively scans the global npmnode_modulesdirectory andnpxcaches to surface these servers:
# Discover unconfigured global npm & npx MCP servers
mcp-fingerprints scan-configs --scan-global
Scenario 3: Auto-Passport Generation for Unknown Local Servers (e.g. CodeScene)
- Use Case Description: An organization uses a proprietary, closed-source, or containerized MCP server (such as
codescene/codescene-mcpor an internal Docker tool) that is not indexed in public registries. - How It Works: Use
--auto-passportduring a workstation scan to probe the server's tools over stdio/HTTP, construct a validServerPackageSpecpassport, and save it directly intodata/fingerprints/<server_name>.json:
# Automatically extract and generate passports for any unknown local servers
mcp-fingerprints scan-configs --auto-passport
The newly created passport immediately participates in validation, canonical hashing, and snapshot compilations.
Scenario 4: Generic MCP Protocol Detection (mcp-fingerprints detect)
- Use Case Description: A developer wants to verify whether a third-party binary, Docker container command, or local HTTP server actually speaks the Model Context Protocol before hooking it up to an AI agent.
- How It Works: The
detectcommand runs an active JSON-RPC 2.0initializehandshake with a fast 3-second timeout:
# Test an arbitrary command line (stdio)
mcp-fingerprints detect "docker run -i --rm -e CS_ACCESS_TOKEN=$TOKEN codescene/codescene-mcp"
# Test a local or remote HTTP/SSE streaming endpoint
mcp-fingerprints detect http://127.0.0.1:64342/stream
Sample Output:
Target: docker run -i --rm codescene/codescene-mcp
Is MCP: Yes (verified)
Transport: stdio
Server: codescene-mcp v1.2.0
Protocol: 2024-11-05
Tools: 5 capabilities advertised
Scenario 5: Stateful Workstation Drift Tracking & Baseline Diffs
- Use Case Description: Prevent supply-chain poisoning and unauthorized configuration tampering in development environments or CI pre-commit checks.
- How It Works: Establish a signed baseline of workstation MCP tools and compare on subsequent runs:
# 1. Capture baseline snapshot
mcp-fingerprints scan-configs --save-baseline workstation_baseline.json
# 2. Check for drift (exits with code 2 if changes or tool schema mutations exist)
mcp-fingerprints scan-configs --diff workstation_baseline.json --fail-on-drift
Scenario 6: High-Performance Multi-Core Batching & Two-Tier SHA Cache
- Use Case Description: Large monorepos and CI/CD pipelines need to validate 5,000+ passport files and compile snapshots in milliseconds without CPU bottlenecks.
- How It Works:
mcp-fingerprints validateandsnapshotemployconcurrent.futures.ProcessPoolExecutor(bypassing the Python GIL) and a two-tier(mtime, size) -> SHA-256cache indata/.passport_cache.json:
# Multicore validation across all available CPU cores
mcp-fingerprints validate --workers 8
# Force re-validation bypassing cache
mcp-fingerprints validate --no-cache --force
Warm validation runs drop from ~30 seconds to < 0.5 seconds (98.3% speedup).
Scenario 7: Time-Budgeted Resilient Sync & Stage Checkpointing
- Use Case Description: CI runners (like GitHub Actions) and cloud sandboxes (like Google Jules) enforce hard timeout ceilings (e.g. 40 minutes). Ingestion jobs must not crash upon reaching time limits.
- How It Works:
mcp-fingerprints syncmeasures monotonic time and monitorsSIGTERM/SIGINT. If the time budget is approached, it flushes state, saves a checkpoint indata/.sync_checkpoint.json, and exits with code 0 (SUCCESS):
# Run multi-source synchronization bounded to a 30-minute budget
mcp-fingerprints sync --all --time-budget 1800
On the next run, mcp-fingerprints automatically skips finished stages and resumes from the exact page and cursor where it stopped. Completed stage marks are removed stage-by-stage until the file is deleted upon full completion.
Scenario 8: Zero-Pull Docker Hub & Polyglot GitHub Discovery
- Use Case Description: Discovering containerized MCP servers on Docker Hub and compiled Rust/Go servers on GitHub without downloading gigabytes of container layers or cloning full git repositories.
- How It Works: Headless inspection queries Docker Hub / OCI Registry V2 metadata and GitHub topic search APIs (
topic:mcp-serverwithrust/go), fetching onlyCargo.toml,go.mod, andREADME.mdto extract tool signatures viadoc_parser:
# Run targeted Docker Hub and GitHub polyglot discovery
mcp-fingerprints sync --docker --polyglot
Scenario 9: Rust Systems Polyglot & rmcp Macro Parsing (CodeScene & Crates.io)
- Use Case Description: Ingesting high-performance Rust MCP servers (such as CodeScene
@codescene/codehealth-mcp) distributed via Crates.io or native binaries whose tools are defined via declarative Rust macros. - How It Works: The dedicated Crates.io crawler queries
crates.io/api/v1/cratesformcpkeywords, while the enhanced Rust AST parser extracts tool definitions, docstrings, and parameter types from officialrmcp(v2.x) macros (#[tool(description = "...")] async fn) andpmcp-macros.
Scenario 10: Cloud-Native Go Ingestion & mark3labs/mcp-go Builder Parsing
- Use Case Description: Indexing Go modules and cloud-native Kubernetes/Docker MCP servers implementing the protocol via dynamic builder patterns.
- How It Works:
mcp-fingerprintscrawlspkg.go.devand GitHub Go modules, recursively scanning nested/cmd/*and/pkg/*directories. The Go AST parser extracts tool signatures, parameters, descriptions, and required keys directly frommcp.NewTool(...)ands.AddTool(...)builder patterns.
Scenario 11: Enterprise JVM (Spring AI @Tool) & .NET C# Ingestion
- Use Case Description: Cataloging enterprise Java/Kotlin (Spring AI, Quarkus) and C# (.NET Semantic Kernel) MCP servers published on Maven Central or NuGet.
- How It Works: The Enterprise Indexer queries Maven Central (
io.modelcontextprotocol,spring-ai-mcp) and NuGet, while the polyglot AST visitors parse Spring AI@Tool(name = "...", description = "...")annotations,@ToolParam, and C#[McpServerTool]/[KernelFunction]attributes.
Scenario 12: Standalone PEP 723 uvx Python Scripts & Docker Container Ingestion
- Use Case Description: Supporting lightweight, single-file Python MCP tools run directly via
uvx <script_url>without a full PyPI package, as well as containerized Docker Hub servers. - How It Works: The PEP 723 parser reads inline
# /// scriptmetadata blocks to extract script dependencies, metadata, and FastMCP/MCP tool signatures, while the Docker Hub crawler extracts container names, tags, and stdio execution parameters (docker run -i --rm ...).
Scenario 13: Multilingual & Cross-Regional MCP Ingestion (CJK Unicode Sanitization)
- Use Case Description: Indexing international MCP tools from Chinese and Japanese developer ecosystems (Dify plugins, WeChat/WeCom, Bilibili, and
模型上下文协议) without character degradation or false-positive heuristic rejections. - How It Works: The sanitizer preserves Unicode, CJK, and international characters cleanly while stripping control characters. Multilingual search query expansion automatically captures regional community MCP tools.
Dual-Transport Live Probing & Attribution (stdio + http)
Connect to any live MCP server via local subprocess (stdio) or remote URL (http/sse), identify what it is, and retrieve its official repository and download instructions:
# Probe local server with concise 3-line summary
mcp-fingerprints probe --format short -- npx -y @modelcontextprotocol/server-postgres postgresql://localhost/db
# Probe remote HTTP/SSE endpoint
mcp-fingerprints probe --url http://localhost:8000/sse --format long
# Authenticated remote endpoint
mcp-fingerprints probe --url https://api.example.com/mcp --header "Authorization: Bearer mytoken"
Python SDK:
from mcp_fingerprints import identify_stdio, identify_http
# Identify local subprocess
report = identify_stdio(["uvx", "mcp-server-git"])
print(f"Verified: {report.package_name} ({report.repository_url})")
# Identify remote HTTP/SSE endpoint
remote = identify_http("https://mcp.internal.acme.com/sse")
print(f"Remote Server: {remote.package_name} v{remote.version}")
Enriched Tool Parameter Schemas & Protocol Annotations
MCP Fingerprints extracts rich parameter schemas and runtime protocol hints directly from server source ASTs:
- Structured Parameter Metadata: Includes parameter types (
string,number,boolean,array,object), descriptions, required status, default values, and allowed enums. - Protocol Annotations: Captures MCP tool behavior hints:
readOnlyHint: Tool performs read-only operations without side effects.destructiveHint: Tool performs destructive operations (deletions, modifications).idempotentHint: Repeated invocations yield identical state.openWorldHint: Tool interacts with external/unconstrained network services.
- Transport Specifications: Captures supported transports (
stdio,sse,streamable-http,websocket) and required environment variables.
Fast Consumption
You can fetch the latest consolidated database in a single GET request:
curl -sL https://raw.githubusercontent.com/JMartynov/mcp-fingerprints/main/passports.json.gz | gzip -d > passports.json
Python
import gzip, json, urllib.request
url = "https://raw.githubusercontent.com/JMartynov/mcp-fingerprints/main/passports.json.gz"
with urllib.request.urlopen(url) as resp:
with gzip.GzipFile(fileobj=resp) as gz:
data = json.load(gz)
print(f"Loaded {data['total_passports']} MCP server passports.")
CLI Usage
The CLI provides a focused set of pure structural commands:
# Auto-discover local configs with generic agent detection and baseline drift tracking
python -m mcp_fingerprints.cli scan --auto --save-baseline baseline.json
python -m mcp_fingerprints.cli scan --auto --diff baseline.json
# Detect if a generic command or URL is an MCP server
python -m mcp_fingerprints.cli detect "uvx mcp-server-git"
python -m mcp_fingerprints.cli detect http://localhost:8000/sse
# Auto-generate passports for locally discovered tools
python -m mcp_fingerprints.cli scan --auto --auto-passport
# Sync from registries
python -m mcp_fingerprints.cli sync --all
# Match a toolset hash against the knowledge base
python -m mcp_fingerprints.cli match <hash>
# Probe a server and extract its fingerprint
python -m mcp_fingerprints.cli probe <server_command>
# Validate schema invariants
python -m mcp_fingerprints.cli validate --dir data/fingerprints
# Build compressed snapshot
python -m mcp_fingerprints.cli snapshot
# Search the catalog
python -m mcp_fingerprints.cli search "query"
# Browse interactively via TUI
python -m mcp_fingerprints.cli browse
# Export client configurations (Claude, Cursor, Cline, Zed, Windsurf)
python -m mcp_fingerprints.cli export-config <server_name> --client claude
# Detect configuration drift against the latest passports
python -m mcp_fingerprints.cli detect-drift <config_file>
Reporting & Output Formats
Customize the output verbosity to fit your terminal or CI environment:
# Concise 3-line summary for quick checks and CI logs
mcp-fingerprints probe --format short -- npx -y @modelcontextprotocol/server-sqlite --db app.db
# Exhaustive schema and parameter audit report
mcp-fingerprints probe --format long -- npx -y @modelcontextprotocol/server-sqlite --db app.db
# Structured JSON output for scripting and automation
mcp-fingerprints probe --json -- npx -y @modelcontextprotocol/server-sqlite --db app.db
Releases
TestPyPI Dry-Run
You can perform an automated dry-run release to TestPyPI to verify packaging, metadata, and functionality before a production PyPI release.
- Navigate to the Actions tab in the GitHub repository.
- Select the Release to TestPyPI (Dry-Run) workflow.
- Click Run workflow.
- You can optionally provide a
version_suffix(e.g.rc1,b2) which will be appended to the current version inpyproject.tomlto avoid conflicts on TestPyPI. - The workflow will build artifacts, publish them to TestPyPI using Trusted Publishing, and execute an automated smoke test (
pip installinto a clean container).
License
MIT
Metadata
Release files for mcp-fingerprints 1.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_fingerprints-1.0.11.tar.gz | 207.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_fingerprints-1.0.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 340.0 kB
Release files / mcp_fingerprints-1.0.11.tar.gz
| Download URL | mcp_fingerprints-1.0.11.tar.gz |
|---|---|
| Size | 207.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10b151e2a0adcd2f45b6faa9076d8d923cda826e329814cb23e1b229dbe93d7e
|
|
BLAKE2b-256 checksum How to use checksums |
0b666651d95ff4198b8aee66fb3c519362cd77c7da55bea67e021aafcd8d540e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logRelease files / mcp_fingerprints-1.0.11-py3-none-any.whl
| Download URL | mcp_fingerprints-1.0.11-py3-none-any.whl |
|---|---|
| Size | 133.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
130b23f5ad9d625c3704335004a9ef45a230ac89eaeb757aa13abb1d8f6a0135
|
|
BLAKE2b-256 checksum How to use checksums |
f6dc6ee3dfee01489036df20006cf5cd0e1ca091240d3901a3948d36a20bd94d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logSecurity for mcp-fingerprints 1.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for mcp_fingerprints-1.0.11.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.