About
Overview
The API Mock MCP Server enables AI agents to create mock API endpoints. It provides tools for defining routes, setting response data, and simulating API behavior for testing.
Capabilities
Tools & Capabilities
⚡create_mock
Create a mock API endpoint
⚡list_mocks
List active mock endpoints
⚡set_response
Set the mock response data
Setup
Installation
bash
Install
npx -y mcp-server-api-mockExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"api-mock": {
"command": "npx",
"args": ["-y", "mcp-server-api-mock"]
}
}
}Quick Info
Authorcommunity
LanguageTypeScript
StatusStable
Stars★ 30
Last UpdatedFeb 12, 2026