microcks-mcp

v1.0.0
io.github.mrfentmen/microcks-mcp Checked 13 hours ago Published 24 days ago

MCP 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).

ParameterTypeDescription
labelsstringFilter by labels, e.g. "domain=payments,status=stable".
namestringFilter by service name (substring match).

search_services

Search Microcks services by name. Use this when you only know part of the name.

ParameterTypeDescription
name *stringName 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.

ParameterTypeDescription
id *stringMicrocks service id (a UUID).

delete_service

Delete a service from Microcks. Destructive: the mock endpoints for this service stop working.

ParameterTypeDescription
id *stringMicrocks service id to delete.

update_service_metadata

Replace the metadata of a service (labels, annotations and similar key/value data).

ParameterTypeDescription
id *stringMicrocks service id.
metadata *objectMetadata 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.

ParameterTypeDescription
name *stringHuman-readable job name.
repository *stringGit repository URL.
activebooleanWhether the job runs on schedule.
branchstringBranch to import, default 'main'.
frequencystringCron-like import frequency, e.g. '0 0 * * *'.

get_job

Get one import job by id, including its last execution status.

ParameterTypeDescription
id *stringImport job id.

update_job

Update an import job. Microcks uses POST (not PUT) for job updates.

ParameterTypeDescription
id *stringImport job id.
job *objectFull job object with the fields to change.

delete_job

Delete an import job. Destructive: the job stops importing artifacts.

ParameterTypeDescription
id *stringImport job id to delete.

activate_job

Activate an import job so it runs on its schedule.

ParameterTypeDescription
id *stringImport job id.

start_job

Start an import job immediately, outside its schedule.

ParameterTypeDescription
id *stringImport job id.

stop_job

Stop an import job so it no longer runs.

ParameterTypeDescription
id *stringImport job id.

create_test

Run a conformance test against a deployed endpoint for one Microcks service.

ParameterTypeDescription
serviceId *stringMicrocks service id to test.
testEndpoint *stringBase URL of the deployed API to test against.
timeoutintegerTest timeout in milliseconds.

list_test_results

List the conformance test results recorded for a service.

ParameterTypeDescription
serviceId *stringMicrocks service id.

count_test_results

Count how many conformance tests have been recorded for a service.

ParameterTypeDescription
serviceId *stringMicrocks 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.

ParameterTypeDescription
name *stringSecret name.
value *stringSecret value.
descriptionstringOptional description.

update_secret

Replace the value of an existing Microcks secret.

ParameterTypeDescription
id *stringSecret id.
value *stringNew secret value.
descriptionstringOptional new description.

delete_secret

Delete a Microcks secret. Destructive: anything referencing it will fail.

ParameterTypeDescription
id *stringSecret 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.

ParameterTypeDescription
serviceId *stringMicrocks service id.

get_global_invocations

Read aggregated invocation statistics for a given day.

ParameterTypeDescription
dayintegerDay 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.

ParameterTypeDescription
dayintegerDay as a Unix timestamp (seconds).
limitintegerMaximum number of services to return.

get_service_invocations

Read invocation statistics for one service name and version.

ParameterTypeDescription
serviceName *stringService name.
serviceVersion *stringService version.

list_resources

Fetch a stored artifact by name (openapi.yaml, postman.json, …) exactly as Microcks serves it.

ParameterTypeDescription
name *stringResource file name, e.g. 'openapi.yaml'.

list_service_resources

List the artifact resources attached to one service.

ParameterTypeDescription
serviceId *stringMicrocks 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.

ParameterTypeDescription
snapshot *stringSnapshot content (YAML or JSON) to import.

get_features_config

Read which optional Microcks features are enabled (async, AI copilot, …).