[](https://github.com/mock-server/mockserver-monorepo/stargazers)

May 11, 2026 · View on GitHub

MockServer            Build status GitHub license GitHub stars

Quick Start

Run MockServer with Docker in seconds:

docker run -d --rm -p 1080:1080 mockserver/mockserver

For more configuration options see the Docker documentation.

Documentation

For usage guide please see: www.mock-server.com

Developer Documentation

Architecture, code structure, infrastructure, and operations documentation is available in the docs/ directory.

AI Integration

MockServer includes a built-in MCP server for AI coding assistant integration at /mockserver/mcp. See llms.txt and AI Integration docs.

Change Log

Please see: Change Log

Community

Discussions GitHub Discussions
Feature Requests GitHub Issues
Issues / Bugs GitHub Issues
Roadmap GitHub Project
Security Security Policy

Requirements

MockServer requires Java 11+. Java 11 is the minimum supported version to maximise compatibility — approximately 23% of Java projects still run on Java 11.

Security Note: MockServer is a development and testing tool only. See SECURITY.md for important security considerations.

Versions

Maven Central mockserver

Maven Central contains the following MockServer artifacts:

  • mockserver-netty-no-dependencies - an HTTP(S) web server that mocks and records requests and responses, with all dependencies bundled and relocated — zero transitive dependencies (recommended)
  • mockserver-netty - as above but with transitive dependencies declared in the POM
  • mockserver-war - a deployable WAR for mocking HTTP(S) responses (for any JEE web server)
  • mockserver-proxy-war - a deployable WAR that records requests and responses (for any JEE web server)
  • mockserver-maven-plugin - a maven plugin to start, stop and fork MockServer using maven
  • mockserver-client-java-no-dependencies - a Java client to communicate with both the server and the proxy, with all dependencies bundled and relocated — zero transitive dependencies (recommended)
  • mockserver-client-java - as above but with transitive dependencies declared in the POM

Tip: The -no-dependencies artifacts bundle all dependencies into a single JAR with relocated packages, so they declare zero transitive dependencies. This avoids classpath conflicts and eliminates CVE scanning noise from unused transitive dependencies. See the Maven Central page for all artifact variants.

In addition MockServer SNAPSHOT artifacts can also be found on Sonatype.

Node Module & Grunt Plugin

NPM Registry contains the following module:

Docker Hub

Docker Hub contains the following artifacts:

Helm Chart
MockServer Clients
Community Tools
Previous Versions
VersionDateGit & Docker Tag / Git HashDocumentationJava APIREST API
5.15.0 (latest)11 Jan 2023mockserver-5.15.0 / 7c071bDocumentationJava API5.15.x REST API
5.14.022 Aug 2022mockserver-5.14.0 / 808ebaDocumentationJava API5.14.x REST API
5.13.205 Apr 2022mockserver-5.13.2 / 81105bDocumentationJava API5.13.x REST API
5.13.102 Apr 2022mockserver-5.13.1 / 39d1ccDocumentationJava API5.13.x REST API
5.13.017 Mar 2022mockserver-5.13.0 / 604888DocumentationJava API5.13.x REST API
5.12.012 Feb 2022mockserver-5.12.0 / 61747fDocumentationJava API5.12.x REST API
5.11.208 Nov 2020mockserver-5.11.2 / eb84f2DocumentationJava API5.11.x REST API
5.11.122 Jul 2020mockserver-5.11.1 / 361e5cDocumentationJava API5.11.x REST API
5.11.008 Jul 2020mockserver-5.11.0 / 756758DocumentationJava API5.11.x REST API
5.10.024 Mar 2020mockserver-5.10.0 / 14124dDocumentationJava API5.10.x REST API
5.9.001 Feb 2020mockserver-5.9.0 / eacf07DocumentationJava API5.9.x REST API
5.8.123 Dec 2019mockserver-5.8.1 / f0e9abDocumentationJava API5.8.x REST API
5.8.001 Dec 2019mockserver-5.8.0 / 7c9fc5DocumentationJava API5.8.x REST API
5.7.216 Nov 2019mockserver-5.7.2 / 7c9fc5DocumentationJava API5.7.x REST API
5.7.109 Nov 2019mockserver-5.7.1 / 0ca353DocumentationJava API5.7.x REST API
5.7.001 Nov 2019mockserver-5.7.0 / b58bc5DocumentationJava API5.7.x REST API
5.6.121 Jul 2019mockserver-5.6.1 / aec1fbDocumentationJava API5.6.x REST API
5.6.021 Jun 2019mockserver-5.6.0 / 8f82dcDocumentationJava API5.6.x REST API
5.5.426 Apr 2019mockserver-5.5.4 / 4ffd31DocumentationJava API5.5.x REST API
5.5.129 Dec 2018mockserver-5.5.1 / 11d8a9DocumentationJava API5.5.x REST API
5.5.015 Nov 2018mockserver-5.5.0 / 06e6fdDocumentationJava API5.5.x REST API

Issues

If you have any problems, please check the project issues and avoid opening issues that have already been fixed. When you open an issue please provide the following information:

  • MockServer version (i.e. 5.15.0)
  • How your running the MockServer (i.e maven plugin, docker, etc)
  • MockServer log output, at INFO level (or higher)
  • What the error is
  • What you are trying to do

Contributions

Pull requests are, of course, very welcome! Please read our contributing to the project guide first. Then head over to the open issues to see what we need help with. Make sure you let us know if you intend to work on something. Also check out the project roadmap to see what is already in the backlog.

Feature Requests

Feature requests are submitted to GitHub issues and tracked on the project roadmap.

Maintainers