CI-first conformance, security, and benchmarking CLI for MCP servers. Lint your MCP server before your users do.
Project description
mcp-halflist
CI-first conformance, security, and benchmarking CLI for MCP servers.
Lint your MCP server before your users do.
What It Does
Point it at any MCP server — stdio or HTTP — and get a scored conformance report, security vulnerability scan (prompt injection, tool poisoning, data exfiltration), and per-tool latency benchmarks. Fully offline, zero API keys, CI-native. One pip install, one command, done.
See It In Action
Terminal output:
HTML reports: Check report · Bench report · Audit report
Install
pip install mcp-halflist
macOS users: use
python3instead ofpythonin server commands.
Quick Start
# Full audit of the official MCP reference server (runs instantly, no setup)
halflist audit --stdio "npx -y @modelcontextprotocol/server-everything"
# Security scan + conformance check
halflist check --stdio "npx -y @modelcontextprotocol/server-everything"
# Benchmark tool latency
halflist bench --stdio "npx -y @modelcontextprotocol/server-everything" --all
# Pin tools, then verify later for rug pull detection
halflist pin --stdio "npx -y @modelcontextprotocol/server-everything"
halflist check --stdio "npx -y @modelcontextprotocol/server-everything" --verify-pins
# Your own server
halflist audit --stdio "python3 my_server.py"
# HTTP transport (Streamable HTTP with SSE fallback)
halflist check --http http://localhost:8080/mcp
halflist audit --http http://localhost:8080/mcp
# HTTP with auth
halflist check --http https://mcp.example.com/v1 --header "Authorization: Bearer tok123"
# HTTP with OAuth2 client credentials
halflist audit --http https://mcp.example.com/v1 \
--oauth-token-url https://auth.example.com/token \
--oauth-client-id my-client \
--oauth-client-secret my-secret
# More real servers to try
halflist check --stdio "npx -y @modelcontextprotocol/server-time"
halflist check --stdio "npx -y @modelcontextprotocol/server-filesystem /tmp"
Commands
| Command | What it does |
|---|---|
halflist check |
Protocol conformance + security scanning |
halflist bench |
Per-tool latency benchmarking (p50/p95/p99) |
halflist audit |
Combined check + bench in one shot |
halflist watch |
Continuous health monitoring |
halflist report |
Generate markdown, HTML reports, or SVG badges from JSON |
halflist pin |
Save tool hashes for rug pull detection |
See the full command reference for all flags and examples.
Security Scanning
halflist scans tool descriptions for prompt injection, data exfiltration instructions, cross-tool manipulation, suspicious encoding (base64, zero-width characters), and rug pull attempts via tool pinning. All scanning is fully offline — zero API calls, zero data sharing. Unlike mcp-scan which sends tool descriptions to an external API, halflist runs entirely on your machine.
See security scanning details for the full list of detection patterns.
Output Formats
Terminal (colored, default) · JSON (--format json) · Markdown · HTML · SVG Badge
See the output format reference for details.
How It Compares
| Tool | Approach | Needs API key | Sends data externally |
|---|---|---|---|
| MCP Inspector | Interactive browser UI | No | No |
| mcp-probe | Interactive TUI (Rust) | No | No |
| mcp-server-tester | LLM-generated tests | Yes (Anthropic) | Yes |
| mcp-scan | Security scanning | Yes (OpenAI for local) | Yes (Invariant API) |
| mcp-halflist | CI-first check + security + bench | No | No |
License
MIT
Author
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_halflist-0.4.0.tar.gz.
File metadata
- Download URL: mcp_halflist-0.4.0.tar.gz
- Upload date:
- Size: 553.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
170bcb68ff5f2441f4dd61bd172a9fb2d383827c081c5524d9719d31b3cbb51a
|
|
| MD5 |
012045297cabbd64135a15fcab5a9111
|
|
| BLAKE2b-256 |
09a6d36ca5ca7da6f3f1d331c9db15596272ba8e0e9ba515be2aa2747c6f373f
|
File details
Details for the file mcp_halflist-0.4.0-py3-none-any.whl.
File metadata
- Download URL: mcp_halflist-0.4.0-py3-none-any.whl
- Upload date:
- Size: 36.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c066ab5839cca8b15d93251afaadc77158d525c7cf0cb4379f396dc981554b61
|
|
| MD5 |
482d3b061ddce544575716d02b62baf2
|
|
| BLAKE2b-256 |
e2e4d26a7e00dcc00d8bab44913f5afc812503af027955fc812577980412ebbc
|