API Mock MCP Server

Stableother
30 starsTypeScriptcommunity
GitHub
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-mock
Examples

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

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.

API Mock MCP Server - MCP Server Directory - CortexAgent