APIMock MCP Server
Click on "Deploy 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., "@APIMock MCP Serverscaffold a backend for a blog with posts, comments, and users"
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.
APIMock provides hosted mock REST APIs with custom subdomains ({slug}.apimock.dev), stateful CRUD collections, response variants, OpenAPI import, and fault simulation.
This repository holds the Model Context Protocol (MCP) manifest and client guides for connecting Claude, Cursor, Cline, Windsurf, and other AI coding agents directly to APIMock.
Remote MCP Endpoint:
https://app.apimock.dev/api/mcp(Streamable HTTP)Authentication: OAuth 2.0 (native in Claude.ai) or Bearer Personal Access Token (
am_pat_...)Official Registry Identifier:
dev.apimock/apimock
Quick Client Configurations
1. Claude.ai (Custom Connector)
Claude.ai natively connects to APIMock using OAuth 2.0:
Open Claude.ai → Settings → Connected apps.
Click Add custom connector.
Name:
APIMockServer URL:
https://app.apimock.dev/api/mcpClick Connect and authorize your APIMock workspace.
2. Cursor IDE
Add APIMock to your Cursor Settings (Features → MCP) or create .cursor/mcp.json in your project:
{
"mcpServers": {
"apimock": {
"url": "https://app.apimock.dev/api/mcp",
"headers": {
"Authorization": "Bearer am_pat_YOUR_TOKEN"
}
}
}
}Tip: Generate a Personal Access Token (
am_pat_...) under Settings → API Tokens on APIMock.
3. Claude Desktop
Add APIMock to your claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"apimock": {
"url": "https://app.apimock.dev/api/mcp",
"headers": {
"Authorization": "Bearer am_pat_YOUR_TOKEN"
}
}
}
}4. Cline / Roo Code (VS Code Extension)
Open Cline or Roo Code settings in VS Code.
Under MCP Servers, add a new server:
Name:
apimockType:
streamable-http(orsse)URL:
https://app.apimock.dev/api/mcpHeaders:
Authorization: Bearer am_pat_YOUR_TOKEN
5. Windsurf (Codeium)
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"apimock": {
"serverUrl": "https://app.apimock.dev/api/mcp",
"headers": {
"Authorization": "Bearer am_pat_YOUR_TOKEN"
}
}
}
}Related MCP server: fetchsandbox-mcp
Available MCP Tools
APIMock exposes 20 tools across building, debugging, and testing mock backends:
Building & Mock Generation
Tool | Description |
| Generate an entire backend with multiple persistent CRUD resources, relationships, and seed data in one prompt. |
| Declare a persistent CRUD collection (generates |
| Create a standalone mock route with static or templated JSON response. |
| Import an OpenAPI / Swagger document to generate mocks and schemas in place. |
| Inspect configured endpoints within a workspace. |
| Modify responses, headers, status codes, or delete endpoints. |
| List all workspaces accessible by the authenticated token or OAuth user. |
| Organize endpoints into logical folders. |
Debugging & Self-Healing
Tool | Description |
| Inspect recent 404s or failed calls sent to your mock subdomain. |
| Automatically patch or create a mock endpoint to match what your client actually sent. |
| Test how APIMock would route and respond to an incoming request without sending external network traffic. |
Fault Injection & Chaos Testing
Tool | Description |
| Inject latency, 5xx server errors, or corrupted payloads by route pattern or probability. |
| View active fault rules on a workspace. |
| Remove all active faults when testing completes. |
MCP Resources
The server exposes read-only live contracts for your agent:
workspace://{slug}/openapi.json— The OpenAPI 3.1 specification generated for your workspace.workspace://{slug}/types.d.ts— TypeScript type definitions generated from your resources and endpoints.
Limits & Free Tier
50,000 mock requests/month per workspace.
Up to 3 workspaces per user account with team sharing.
100% Free — no credit card required.
Links & Community
Website: https://apimock.dev
MCP Documentation: https://apimock.dev/docs/mcp
Quickstart Guide: https://apimock.dev/docs/quickstart
Privacy Policy: https://apimock.dev/privacy
Terms of Service: https://apimock.dev/terms
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Build, debug and break hosted mock APIs from Claude: endpoints, stateful CRUD data, OpenAPI import, response variants and fault injection.
AI-callable tools for API mocking, testing, monitoring, security, and automation.
AI-native mock API server with MCP. Create REST/SOAP mocks from Claude, Cursor, or Windsurf.
Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
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-

fetchsandbox-mcpofficial
AlicenseAqualityAmaintenanceA deterministic eval engine for coding agents. Your agent claims it fixed the bug—this checks it. The same scenario runs twice against a sandbox of the services your code calls, with failures injected on purpose. It must fail on the old code and pass on the new. The verdict is an exit code, not a model's opinion. Every run leaves a receipt.191,384 npm1MIT
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.139 npmMIT- FlicenseNot gradedqualityDmaintenanceEnables 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.-