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.

评论

其他 分类下的更多 MCP 服务器