AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Dev Tooling/
mockserver-monorepo
mockserver-monorepo logo

mockserver-monorepo

Active·★ 5.0k·Apache-2.0·Updated 2026-10-22
★ Essential★ Trending

MockServer is an HTTP(S) mock server and proxy for testing that does three things: mock the APIs your application depends on, proxy real traffic to record, inspect and modify it (including pausing at interactive proxy breakpoints, like a debugger for network calls), and inject chaos such as latency, dropped connections and errors to test how your application copes. One port handles HTTP/1.1, HTTPS, HTTP/2, gRPC and gRPC-Web, WebSockets and raw TCP, detected automatically from the first bytes of each connection.

Features include matching requests on method, path, query, headers, cookies and body (JSON, XML, JSONPath, XPath, regex or OpenAPI), response templating (Velocity, Mustache, JavaScript), generating expectations from an OpenAPI specification, verifying which requests arrived and in what order, mocking of Kafka and MQTT message brokers, and a live dashboard. For AI work it can mock chat-completion APIs for OpenAI, Anthropic, Gemini, Bedrock, Azure OpenAI and Ollama including streaming, and includes a built-in MCP server for AI coding assistants. Clients exist for Java, JavaScript, Python and Ruby with JUnit and Spring support, and it runs from Docker, Helm, JAR or WAR. It is Apache-2.0 licensed.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-17.

License
Apache-2.0
Latest release
mockserver-9.0.0 · 2026-10-15
Last commit
2026-10-17
Contributors
142
Forks
1,117
Open issues and PRs
0
First published
2013-02-26

Source: GitHub, npm and PyPI public APIs.

#API mocking#Proxy#HTTP/S#gRPC#Chaos engineering#Testing#Docker#Kubernetes
$ Install
$ docker run -d --rm -p 1080:1080 mockserver/mockserver
↗ Visit site★ GitHub
01

Features

01Mock any API including HTTP/1.1, HTTPS, HTTP/2, HTTP/3, gRPC, WebSockets, and message brokers.
02Act as a port forwarding, web, HTTPS, and SOCKS proxy with full visibility of encrypted traffic.
03Inject latency, dropped connections, and failures to test system resilience against misbehaving dependencies.
04Mock chat-completion APIs for major AI platforms like OpenAI, Anthropic, Gemini, and Azure OpenAI.
05Deploy seamlessly across Docker, Helm/Kubernetes, JAR, WAR, or as a standalone CLI application.
02

Why choose it

+Mocks, proxies and records HTTP(S), HTTP/2, gRPC, WebSockets, raw TCP and message brokers (Kafka, MQTT) from one port.
+Can mock LLM chat-completion APIs (OpenAI, Anthropic, Gemini, Bedrock, Azure OpenAI, Ollama) including streaming, which helps test AI features without paying for calls.
+Interactive proxy breakpoints, chaos injection, request verification and a live dashboard.
+Clients for Java, JavaScript, Python and Ruby, JUnit and Spring support, and Docker, Helm, JAR or WAR deployment; Apache-2.0 licensed.
03

Trade-offs

!It is a general testing tool; the AI mocking and MCP server are additions, so it is not an AI-specific product.
!It has a large feature surface (multiple protocols, templating engines, clustering), which means a learning curve for full use.
!The Java-based server needs a JVM or Docker to run.
04

Maintenance check

ActiveChecked: 2026-10-17
Last commit
2026-10-17
Commits, last 90 days
100+
Releases, last 90 days
4
Latest release
mockserver-9.0.0 (2026-10-15)
Open issues
0
Recent issues with at least one comment
2/2
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 81, 22, 13, 102, 41, 27, 42, 176, 273, 256, 280, 236

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

05

Compatibility

Java
Runtime
Verified via docs
Docker
Deployment
Verified via docs
Kubernetes
Orchestration
Verified via docs
Python
Client
Verified via docs
Node.js
Client
Verified via docs
Linux / macOS
OS
Verified via docs
06

Quick start

1
$ docker run -d --rm -p 1080:1080 mockserver/mockserver
07

Use cases

↳Develop and test applications even when dependent systems are unavailable, incomplete, or hard to reproduce.
↳Proxy real traffic to record, inspect, and modify requests and responses in flight with interactive breakpoints.
↳Perform chaos engineering by injecting latency, dropped connections, and errors to evaluate how applications handle dependency failures.
08

Alternatives

⚡Top VS:
VSkubefwd★4.2k→VSskillhub★5.3k→VSmetamcp★2.7k→VSvexa★2.9k→
kubefwd logo
kubefwd★ 4.2k
Bulk port forwarding Kubernetes services for local development.
VSCompare→
skillhub logo
skillhub★ 5.3k
Self-hosted, open-source agent skill registry for enterprises. Publish & version skill packages, govern with RBAC and audit logs, deploy on-premise with Docker or Kubernetes.
VSCompare→
metamcp logo
metamcp★ 2.7k
MCP Aggregator, Orchestrator, Middleware, Gateway in one docker
VSCompare→
vexa logo
vexa★ 2.9k
Open-source meeting transcription API for Google Meet, Microsoft Teams & Zoom. Auto-join bots, real-time WebSocket transcripts, MCP server for AI agents. Self-host or use hosted SaaS.
VSCompare→
docker-android logo
docker-android★ 16.0k
Android in docker solution with noVNC supported, video recording, mcp server and AI-agent
VSCompare→
inspector logo
inspector★ 11.1k
Visual testing tool for MCP servers
VSCompare→
whodb logo
whodb★ 5.0k
Where data access meets operational intelligence
VSCompare→
better-agents logo
better-agents★ 1.6k
Standards for building agents, better
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Compatibility06Quick start07Use cases08Alternatives
mock-server /
mockserver-monorepo
↗

HTTP(S), gRPC and WebSocket mock server and proxy, now with LLM API mocking and MCP

5.0k1.1kApache-2.0
Last commitToday
StatusActive
CategoryDev Tooling
Contributors142
Latest releasemockserver-9.0.0
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.