Conformance test harness for Model Context Protocol servers — JSON-RPC 2.0, OAuth 2.1 PKCE, tool schemas, capabilities, smoke roundtrip, annotation hygiene. Spec versions 2024-11-05, 2025-03-26, 2025-06-18.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/studiomeyer-io/mcp-protocol-conformance{
"mcpServers": {
"mcp-protocol-conformance": {
"command": "node",
"args": ["/path/to/mcp-protocol-conformance/dist/index.js"]
}
}
}MCP Servers overview
<!-- studiomeyer-mcp-stack-banner:start -->
> **Part of the [StudioMeyer MCP Stack](https://studiomeyer.io)** — Built in Mallorca 🌴 · ⭐ if you use it
<!-- studiomeyer-mcp-stack-banner:end -->
# mcp-protocol-conformance
<!-- badges -->
[](https://www.npmjs.com/package/mcp-protocol-conformance)
[](https://www.npmjs.com/package/mcp-protocol-conformance)



<!-- /badges -->Conformance test harness for Model Context Protocol servers. Validates JSON-RPC 2.0 wire compliance, spec-version handshake, transport behaviour, OAuth 2.1 PKCE, tool schemas, capability advertisement, smoke roundtrip, and annotation hygiene against MCP spec 2024-11-05, 2025-03-26, 2025-06-18, and the current **stable** revision **2025-11-25** (experimental `tasks`, structured tool output, JSON Schema 2020-12 default, tool `title`/`icons`).
This is a Foundation build of the StudioMeyer MCP Factory: every other Factory build runs through this harness before promotion (npm publish, marketplace submit, upstream PR).
## A note from us
We have been building tools and systems for ourselves for the past two years. The fact that this repo is small and has few stars is not because it is new. It is because we only just decided to share what we have built. It is not a fresh experiment, it is a long story with a recent commit.
We love building things and sharing them. We do not love social media tactics, growth hacks, or chasing stars and followers. So this repo is small. The code is real, it gets used, issues get answered. Judge for yourself.
If it helps you, sharing, testing, and feedback help us. If it could be better, an issue is more useful. If you build something with it, tell us at hello@studiomeyer.io. That genuinely makes our day.
From a small studio in Palma de Mallorca.
## Install
```bash
npm install --save-dev mcp-protocol-conformance
```
The package ships both a CLI (`mcp-conformance`) and a TypeScript library entry (`import ... from "mcp-protocol-conformance"`).
## CLI usage
### Run against a stdio server
```bash
mcp-conformance run \
--target stdio \
--cmd node \
--cmd-arg dist/server.js \
--spec 2025-06-18 \
--suite all \
--format terminal
```
### Run against an HTTP server (Streamable HTTP, 2025-03-26+)
```bash
mcp-conformance run \
--target http \
--url https://memory.studiomeyer.io/mcp \
--header "Authorization:Bearer ${TOKEN}" \
--spec 2025-06-18 \
--suite full \
--format json --out report.json
```
### Run only a subset of suites
```bash
mcp-conformance run --target stdio --cmd ./server --spec 2025-06-18 \
--suite jsonrpc,version,schema
```
### Compare two manifests
```bash
mcp-conformance compare \
--expected manifests/v1.json \
--actual manifests/v2.json
```
### Assert no breaking changes between two reports
```bash
mcp-conformance assert-no-breaking \
--baseline reports/main.json \
--current reports/pr-42.json
```
Exit codes: `0` clean, `1` failures, `2` invocation error.
## Library usage
```ts
import {
runFullSuite,
generateReport,
} from "mcp-protocol-conformance";
const report = await runFullSuite(
{ kind: "stdio", cmd: "node", args: ["dist/server.js"] },
"2025-06-18",
{ suite: "all" },
);
console.log(generateReport(report, "terminal"));
if (report.status === "fail") process.exit(1);
```
## MCP server usage
The harness is itself an MCP server. Start it over stdio and any MCP client can call its 12 tools:
```bash
node dist/server.js
```
Tools (all read-only, all `destructiveHint: false`):
| # | Tool | Purpose |
|---|------|---------|
| 1 | `runJsonRpcCompliance` | JSON-RPC 2.0 error-code matrix + response-envelope (result/error mutual exclusivity) |
| 2 | `runSpecVersionAssertion` | Verify advertised protocolVersion |
| 3 | `runTransportSuite` | Transport-layer ping + session-id |
| 4 | `runOauthPkceFlow` | OAuth 2.1 PKCE S256 (mock-AS or real-tenant) |
| 5 | `runToolSchemaValidation` | inputSchema (+ 2025-11-25 outputSchema / title) is valid JSON-Schema |
| 6 | `runCapabilityIntrospection` | initialize.capabilities matches behaviour (+ 2025-11-25 tasks) |
| 7 | `runRoundtripSmoke` | One tools/call per advertised tool |
| 8 | `runAnnotationsAudit` | readOnlyHint / destructiveHint hygiene |
| 9 | `runFullSuite` | All suites + summary |
| 10 | `generateReport` | Render JUnit / JSON / terminal |
| 11 | `compareManifests` | Diff two tool manifests |
| 12 | `assertNoBreakingChanges` | Diff two FullReports |
## Compatibility matrix
| | 2024-11-05 | 2025-03-26 | 2025-06-18 | 2025-11-25 |
|---------------------|:----------:|:----------:|:----------:|:----------:|
| jsonrpc | yes | yes | yes | yes |
| version (handshake) | yes | yes | yes | yes |
| transport (stdio) | yes | yes | yes | yes |
| transport (http) | n/a | yes | yes | yes |
| oauth (mock) | n/a | yes | yes | yes |
| oauth (real) | n/a | yes | yes | yes |
| schema | yes | yes | yes | yes |
| capability | yes | yes | yes | yes |
| smoke | yes | yes | yes | yes |
| annotations | warn-only | warn-only | yes | yes |
| tasks (capability) | n/a | n/a | n/a | yes |
| tool title/output | n/a | n/a | n/a | warn-only |
`yes` = suite runs and produces actionable results.
`n/a` = capability not in spec; suite skips automatically.
`warn-only` = suite runs but the spec does not formally require the feature.
The 2026-07-28 RC (stateless core, SEP-2575/2567) is intentionally **not** here —
it ships final on 2026-07-28; conformance for it lands in a later release against
the final SDK.
## Integration in Factory builds
In every Factory build's `package.json`:
```json
{
"scripts": {
"factory:conformance": "mcp-conformance run --target stdio --cmd 'node dist/server.js' --spec 2025-06-18 --suite full"
}
}
```
In CI:
```yaml
- run: npm run factory:conformance
```
## Spec references
- JSON-RPC 2.0: https://www.jsonrpc.org/specification
- MCP 2024-11-05: https://modelcontextprotocol.io/specification/2024-11-05
- MCP 2025-03-26: https://modelcontextprotocol.io/specification/2025-03-26
- MCP 2025-06-18: https://modelcontextprotocol.io/specification/2025-06-18
- MCP 2025-11-25: https://modelcontextprotocol.io/specification/2025-11-25
- RFC 7636 (PKCE): https://datatracker.ietf.org/doc/html/rfc7636
## About StudioMeyer
[StudioMeyer](https://studiomeyer.io) is an AI and design studio based in Palma de Mallorca, working with clients worldwide. We build custom websites and AI infrastructure for small and medium businesses. Production stack on Claude Agent SDK, MCP and n8n, with Sentry, Langfuse and LangGraph for observability and an in-house guard layer.
## License
MIT — Copyright (c) 2026 Matthias Meyer (StudioMeyer)What people ask about mcp-protocol-conformance
What is studiomeyer-io/mcp-protocol-conformance?
+
studiomeyer-io/mcp-protocol-conformance is mcp servers for the Claude AI ecosystem. Conformance test harness for Model Context Protocol servers — JSON-RPC 2.0, OAuth 2.1 PKCE, tool schemas, capabilities, smoke roundtrip, annotation hygiene. Spec versions 2024-11-05, 2025-03-26, 2025-06-18. It has 0 GitHub stars and its last recorded update is dated 2026-08-19.
How do I install mcp-protocol-conformance?
+
You can install mcp-protocol-conformance by cloning the repository (https://github.com/studiomeyer-io/mcp-protocol-conformance) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is studiomeyer-io/mcp-protocol-conformance safe to use?
+
Our security agent has analyzed studiomeyer-io/mcp-protocol-conformance and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains studiomeyer-io/mcp-protocol-conformance?
+
studiomeyer-io/mcp-protocol-conformance is maintained by studiomeyer-io. The last recorded GitHub activity is dated 2026-08-19, with 0 open issues.
Are there alternatives to mcp-protocol-conformance?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy mcp-protocol-conformance to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/studiomeyer-io-mcp-protocol-conformance)<a href="https://claudewave.com/repo/studiomeyer-io-mcp-protocol-conformance"><img src="https://claudewave.com/api/badge/studiomeyer-io-mcp-protocol-conformance" alt="Featured on ClaudeWave: studiomeyer-io/mcp-protocol-conformance" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!