api-mock-generator
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., "@api-mock-generatormock a todo API with users and tasks"
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.
API Mock Generator
Describe your API in English. Get a running mock server. Generate mock API servers instantly from OpenAPI specs or natural language descriptions. MCP-enabled for AI coding agents.
Quick Start
npm install
npm startRelated MCP server: Mockloop MCP
MCP Tools
Tool | Description |
| Generate mock server from OpenAPI 3.x spec |
| Generate mock from natural language (e.g., "todo app with users, todos, auth") |
| Generate TypeScript interfaces |
| Generate fetch-based API client SDK |
| Configure delay, error rates, pagination |
Features
Zero external API dependencies — all data generation is built-in
Contextual fake data — names for name fields, emails for email fields, dates for timestamps
CRUD endpoints — auto-generated list, get, create, update, delete
Pagination — built-in page/limit support on list endpoints
Request logging — GET /_logs to inspect all requests
Error simulation — configurable error rate for resilience testing
Response delay — simulate slow networks
TypeScript types — generate interfaces for all resources
Client SDK — ready-to-use fetch-based API client
Install
npm i @lazymac/api-mock-generatorAs MCP Server
{
"mcpServers": {
"api-mock-generator": {
"command": "node",
"args": ["node_modules/@lazymac/api-mock-generator/src/main.js"]
}
}
}Links
License
MIT
This server cannot be installed
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
Alicense-qualityCmaintenanceA Model Context Protocol server that generates and runs mock API servers from API documentation like OpenAPI/Swagger specs, enabling developers and AI assistants to quickly spin up mock backends for development and testing.Last updated16MIT- -license-quality-maintenanceAn Intelligent Model Context Protocol server that generates mock servers from OpenAPI specifications, featuring advanced logging, performance analytics, and server discovery for AI-assisted API development.Last updated
- AlicenseAqualityCmaintenanceA high-performance, multi-protocol API mock server with 18 built-in MCP tools for managing HTTP, GraphQL, gRPC, WebSocket, MQTT, SSE, and SOAP mocks, chaos engineering, stateful CRUD resources, and request verification.Last updated18132Apache 2.0
- Alicense-qualityAmaintenanceMock Server AI - MCP server providing AI-powered tools and automation by MEOK AI LabsLast updated15MIT
Related MCP Connectors
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
A webhook inbox for agents: one call returns a live URL. Mock, verify, inspect and replay.
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
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/lazymac2x/api-mock-generator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server