Most users should install the WireMock Cloud agent skills plugin instead - it bundles this same MCP server connection alongside expert guidance for your agent, with no separate setup step. Use this page if you want the MCP server on its own, without the skills plugin.
Choosing a server
WireMock Cloud offers two ways to connect an AI tool via MCP:- Remote server (recommended) - a hosted HTTP server at
https://mcp.wiremock.cloud/mcp. No local installation is required; your AI tool authenticates with your WireMock Cloud account via an OAuth sign-in in your browser the first time it connects. - Local server - a stdio server launched on your machine by the WireMock CLI (
wiremock mcp). Choose this if you need HTTP request authentication with locally stored credentials, or if your network can’t reachmcp.wiremock.clouddirectly.
Option 1: Remote server (recommended)
No prerequisites beyond an existing WireMock Cloud account - if you don’t have one, the OAuth step below will guide you through creating one.- Cursor
- VSCode + GitHub Copilot
- Claude Code
- Claude Desktop
- Windsurf
Click this button to install with Cursor:
Or, follow these instructions:If logged in, you’ll see your account details rather than being prompted to sign in.
Or, follow these instructions:- Open Settings->Cursor settings.
- Navigate to Tools & Integrations.
- Click New MCP Server. This opens
mcp.json. - Add the WireMock server:
- Save the file. Cursor will show a “needs authentication” indicator next to the server - click Connect to complete an OAuth sign-in in your browser.
Step 2: Confirm your setup
To confirm everything is working correctly, check that you’re logged in to WireMock Cloud by running the following prompt:Option 2: Local server
Prerequisites
- Node.js 18+ (to install the CLI)
- An existing WireMock Cloud account (if you don’t have one, you can sign up during the login step)
Step 1: Install the WireMock CLI
Install the CLI globally using npm:Step 2: Log in to WireMock Cloud
If you already have a WireMock Cloud account, simply log in. Otherwise, the login process will guide you through creating an account:Step 3: Configure your AI tool
- Cursor
- VSCode + GitHub Copilot
- Claude Code
- Claude Desktop
- Windsurf
Click this button to install with Cursor:
Or, follow these instructions:

If you have an existing real API integration, you can replace it with a WireMock stub. Generate the mock from documentation, source code, or other external description formats. This enables you to test your app in isolation without depending on live services.If logged in, you’ll see your account details rather than being prompted to sign in.
Or, follow these instructions:- Open Settings->Cursor settings.
- Navigate to MCP.
- Click Add new MCP server.
- In the dialog, configure your server to run this command:

- Verify Installation by looking for the green status dot next to the MCP server and the list of tool names.

Step 4: Confirm your setup
To confirm everything is working correctly, check that you’re logged in to WireMock Cloud by running the following prompt:





