Tools implemented by WireMock’s MCP server
who_am_i
list_my_mock_apis
search_my_mock_apis
query
(string): The search query
Output
List of matching mock APIs
create_mock_api
name
(string, required): The name of the mock API
hostname
(string, optional): Custom hostname for the mock API
type
(string, optional): Type of the mock API (e.g., openapi, graphql). Defaults to openapi if not specified.
Output
Confirmation with mock API details
delete_mock_api
mockApiId
(string): The ID of the mock API to delete
Output
Confirmation message
clear_mock_api
mockApiId
(string): The ID of the mock API to clear
Output
Confirmation message
import_stubs_to_mock_api
mockApiId
(string): The ID of the mock API
stubsJson
(string): WireMock stub mappings in JSON format
Output
Confirmation message
get_stub_mappings
mockApiId
(string): The ID of the mock API
page
(integer, optional): Page number for pagination (1-based). If not specified, returns all stubs.
limit
(integer, optional): Maximum number of stubs to return per page. If not specified, returns all stubs.
Output
JSON containing stub mappings
update_stub_mapping
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
mockApiId
(string): The ID of the mock API
stubId
(string): The ID of the stub mapping to delete
Output
Confirmation message
get_openapi
mockApiId
(string): The ID of the mock API to fetch the OpenAPI document from
Output
OpenAPI document content
put_openapi
mockApiId
(string): The ID of the mock API to push the OpenAPI document to
openApiDocument
(string): The OpenAPI document content in YAML or JSON format
Output
Confirmation message
get_graphql
mockApiId
(string): The ID of the mock API to fetch the GraphQL schema from
Output
GraphQL schema document content
put_graphql
mockApiId
(string): The ID of the mock API to push the GraphQL schema to
graphQLDocument
(string): The GraphQL schema document content
Output
Confirmation message
get_request_journal
mockApiId
(string): The ID of the mock API to fetch the request journal from
Output
Request journal data
reset_request_journal
mockApiId
(string): The ID of the mock API to reset the request journal for
Output
Confirmation message
start_recording
baseUrl
(string): The base URL of the target service to record traffic from
destination
(string, optional): The destination to save recorded events to (format: cloud:mock_api_id). If omitted, events will not be persisted.
Output
Recording session details including proxy port
get_recording_status
stop_recording
capture_record_event
request
(object): The HTTP request object to capture
response
(object): The HTTP response object to capture
Output
Confirmation message
list_data_sources
q
(string, optional): A filter for the retrieved items. Only items whose name contains the filter value will be retrieved. The filter is case insensitive.
page
(integer, optional): The index of the page to retrieve.
limit
(integer, optional): The amount of page items to retrieve.
Output
List of data sources with metadata
get_data_source
dataSourceId
(string): The ID of the data source to fetch metadata for
Output
Data source metadata
get_data_source_data
dataSourceId
(string): The ID of the data source to fetch data from
Output
CSV data content
create_data_source
dataSource
(object): The data source configuration object
Output
Created data source details
update_data_source
dataSourceId
(string): The ID of the data source to update
dataSource
(object): The updated data source configuration object
Output
Confirmation message
update_data_source_data
dataSourceId
(string): The ID of the data source to update data for
csvData
(string): The CSV data to upload. Should be properly formatted CSV with headers in the first row and data rows following.
Output
Confirmation message
delete_data_source
dataSourceId
(string): The ID of the data source to delete
Output
Confirmation message
make_http_request
method
(string): The HTTP request method (e.g., GET, POST, PUT, DELETE)
absoluteUrl
(string): The full URL to make the request to
headers
(object, optional): HTTP headers as key-value pairs
body
(string, optional): Request body content
bodyAsBase64
(string, optional): Base64 encoded body content
Output
HTTP response including status, headers, and body
look_up_documentation
document
(string): The documentation article to retrieve (enum values: stub_creation, stateful_stubbing, api_crawling, data_driven_stubbing, validating_and_fixing)
Output
Documentation article content