mcpmock
Rapid MCP server prototyping from a single YAML file
Install / Use
claude mcp add Dimirolz -- npx -y github:Dimirolz/mcpmockIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of mcpmock
mcpmock scores 63/100 on our quality scale, 4013th of 4,617 Development & Engineering skills we index.
Its MCP Server is 3.3 KB long, well organised into 9 sections with 5 code examples: a solid amount of guidance for an agent.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 12 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
- Our last check on 2026-10-22 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
mcpmock compared with similar skills
All 4 of these similar skills score higher than mcpmock; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| mcpmock (this skill)by Dimirolz | 63 | 10 | 12mo ago | MCP Server |
| taste-skillby Leonxlnx | 100 | 110.6k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.2k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 69.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install mcpmock?
- Run
claude mcp add Dimirolz -- npx -y github:Dimirolz/mcpmock. The install tabs above show the steps for each supported agent. - Which AI agents does mcpmock work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is mcpmock safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is mcpmock still maintained?
- The repository was last updated about 12 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
Skill content
View source on GitHubmcpmock
A Bun + TypeScript playground for rapidly prototyping Model Context Protocol (MCP) servers.
Describe your mock server in a single YAML file, run the CLI, and the server (stdio or HTTP) responds with mocked data. The goal is to help iterate on tool shapes and responses without building full backends.
Project status
- Single-file YAML configs (
examples/basic/mock.yaml) load into a typed representation with clear errors. - The CLI now spins up a mock MCP server:
transport: stdio(default) connects via stdin/stdout for agent integrations.transport: httpstarts an Express server backed byStreamableHTTPServerTransport.
- Tool calls return the configured
responseas text (and structured content when applicable).
Installation
Once the package is published to npm you can install or run it instantly:
npm install -g mcpmock
# or run without installing
npx mcpmock ./examples/basic/mock.yaml
Usage
Point the CLI at any project YAML file:
npx mcpmock path/to/server.yaml
transport: stdio(default) connects via stdin/stdout for agent integrations.transport: httpstarts an Express server backed byStreamableHTTPServerTransport.- Cross-origin requests are enabled (with
Mcp-Session-Idexposed) so browsers like MCP Inspector can connect directly.
If the configuration contains mistakes, the CLI prints readable error messages with annotated paths so coding agents (and humans) can quickly fix them.
Local development
To work on the CLI locally:
bun install
bun run build
node dist/index.js examples/basic/mock.yaml
The build step emits the Node-ready bundle (dist/index.js) and TypeScript declarations used when publishing to npm.
Configuration format
All configuration lives in one YAML file. Example (examples/basic/mock.yaml):
server:
name: demo-mock
transport: stdio
description: Minimal mock MCP server example
tools:
- name: echo
description: Returns the provided message
input_schema:
type: object
properties:
message:
type: string
required:
- message
response:
message: default echo
Response templating
Within response values you can reference tool arguments using {{ args.* }} expressions. Strings are interpolated at call time and work inside nested objects and arrays. For example:
tools:
- name: echo
response:
message: "You said: {{ args.message }}"
If a referenced argument is missing, the tool call raises an error to make debugging easier.
Key rules:
- Every tool must have a unique
name. input_schemafollows JSON Schema conventions (currently a subset focused on objects, strings, numbers, booleans, arrays).responsecan be any JSON value (plain strings work too if you want Markdown).
Roadmap
- Harden the HTTP transport (SSE sessions, resumability, auth helpers).
- Provide richer response scripting options (multiple scenarios, templating).
- Build a companion MCP client CLI to run scripted interactions, log tool calls, and support lightweight evals.
- Support optional multi-file layouts for large projects.
- Package for npm distribution and provide compiled binaries with
bun build --compile.
Contributions, ideas, and feedback are welcome! Feel free to sketch new formats in examples/ and iterate on the CLI.***
Related Skills
taste-skill
110.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
109.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
69.8kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
