This guide walks you through configuring the MCP (Model Context Protocol) server necessary to natively use WireMock Cloud from an MCP-compatible AI tool such as Cursor or Claude Desktop. This enables automatic API discovery, mocking and test abstraction from any codebase as part of prompt-driven development with your chosen AI tool. Additionally, it enables you to skip the complexity of building out new services early on - which can hamper the rapid development by introducing more failure points - and instead use simulated APIs on WireMock to prototype new capabilities with less system overhead. Note that while this article documents use with Cursor, Claude Desktop and VSCode specifically, WireMock Cloud’s MCP server will work with any AI-powered tool that supports MCP.Documentation Index
Fetch the complete documentation index at: https://docs.wiremock.io/llms.txt
Use this file to discover all available pages before exploring further.
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 6: Confirm Your Setup
To confirm everything is working correctly, check that you’re logged in to WireMock Cloud by running the following prompt:





