MCP Protocol Validator
@Janix-ai
MCP Protocol Validator について
Test suite for validating MCP server implementations against the open MCP protocol specification. Helps developers ensure protocol compliance and interoperability.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-protocol-validator": {
"command": "python",
"args": [
"mcp_testing/scripts/http_compliance_test.py",
"--debug"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Protocol Validator?
The MCP Protocol Validator is a testing suite and reference implementation for the Model Context Protocol (MCP). It provides a comprehensive environment for testing and validating MCP server implementations, including a testing framework and reference servers to ensure compliance with the MCP specification.
How to use MCP Protocol Validator?
Install and run compliance tests via command-line scripts. For STDIO servers, use python -m mcp_testing.scripts.compliance_report --server-command "python path/to/server.py" --protocol-version 2025-06-18. For HTTP servers, start the reference server and run python -m mcp_testing.scripts.http_compliance_test. Configure OAuth 2.1 via environment variables like MCP_OAUTH_ENABLED=true.
Key features of MCP Protocol Validator?
- OAuth 2.1 authentication testing framework
- STDIO and HTTP compliance test suites
- Multi-protocol version support (2024-11-05 to 2025-06-18)
- Structured tool output and enhanced schema validation
- Protocol version negotiation and error handling tests
- Detailed test report generation
Use cases of MCP Protocol Validator?
- Validate a custom MCP server implementation against the specification
- Test backward compatibility with older protocol versions (2024-11-05, 2025-03-26)
- Verify OAuth 2.1 bearer token handling and security headers
- Automate compliance checks in a CI/CD pipeline
- Debug tool functionality with dynamic discovery and timeout control
FAQ from MCP Protocol Validator
What protocol versions does the validator support?
It supports protocol versions 2024-11-05, 2025-03-26, and the latest 2025-06-18.
Does the validator support both STDIO and HTTP transports?
Yes, it includes separate compliance test suites for STDIO-based servers (compliance_report.py) and HTTP-based servers (http_compliance_test.py).
How do I test a pip-installed MCP server?
Ensure the server is installed in the correct virtual environment, then run python -m mcp_testing.scripts.compliance_report --server-command "python -m your_server_module" --protocol-version 2024-11-05.
Can I test only specific functionality?
Yes, use options like --test-mode tools for tool-only tests, --dynamic-only for automatic tool discovery, and --skip-tests to exclude specific tests.
What authentication does the validator support for HTTP tests?
It fully supports OAuth 2.1 authentication with bearer token validation, WWW-Authenticate headers, and resource server capabilities, configurable via environment variables.
「その他」の他のコンテンツ
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Awesome Mlops
visengerA curated list of references for MLOps
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
コメント