How to install mockserver in Claude Code
To install mockserver in Claude Code, run "claude mcp add mockserver -- docker run -i --rm docker.io/mockserver/mockserver:9.0.0" in your terminal, then check it with "claude mcp list". It takes about a minute.
Built from the published package · server updated yesterday
- 1
Run the install command
Open a terminal in your project and run:
claude mcp add mockserver -- docker run -i --rm docker.io/mockserver/mockserver:9.0.0 - 2
Choose where it applies (optional)
Add --scope user to use it in every project, or --scope project to share it with your team through a .mcp.json file.
claude mcp add --scope user mockserver -- docker run -i --rm docker.io/mockserver/mockserver:9.0.0 - 3
Check that it is connected
List your servers, or type /mcp inside a Claude Code session to see its status and tools.
claude mcp list
MCP servers run with your permissions. If mockserver needs an API key, add it under env in the config. Check its README.
Install mockserver in another app
Similar servers
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Codebase intelligence for AI coding agents — graph, git history, docs, decisions, code health.
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
Questions
Does mockserver work in Claude Code?
Yes. Claude Code supports mcp servers (local and remote), skills and plugins, and mockserver installs with the steps above.
mockserver does not show up in Claude Code. What now?
Restart Claude Code fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is mockserver safe?
It scores 100 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
