mockoon-mcp
Allows GitHub Copilot to create and manage Mockoon mock APIs through natural language.
Click on "Install 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., "@mockoon-mcpcreate a new environment for a pet store API"
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.
mockoon-mcp
An MCP server that lets AI assistants (Claude, GitHub Copilot, Cursor, etc.) create and manage Mockoon mock APIs through natural language.
Requirements
Node.js 18+
Mockoon Desktop — for managing environment files via the UI
Mockoon CLI (optional) — required only if you want to use the
start_server/stop_servertools to start mock servers programmatically (npm install -g @mockoon/cli)
Related MCP server: Mock Server AI MCP
Configuration
No installation needed. Configure your AI client using npx:
VS Code / GitHub Copilot
Create .vscode/mcp.json in your workspace:
{
"servers": {
"mockoon": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mockoon-mcp@latest"]
}
}
}Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"mockoon": {
"command": "npx",
"args": ["-y", "mockoon-mcp@latest"]
}
}
}Cursor
Edit ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project:
{
"mcpServers": {
"mockoon": {
"command": "npx",
"args": ["-y", "mockoon-mcp@latest"]
}
}
}Environment variables
Variable | Description |
| Override the primary storage directory (default: Mockoon Desktop's storage folder) |
| Semicolon-separated list of additional directories to search for environment files |
Default storage path:
Windows:
%APPDATA%\mockoon\storagemacOS/Linux:
~/.config/mockoon/storage
Example:
"env": {
"MOCKOON_DATA_DIRS": "/path/to/dir1;/path/to/dir2"
}Available Tools
Environments
Tool | Description |
| List all environments with file path and port |
| Create a new environment |
| Permanently delete an environment file |
Routes
Tool | Description |
| List all routes in an environment (UUID, method, endpoint, response count) |
| Inspect a single route with all responses, rules, headers and body |
| Create a route with a single default response |
| Create a route + N responses (default + conditionals) in one call |
| Create N routes in one call — ideal for scaffolding an entire API |
| Update method, endpoint, documentation and/or default response fields |
| Clone a route (all responses included) with new UUIDs |
| Delete a route and all its responses |
| Add a conditional/alternative response to an existing route |
| Change which response is marked as default |
| Return the current default response (quick inspect) |
Databuckets (Templates)
Tool | Description |
| List all databuckets in an environment |
| Create a new databucket |
| Update the content of a databucket |
| Delete a databucket |
Server
Tool | Description |
| Start a mock server for an environment |
| Stop a running mock server |
| List all currently running mock servers |
Note:
start_serverandstop_serverrequire Mockoon CLI to be installed globally (npm install -g @mockoon/cli). If you only use Mockoon Desktop, these tools will not work — but all other tools (environments, routes, databuckets) work without CLI.
Example Prompts
Here are some example phrases you can say to your AI assistant to interact with Mockoon via this MCP server:
Exploring environments and routes
"List all available Mockoon environments."
"Show me all the routes in the Taccuino environment."
"Get the full detail of route
GET /users/:id, including all responses and rules."
Creating routes
"Create a
GET /productsroute in the Demo API environment that returns a JSON array of 3 products with status 200.""Add a
POST /auth/loginroute with two responses: 200 with a token body and 401 Unauthorized.""Scaffold a full CRUD API for a
Taskresource under/tasksin the Demo environment."
Updating and managing routes
"Change the default response of
GET /usersto return status 204 with an empty body.""Duplicate the
GET /ordersroute.""Delete the
DELETE /legacy/endpointroute from the environment.""Add a conditional 403 response to
POST /documentsthat triggers when theX-Roleheader equalsguest."
Databuckets
"Create a databucket called
UserListin the Demo API with a JSON array of 5 fake users.""Update the
ProductCatalogdatabucket with a new list of items."
Server management
"Start the mock server for the Taccuino environment."
"Stop all running mock servers."
"Which Mockoon environments are currently running?"
How It Works
The server communicates via stdio (JSON-RPC 2.0). It reads and writes Mockoon's environment JSON files directly, no REST API involved.
Changes made by the MCP server are reflected in Mockoon Desktop automatically if the Environment file watcher is enabled. Go to Application → Settings and set it to Auto for silent reloads.
License
MIT — see LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables AI assistants to configure and manage session-based REST and WebSocket mock servers for application development and testing. It allows for dynamic endpoint setup, request history inspection, and real-time WebSocket communication through natural language commands.8
- Alicense-qualityAmaintenanceMock Server AI - MCP server providing AI-powered tools and automation by MEOK AI Labs8MIT

RequestBin MCP Serverofficial
AlicenseAqualityDmaintenanceEnables AI coding agents to create webhook bins, inspect and replay HTTP requests, and stand up mock API endpoints directly from the editor.1314MIT- Flicense-qualityDmaintenanceEnables instant creation of mock API servers from OpenAPI specs or natural language descriptions, with built-in fake data generation, CRUD endpoints, and configurable delays/errors for testing.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Albenzoo/Mockoon-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server