MCP.so
ログイン

MCP Protocol Validator

@Janix-ai

基本情報

カテゴリ

その他

ライセンス

NOASSERTION

トランスポート

stdio

作者

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 Protocol Validator の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-protocol-validator": {
      "command": "python",
      "args": [
        "mcp_testing/scripts/http_compliance_test.py",
        "--debug"
      ]
    }
  }
}

MCP Protocol Validator のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

よくある質問

1

What protocol versions does the validator support?

It supports protocol versions 2024-11-05, 2025-03-26, and the latest 2025-06-18.

2

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`).

3

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`.

4

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.

5

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.

コメント

「その他」の他のコンテンツ