This page lists all the tools implemented by WireMock Cloud’s MCP server.

Authentication

who_am_i

Returns the username with which you are currently logged into WireMock Cloud Input None Output User ID and username information

Mock API Management

list_my_mock_apis

Lists all mock APIs in WireMock Cloud that you have access to Input None Output List of mock APIs with their IDs and names

search_my_mock_apis

Searches for mock APIs by text query Input query (string): The search query Output List of matching mock APIs

create_mock_api

Creates a new mock API in WireMock Cloud Input name (string, required): The name of the mock API hostname (string, optional): Custom hostname for the mock API Output Confirmation with mock API details

delete_mock_api

Deletes a mock API by its ID Input mockApiId (string): The ID of the mock API to delete Output Confirmation message

clear_mock_api

Deletes all stubs in a specified mock API Input mockApiId (string): The ID of the mock API to clear Output Confirmation message

Stub Management

import_stubs_to_mock_api

Imports a list of stubs to a specific mock API Input mockApiId (string): The ID of the mock API stubsJson (string): WireMock stub mappings in JSON format Output Confirmation message

get_stub_mappings

Fetches all stub mappings for a given Mock API Input mockApiId (string): The ID of the mock API Output JSON containing all stub mappings

update_stub_mapping

Updates a specific stub mapping Input mockApiId (string): The ID of the mock API stubId (string): The ID of the stub mapping to update stubJson (string): The new stub mapping definition in JSON format Output Confirmation message

delete_stub_mapping

Deletes a specific stub mapping Input mockApiId (string): The ID of the mock API stubId (string): The ID of the stub mapping to delete Output Confirmation message

generate_stateful_stub_set

Generates a set of stateful stubs supporting CRUD operations Input mockApiId (string): The ID of the mock API collectionPath (string): The base URL path template for the resource requestJson (string): Example of the request JSON payload resultJson (string): Example of the state created for the resource Output Generated stub mappings