mcp-test-driver
An interactive REPL and diagnostic driver for any MCP server, over stdio or HTTP. No AI wiring: it is a tool for developers building and maintaining MCP servers.
Point it at a command or a URL. You get a prompt where tool names, argument keys and enum values tab-complete, a report of what the server negotiated and where it departs from the spec, and raw protocol access for everything else.
Installation
mcp-test-driver is on PyPI and needs Python 3.12 or later.
uvx mcp-test-driver <server-command...> # run without installing
uv tool install mcp-test-driver # or install the command
pipx install mcp-test-driver
Quick start
# stdio: the server command and its arguments
mcp-test-driver my-server --stdio
# HTTP: a URL
mcp-test-driver https://unicode.mcp.pennock.tech/mcp
# a token from the environment, kept out of argv
TOKEN=... mcp-test-driver --bearer-env TOKEN https://example.com/mcp
Options go before the target; everything after it is passed to the server
command unchanged. At the prompt, type a tool name and its arguments, or
a /command:
mcp> unicode_search query=snowman
mcp> /describe unicode_search
mcp> /help
Tab completes; F1 shows help for whatever is on the line.
What it does
- Speaks every MCP revision, 2024-11-05 to 2026-07-28: the
initializehandshake and the stateless protocol, over stdio, Streamable HTTP and the 2024-11-05 HTTP+SSE. It works out which a server speaks and tells you how it decided. - Never hides a feature. The negotiated revision sets defaults and labels findings; you can always send anything, including methods the server never claimed to support.
- Reports conformance problems as you work, labelled as violations, features beyond the claimed revision, or deprecated ones.
- Probes and checks a server on request: what it really supports, and how it handles bad input. Probes never call the server's own tools.
- Plays the client's side by hand: you answer elicitation and sampling requests yourself, and can advertise roots.
- Handles tasks, MCP Apps and skills, and lets you declare any extension.
- Gives raw access: send any request, notification or deliberately
invalid payload; set sticky
_metafields and HTTP headers. - Reaches real deployments: OAuth login, static tokens, HTTP proxies, extra CA certificates.
- Treats the server as untrusted: everything it sends is sanitized before it reaches your terminal, and URLs it supplies are never opened for you.
Scripting and CI
mcp-test-driver --check --json my-server # exit 1 on failures, 2 if unreachable
mcp-test-driver -c '/probe' -c 'my_tool x=1' my-server
Documentation
mcp-test-driver --helplists every option;/helplists every command.- User guide: protocol eras, findings, probes, client capabilities, proxies and TLS, OAuth.
- Feature matrix: each spec feature, by revision, and what the driver does with it.
- Security model and what is not implemented.
Development
uv sync --group dev
uv run ruff check && uv run ty check && uv run pytest
Start from AGENTS.md and the docs index; both are written for AI coding agents and serve people as well.
AI Disclosure
A LLM development tool was used extensively in the creation of this tool.
(It's a tool for exploring services designed for LLMs to use, what did you expect?)
License
ISC — see LICENSE.
Metadata
Release files for mcp-test-driver 0.2.1
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 | Actions |
|---|---|---|---|---|
| mcp_test_driver-0.2.1.tar.gz | 99.7 kB | Without provenance | Details for mcp_test_driver-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_test_driver-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for mcp_test_driver-0.2.1-py3-none-any.whl |
Total release size: 223.9 kB
Release files / mcp_test_driver-0.2.1.tar.gz
| Download URL | mcp_test_driver-0.2.1.tar.gz |
|---|---|
| Size | 99.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbee63c05436b2c30a87c7dbff1cd9c1fe3136b2d130f9626a37b1171d877e77
|
|
BLAKE2b-256 checksum How to use checksums |
454954ac78195eb1e41cd9f1f2d866121c2e16c89cedaffcd458c398fe6d3cd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / mcp_test_driver-0.2.1-py3-none-any.whl
| Download URL | mcp_test_driver-0.2.1-py3-none-any.whl |
|---|---|
| Size | 124.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
163a93db65983af4122ccad1ac53dd69dcfb8d05a692a3e76077ff77372fbf22
|
|
BLAKE2b-256 checksum How to use checksums |
7a5286d6d478bc186039bb1181407807cf80a1a64732c8ee85f6729256508f96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for mcp-test-driver 0.2.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.