modelcontextprotocol / modelcontextprotocol/conformance

Add support for a stdio testing

Open
#258 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
127
Forks
101
Avg merge
6d 1h
Merged PRs (30d)
7

Description

Is your feature request related to a problem? Please describe.

It would be helpful when I'm running a MCP server in stdio mode to have the option to check that the conformance tests are passing.

Describe the solution you'd like

npx @modelcontextprotocol/conformance server --stdio ./my_server

Describe alternatives you've considered

I've tried the run a server in a SSE fashion using the examples of official go-sdk but it didn't worked:

Additional context

It would be helpful to have consistant and conformance friendly examples in all SDKs. Could you ensure that the examples in the official documentation are passing the conformance test and show casing report for them?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the conformance CLI entry point that handles server and the proposed --stdio ./my_server invocation. Compare the existing SSE flow with the Go SDK SSE examples, then check the official documentation examples mentioned in the issue. Done means stdio servers can run conformance checks and the relevant examples provide passing reports.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, node.js, typescript
Domain
cli, documentation, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.