microcks-mcp
v1.0.0MCP server for Microcks: services, import job MCP: real tools for real work.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_services
List the APIs and services mocked by this Microcks instance, newest first. Optional filters: name and labels (comma-separated key=value pairs).
| Parameter | Type | Description |
|---|---|---|
labels | string | Filter by labels, e.g. "domain=payments,status=stable". |
name | string | Filter by service name (substring match). |
search_services
Search Microcks services by name. Use this when you only know part of the name.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name or partial name to search for. |
count_services
Count the services registered in Microcks.
list_service_labels
List every label key already used by services in Microcks.
get_service
Get one Microcks service by its id, including type, version and labels.
| Parameter | Type | Description |
|---|---|---|
id * | string | Microcks service id (a UUID). |
delete_service
Delete a service from Microcks. Destructive: the mock endpoints for this service stop working.
| Parameter | Type | Description |
|---|---|---|
id * | string | Microcks service id to delete. |
update_service_metadata
Replace the metadata of a service (labels, annotations and similar key/value data).
| Parameter | Type | Description |
|---|---|---|
id * | string | Microcks service id. |
metadata * | object | Metadata object to store on the service. |
list_jobs
List the import jobs that pull API definitions from Git repositories into Microcks.
create_job
Create an import job that regularly imports API artifacts from a Git repository.
| Parameter | Type | Description |
|---|---|---|
name * | string | Human-readable job name. |
repository * | string | Git repository URL. |
active | boolean | Whether the job runs on schedule. |
branch | string | Branch to import, default 'main'. |
frequency | string | Cron-like import frequency, e.g. '0 0 * * *'. |
get_job
Get one import job by id, including its last execution status.
| Parameter | Type | Description |
|---|---|---|
id * | string | Import job id. |
update_job
Update an import job. Microcks uses POST (not PUT) for job updates.
| Parameter | Type | Description |
|---|---|---|
id * | string | Import job id. |
job * | object | Full job object with the fields to change. |
delete_job
Delete an import job. Destructive: the job stops importing artifacts.
| Parameter | Type | Description |
|---|---|---|
id * | string | Import job id to delete. |
activate_job
Activate an import job so it runs on its schedule.
| Parameter | Type | Description |
|---|---|---|
id * | string | Import job id. |
start_job
Start an import job immediately, outside its schedule.
| Parameter | Type | Description |
|---|---|---|
id * | string | Import job id. |
stop_job
Stop an import job so it no longer runs.
| Parameter | Type | Description |
|---|---|---|
id * | string | Import job id. |
create_test
Run a conformance test against a deployed endpoint for one Microcks service.
| Parameter | Type | Description |
|---|---|---|
serviceId * | string | Microcks service id to test. |
testEndpoint * | string | Base URL of the deployed API to test against. |
timeout | integer | Test timeout in milliseconds. |
list_test_results
List the conformance test results recorded for a service.
| Parameter | Type | Description |
|---|---|---|
serviceId * | string | Microcks service id. |
count_test_results
Count how many conformance tests have been recorded for a service.
| Parameter | Type | Description |
|---|---|---|
serviceId * | string | Microcks service id. |
latest_test_results
Show the most recent conformance test results across every service.
list_secrets
List the secrets stored in Microcks (names only, never values).
create_secret
Create a secret that import jobs and tests can reference.
| Parameter | Type | Description |
|---|---|---|
name * | string | Secret name. |
value * | string | Secret value. |
description | string | Optional description. |
update_secret
Replace the value of an existing Microcks secret.
| Parameter | Type | Description |
|---|---|---|
id * | string | Secret id. |
value * | string | New secret value. |
description | string | Optional new description. |
delete_secret
Delete a Microcks secret. Destructive: anything referencing it will fail.
| Parameter | Type | Description |
|---|---|---|
id * | string | Secret id to delete. |
get_conformance_aggregate
Read the aggregate conformance metrics for the whole Microcks instance.
get_service_conformance
Read conformance metrics for one service.
| Parameter | Type | Description |
|---|---|---|
serviceId * | string | Microcks service id. |
get_global_invocations
Read aggregated invocation statistics for a given day.
| Parameter | Type | Description |
|---|---|---|
day | integer | Day as a Unix timestamp (seconds). |
get_latest_global_invocations
Read invocation statistics for the most recent days.
get_top_invocations
List the most-invoked services for a day.
| Parameter | Type | Description |
|---|---|---|
day | integer | Day as a Unix timestamp (seconds). |
limit | integer | Maximum number of services to return. |
get_service_invocations
Read invocation statistics for one service name and version.
| Parameter | Type | Description |
|---|---|---|
serviceName * | string | Service name. |
serviceVersion * | string | Service version. |
list_resources
Fetch a stored artifact by name (openapi.yaml, postman.json, …) exactly as Microcks serves it.
| Parameter | Type | Description |
|---|---|---|
name * | string | Resource file name, e.g. 'openapi.yaml'. |
list_service_resources
List the artifact resources attached to one service.
| Parameter | Type | Description |
|---|---|---|
serviceId * | string | Microcks service id. |
export_snapshot
Export the whole Microcks repository as a YAML snapshot.
import_snapshot
Import a Microcks snapshot. Pass the YAML/JSON document itself, not a file path.
| Parameter | Type | Description |
|---|---|---|
snapshot * | string | Snapshot content (YAML or JSON) to import. |
get_features_config
Read which optional Microcks features are enabled (async, AI copilot, …).