mockoon-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MOCKOON_DATA_DIRS | No | Semicolon-separated list of additional directories to search for environment files | |
| MOCKOON_STORAGE_DIR | No | Override the primary storage directory (default: Mockoon Desktop's storage folder) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_environmentsA | List all local Mockoon environment files. Returns the file path for each environment, which can be passed to start_mock. Searches the default storage directory and any extra directories set via MOCKOON_DATA_DIRS. |
| create_environmentB | Create a new Mockoon environment |
| delete_environmentA | Delete a Mockoon environment by UUID. The environment file will be permanently removed from disk. |
| list_routesA | List all routes in a Mockoon environment with their UUIDs, method, endpoint and number of responses. |
| get_routeA | Return full details of a single route including all responses (status codes, labels, rules, headers, body). |
| create_routeA | Create a new HTTP route with a single default response. Use create_route_with_responses to add multiple responses in one call. |
| create_route_with_responsesB | Create a new HTTP route together with all its responses (default + conditionals) in a single call. The first response in the list is treated as the default unless one has isDefault=true. |
| update_routeB | Update a route's method, endpoint, documentation and/or its default response (body, status code, headers). Only provided fields are changed. |
| duplicate_routeA | Clone an existing route (with all its responses) into the same environment. All UUIDs are regenerated. The copy gets '(copy)' appended to its documentation. |
| bulk_create_routesA | Create multiple routes at once. Each item in the array follows the same structure as create_route_with_responses. Ideal for scaffolding an entire API in one call. |
| delete_routeA | Delete a route and all its responses from a Mockoon environment. |
| add_route_responseB | Add a new conditional or alternative response to an existing route. Use rules to define when this response is activated. |
| set_default_responseA | Set an existing response as the default for a route (demotes all other responses). Use get_route to list response UUIDs. |
| get_default_responseA | Return the current default response of a route (status code, headers, body). Use get_route for full details including all responses. |
| list_templatesB | List all databuckets (data templates) in a Mockoon environment |
| create_templateC | Create a new databucket (data template) in a Mockoon environment |
| update_templateD | Update the content of an existing databucket |
| delete_templateB | Delete a databucket from a Mockoon environment |
| start_serverA | Start a Mockoon mock server from a local environment JSON file. Use list_environments to find available file paths. Returns immediately with an error if the server is already running. |
| stop_serverA | Stop a running Mockoon mock server. Returns an error message if no server is running for the given environment. |
| list_running_serversA | List the UUIDs of all Mockoon environments currently running as mock servers. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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