mcp-protocol-conformance
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-protocol-conformance run full conformance suite for my MCP server"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Part of the StudioMeyer MCP Stack โ Built in Mallorca ๐ด ยท โญ if you use it
mcp-protocol-conformance
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.
Related MCP server: MCP Test Server
Install
npm install --save-dev mcp-protocol-conformanceThe package ships both a CLI (mcp-conformance) and a TypeScript library entry (import ... from "mcp-protocol-conformance").
CLI usage
Run against a stdio server
mcp-conformance run \
--target stdio \
--cmd node \
--cmd-arg dist/server.js \
--spec 2025-06-18 \
--suite all \
--format terminalRun against an HTTP server (Streamable HTTP, 2025-03-26+)
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.jsonRun only a subset of suites
mcp-conformance run --target stdio --cmd ./server --spec 2025-06-18 \
--suite jsonrpc,version,schemaCompare two manifests
mcp-conformance compare \
--expected manifests/v1.json \
--actual manifests/v2.jsonAssert no breaking changes between two reports
mcp-conformance assert-no-breaking \
--baseline reports/main.json \
--current reports/pr-42.jsonExit codes: 0 clean, 1 failures, 2 invocation error.
Library usage
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:
node dist/server.jsTools (all read-only, all destructiveHint: false):
# | Tool | Purpose |
1 |
| JSON-RPC 2.0 error-code matrix + response-envelope (result/error mutual exclusivity) |
2 |
| Verify advertised protocolVersion |
3 |
| Transport-layer ping + session-id |
4 |
| OAuth 2.1 PKCE S256 (mock-AS or real-tenant) |
5 |
| inputSchema (+ 2025-11-25 outputSchema / title) is valid JSON-Schema |
6 |
| initialize.capabilities matches behaviour (+ 2025-11-25 tasks) |
7 |
| One tools/call per advertised tool |
8 |
| readOnlyHint / destructiveHint hygiene |
9 |
| All suites + summary |
10 |
| Render JUnit / JSON / terminal |
11 |
| Diff two tool manifests |
12 |
| 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:
{
"scripts": {
"factory:conformance": "mcp-conformance run --target stdio --cmd 'node dist/server.js' --spec 2025-06-18 --suite full"
}
}In CI:
- run: npm run factory:conformanceSpec 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 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)
Available Tools
12 toolsassertNoBreakingChangesBRead-onlyIdempotent
Compare a baseline FullReport against a current FullReport. Returns a list of breaking changes and warnings.
Inputs: current, baseline.
compareManifestsBRead-onlyIdempotent
Diff two tool manifests โ added/removed/changed tools.
Inputs: actual (required), expected (required).
generateReportCRead-onlyIdempotent
Render a FullReport as JUnit XML, JSON, or human-readable terminal output.
Inputs: format (required), report.
runAnnotationsAuditCRead-onlyIdempotent
Apply the heuristic annotation rules (destructive name regex, readOnlyHint conflicts) to every advertised tool.
Inputs: target (required), specVersion.
runCapabilityIntrospectionBRead-onlyIdempotent
Compare the capabilities the target advertises in initialize against what tools/list, resources/list, prompts/list actually return.
Inputs: target (required), specVersion.
runFullSuiteBRead-onlyIdempotent
Run all (or selected) suites and produce a FullReport with summary + per-suite + per-check status.
Inputs: target (required), specVersion (required), oauth, suite.
runJsonRpcComplianceBRead-onlyIdempotent
Run JSON-RPC 2.0 compliance suite (parse-error, invalid-request, method-not-found, invalid-params, internal-error) against a target MCP server.
Inputs: target (required), specVersion (required).
runOauthPkceFlowCRead-onlyIdempotent
Exercise OAuth 2.1 PKCE S256 flow against the target. Mock-AS by default; real-tenant when --oauth-mode=real.
Inputs: target (required), clientId (required), redirectUri (required), scopes, +2 more.
runRoundtripSmokeBRead-onlyIdempotent
Perform one tools/call per advertised tool. Fails on JSON-RPC transport errors, warns on tool-level isError=true.
Inputs: target (required), sampleArgs, specVersion.
runSpecVersionAssertionBRead-onlyIdempotent
Drive an initialize handshake and assert the target advertises the expected MCP spec version.
Inputs: target (required), expectedVersion (required).
runToolSchemaValidationBRead-onlyIdempotent
Validate that every advertised tool has a well-formed JSON-Schema inputSchema. Optionally diff against an expected manifest.
Inputs: target (required), specVersion, expectedManifest.
runTransportSuiteCRead-onlyIdempotent
Verify the target's transport layer (stdio line-delimited JSON or Streamable HTTP).
Inputs: target (required), transport, specVersion.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 12 tools
Each tool targets a distinct conformance concern: JSON-RPC framing, spec version, transport, OAuth, schema shape, capability consistency, roundtrip, annotations, manifest diffing, and report rendering. runFullSuite intentionally aggregates the others but is clearly described as an orchestrator rather than a duplicate check. No two tools appear to do the same thing.
Nine tools share the runXSuite/runXAssertion camelCase verb_noun pattern, and the remaining three use equally descriptive distinct verbs (generateReport, compareManifests, assertNoBreakingChanges) that signal post-processing rather than test execution. The convention is predictable, though the run-prefix is applied to a few tools that are checks rather than suites.
Twelve tools is well within the ideal range and each maps to a concrete, non-redundant conformance check or reporting step. Nothing feels padded, and the granular suite tools plus a full-suite orchestrator is a natural decomposition.
The surface covers the major conformance axes: JSON-RPC, transport, spec version, OAuth PKCE, tool schemas, capability introspection, roundtrips, annotations, reporting, and regression detection. Gaps remain for server-initiated features (sampling, roots, elicitation), notification/progress behavior, and non-PKCE auth methods, but these are extensions rather than dead ends.
Maintenance
Related MCP Connectors
MCP Spec Compliance MCP โ audits any MCP server.json against the official Model Context Protocol
- meok-mcp-test-mcpDeprecatedio.github.CSOAI-ORG
MEOK MCP Test MCP โ golden-file + schema-drift + tool-failure tests for any MCP server. Drop-in
A Model Context Protocol server for Wix AI tools
3rd Generation Testing (3TG) โ generate deterministic test suites from Markdown spec tables via MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that enables API test automation across various AI hosts (Claude, OpenAI, custom) using Postman Collections.MIT
- AlicenseNot gradedqualityDmaintenanceA TypeScript-based test implementation for the Model Context Protocol (MCP) with example configurations and Jest test cases. Provides a development foundation for building and testing MCP server functionality.MIT
- AlicenseNot gradedqualityDmaintenanceA comprehensive reference implementation demonstrating all features of the Model Context Protocol (MCP) specification, serving as documentation, learning resource, and testing tool for MCP implementations.1MIT
- AlicenseNot gradedqualityDmaintenanceA comprehensive testing server for validating MCP scanner tools and implementations, providing diverse tools, resources, and prompts that exercise various aspects of the Model Context Protocol specification.MIT