> ## 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.

# WireMock Cloud AI

> API simulation tools for AI-assisted development workflows

WireMock Cloud provides API simulation capabilities that integrate with AI development tools through the Model Context Protocol (MCP). This enables AI assistants to create, manage, and test against mock APIs directly within your development environment.

## Key Capabilities

**API Simulation**\
Create mock APIs from existing code, OpenAPI specifications, or natural language descriptions using AI assistance.

**Codebase Integration**\
Generate mocks that reflect your existing API patterns and data structures by analyzing your codebase.

**Testing with AI Agents**\
Allow AI coding assistants to validate generated code by testing against realistic mock responses.

**Independent Development**\
Work on features that depend on APIs still in development by creating temporary mock implementations.

## Installation

Install the WireMock CLI and configure your AI tool:

1. Install the CLI: `npm i -g @wiremock/cli`
2. Log in: `wiremock login`
3. Configure MCP integration

[**View Full Installation Guide →**](/ai-mcp/installation)

## Supported Tools

WireMock integrates with AI development environments via the Model Context Protocol:

<div style={{display: 'flex', gap: '16px', alignItems: 'center', margin: '15px 0', flexWrap: 'wrap'}}>
  <div style={{display: 'flex', alignItems: 'center', gap: '6px'}}>
    <img src="https://cursor.com/brand/icon.svg" alt="Cursor" style={{width: '16px', height: '16px', objectFit: 'contain', pointerEvents: 'none'}} />

    <span style={{fontSize: '14px'}}>Cursor</span>
  </div>

  <div style={{display: 'flex', alignItems: 'center', gap: '6px'}}>
    <img src="https://code.visualstudio.com/assets/images/code-stable.png" alt="VS Code" style={{width: '16px', height: '16px', objectFit: 'contain', pointerEvents: 'none'}} />

    <span style={{fontSize: '14px'}}>VS Code</span>
  </div>

  <div style={{display: 'flex', alignItems: 'center', gap: '6px'}}>
    <div style={{width: '16px', height: '16px', backgroundColor: '#D97706', borderRadius: '50%', display: 'flex', alignItems: 'center', justifyContent: 'center', color: 'white', fontWeight: 'bold', fontSize: '10px', flexShrink: 0}}>C</div>
    <span style={{fontSize: '14px'}}>Claude</span>
  </div>

  <div style={{display: 'flex', alignItems: 'center', gap: '6px'}}>
    <img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub" style={{width: '16px', height: '16px', objectFit: 'contain', pointerEvents: 'none'}} />

    <span style={{fontSize: '14px'}}>Copilot</span>
  </div>
</div>

Compatible with: Cursor, VS Code, Claude Code, Claude Desktop, GitHub Copilot, Augment, Windsurf, and other MCP-compatible tools.

[**View All Available Tools →**](/ai-mcp/mcp-tools)

## Use Cases

<div style={{display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(300px, 1fr))', gap: '24px', margin: '20px 0'}}>
  <div>
    <h3>Creating Stateful Mock APIs</h3>
    <p>Transform static mock APIs into dynamic, stateful versions that maintain state between requests. AI assists in validating mock behavior as it evolves, enabling realistic simulation of complex API interactions and multi-step workflows.</p>
    <p><a href="https://www.youtube.com/watch?v=lS7Ytj2GkUo" target="_blank" rel="noopener noreferrer">📺 Watch: Converting Static APIs to Dynamic</a></p>
  </div>

  <div>
    <h3>API Discovery and Documentation</h3>
    <p>Use AI to explore and document undocumented APIs by automatically discovering endpoints, analyzing responses, and generating comprehensive documentation. This is especially valuable when working with legacy systems or third-party APIs.</p>
    <p><a href="https://www.youtube.com/watch?v=ogK6_7FYxv0" target="_blank" rel="noopener noreferrer">📺 Watch: AI-Powered API Exploration</a></p>
  </div>

  <div>
    <h3>Mock Drift Detection</h3>
    <p>Detect and resolve discrepancies between mock APIs and their OpenAPI specifications using AI assistance. Automatically identify when mocks drift from intended behavior and update them to maintain consistency with API contracts.</p>
    <p><a href="https://www.youtube.com/watch?v=kvDyXbKBJDE" target="_blank" rel="noopener noreferrer">📺 Watch: Resolving Mock Drift</a></p>
  </div>

  <div>
    <h3>GraphQL API Behavior Definition</h3>
    <p>Prototype a GraphQL API schema, instantly simulate it then refine its data and improve realism.</p>
    <p><a href="https://www.youtube.com/watch?v=e8fI4ZjYwVM" target="_blank" rel="noopener noreferrer">📺 Watch: GraphQL API with AI</a></p>
  </div>

  <div>
    <h3>API Dependency Isolation</h3>
    <p>Generate mock endpoints for your application's API dependencies and swap real APIs for mocks during development and testing. This enables isolated development without external service dependencies, improving reliability and reducing development costs.</p>
    <p><a href="https://www.youtube.com/watch?v=JHcbFhFbBCY" target="_blank" rel="noopener noreferrer">📺 Watch: Swapping APIs for Mocks</a></p>
  </div>

  <div>
    <h3>AI-Driven API Prototyping</h3>
    <p>Leverage AI agents to prototype APIs that don't yet exist, allowing teams to develop against future services before backend implementation. Create realistic endpoint behaviors and response patterns to unblock frontend development and testing workflows.</p>
    <p><a href="https://www.youtube.com/watch?v=usBZNA4Zc7c" target="_blank" rel="noopener noreferrer">📺 Watch: API Prototyping with AI</a></p>
  </div>

  <div>
    <h3>Authenticated HTTP Requests</h3>
    <p>Configure automatic authentication for AI-driven HTTP requests without exposing credentials to the language model. Set up domain-based authentication with OAuth, API keys, or custom headers to enable secure API exploration and testing workflows.</p>
    <p><a href="/ai-mcp/http-request-authentication">🔐 Learn: HTTP Request Authentication</a></p>
  </div>
</div>

## Webinars

<div style={{display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(300px, 1fr))', gap: '20px', margin: '20px 0'}}>
  <div>
    <iframe width="100%" height="200" src="https://www.youtube.com/embed/W8nrLA7RXK4" title="WireMock AI Webinar" style={{border: 'none'}} allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />
  </div>

  <div>
    <iframe width="100%" height="200" src="https://www.youtube.com/embed/3gK1yi7SeGM" title="WireMock AI Deep Dive" style={{border: 'none'}} allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />
  </div>
</div>
