modelcontextprotocol / modelcontextprotocol/inspector

[Discussion] Generate a mock MCP server from a recorded Inspector session

Open
#2,441 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement v2
Dominant language
TypeScript
Stars
10.9k
Forks
1.5k
Avg merge
6h 17m
Merged PRs (30d)
151

Description

Which client?

All / shared core

The problem

Testing a client integration against a real server is often unnecessary once you know the shape of its responses -- but there's no way to take a recorded/replayed Inspector session and turn it into a standalone mock server for reuse (CI, offline dev).

Solution you have in mind (optional)

A command that takes a saved session/log and emits a minimal test-servers-style mock server replaying the recorded tool/resource/prompt responses. Flagging as a discussion given the scope.

Alternatives or workarounds you have tried

No response

Already built it locally?

No response

Before you submit
  • I searched existing issues and this is not a duplicate.
  • This is a request for the Inspector itself, not for the MCP specification or an SDK.

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

No files, tests, or entry points are named. Start by tracing Inspector’s recorded/replayed session data and the test-servers-style mock-server structure; define the input format, generated server shape, and replay behavior before implementing a command that works for CI and offline development.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.