Skip to content

Tool catalog

Every tool the MCP server registers. read tools never change anything. write tools change platform state, and ⚠️ write marks tools that can replace or remove it. The guard after the access level says how a write is applied: confirm returns a dry-run preview until called with confirm: true; preview token needs the single-use token returned by the matching preview_* tool; immediate acts on the first call, so confirm intent with the user first. Production environments add their own checks; see the safety model. A ? marks an optional input.

Identity and organization

Start here to confirm access and discover environments.

Tool Access Inputs Summary
whoami read — Returns the currently authenticated Anypoint Platform user, their username, email, organization name, and org ID, plus the user-level production pre-approvals and unmarked-artifact allowances for this organization.
list_environments read — Lists all Anypoint environments in the organization (e.g. Development, Sandbox, Production).
get_entitlements read — Returns the platform features and capacity licensed for this organization: vCore allocations (production/sandbox/design), Anypoint MQ quotas, Object Store limits, API Manager, monitoring, Runtime Fabric, autoscaling, alerts, and subscription type/expiration.

Project profile and production policy

Bind a workspace to a named credential profile, and manage user-level production pre-approvals and unmarked-artifact allowances.

Tool Access Inputs Summary
get_project_profile read — Returns the currently active Anypoint profile for this project, how it was resolved (flag, env, project-file, or default), lists all available profiles, and shows the user-level production policy: production pre-approvals and unmarked-artifact allowances, each bound to an organization and environment ID.
set_project_profile write · immediate profile, directory? Binds the current project directory to a named Anypoint profile by writing .anypoint-connect.json (the nearest one, walking up, unless directory is given).
set_production_preapproval write · confirm environment, expires?, thisProjectOnly?, clear?, confirm?, tools? Pre-approves production writes for one organization and environment (stored by ID in the user-level ~/.anypoint-connect/production-approvals.json, never in the repository), so the named tools do not need confirmProduction (CLI: the typed phrase) until it expires.
set_unmarked_artifact_allowance write · confirm environment, expires?, thisProjectOnly?, clear?, confirm? Allows jars without a mule-build build marker (built by another pipeline) to be deployed to one production organization and environment, stored by ID in the user-level ~/.anypoint-connect/production-approvals.json.

Applications — read

CloudHub 2.0 deployment state and phase, specs, settings (secret-looking values masked), runtime catalogs, asset naming and cross-environment comparison.

Tool Access Inputs Summary
list_apps read environment Lists all Mule applications deployed in a CloudHub 2.0 environment.
get_app_status read appName, environment, wait?, waitSeconds? Returns detailed deployment information for a specific Mule application: a phase (RUNNING, STARTING, UPDATING, DEGRADED, FAILED, STOPPING, STOPPED) with settled and reason, the raw platform status, artifact version, Mule runtime, resources, autoscaling, JVM args, clustering, each replica's state, the public URL and last update.
get_deployment_spec read appName, environment Returns the full current deployment spec for a CloudHub 2.0 application — the "look before you leap" view used before a redeploy or rollback.
get_app_resources read environment Returns resource allocation for all apps in an environment: CPU/memory limits and reservations, vCores, replica count, autoscaling config, and JVM args.
get_app_settings read appName, environment, redact? Reads the application properties of a CloudHub 2.0 app: plain properties as key-value pairs and the names of secure properties (their values are never returned).
compare_app_deployments read env1, env2 Produces a side-by-side comparison of all application deployments across two environments.
list_runtime_versions read environment, appName?, targetId? Lists the Mule runtime versions a CloudHub 2.0 target accepts, with release channel and Java versions.
suggest_asset_name read appName, environment, jarPath? Suggests the Exchange coordinates for publishing an app's next JAR: the project's naming convention (.anypoint-connect.json conventions), otherwise the pattern of the asset the app runs today (for example {app}-{pomVersion}-{timestamp} at a fixed version), otherwise the JAR's Maven identity.

Applications — deploy

Publish and deploy artifacts, and change existing apps in one update: artifact, runtime, settings and update strategy, in place or stop-then-start. Every write previews first.

Tool Access Inputs Summary
deploy_jar ⚠️ write · confirm jarPath, appName, environment, assetId?, assetVersion?, groupId?, runtime?, javaVersion?, releaseChannel?, replicas?, region?, vcores?, jvmArgs?, properties?, secureProperties?, propertiesFrom?, securePropertiesFrom?, removeProperties?, removeSecureProperties?, moveToSecure?, mode?, updateStrategy?, wait?, waitTimeoutSeconds?, expectedSha256?, confirm?, confirmProduction?, planDigest? Publishes a locally built Mule application JAR to Exchange and deploys it to CloudHub 2.0: creates the app if it does not exist, otherwise updates it in one change (artifact plus any runtime or settings change).
deploy_app ⚠️ write · confirm appName, environment, groupId, artifactId, version, jarPath?, runtime?, javaVersion?, releaseChannel?, replicas?, region?, vcores?, jvmArgs?, properties?, secureProperties?, propertiesFrom?, securePropertiesFrom?, removeProperties?, removeSecureProperties?, moveToSecure?, mode?, updateStrategy?, wait?, waitTimeoutSeconds?, confirm?, confirmProduction?, planDigest? Deploys an artifact already in Exchange (groupId:artifactId:version) to CloudHub 2.0.
update_app ⚠️ write · confirm appName, environment, version?, artifactId?, groupId?, packaging?, jarPath?, runtime?, javaVersion?, releaseChannel?, properties?, secureProperties?, propertiesFrom?, securePropertiesFrom?, removeProperties?, removeSecureProperties?, moveToSecure?, mode?, updateStrategy?, wait?, waitTimeoutSeconds?, confirm?, confirmProduction?, planDigest? Changes an existing CloudHub 2.0 application in one call: artifact version, Mule runtime, properties and update strategy together, as one new spec.
update_app_artifact ⚠️ write · confirm appName, environment, version, artifactId?, groupId?, packaging?, jarPath?, runtime?, javaVersion?, releaseChannel?, mode?, wait?, waitTimeoutSeconds?, confirm?, confirmProduction?, planDigest? Moves an existing CloudHub 2.0 application to another artifact version, optionally with a runtime change in the same update.
rollback_app ⚠️ write · confirm appName, environment, toVersion?, mode?, wait?, waitTimeoutSeconds?, confirm?, confirmProduction?, planDigest? Rolls an existing CloudHub 2.0 application back to a previous artifact; runtime, target, replicas and settings are preserved.

Applications — lifecycle

Restart, scale, stop, start, settings and deletion. Settings take secrets from project files or environment variables, never from the conversation.

Tool Access Inputs Summary
restart_app ⚠️ write · confirm appName, environment, wait?, waitTimeoutSeconds?, confirm?, confirmProduction?, planDigest? Restarts a CloudHub 2.0 application by stopping it, waiting until every replica is down, and starting it again, so old and new replicas never run together.
scale_app ⚠️ write · confirm appName, environment, replicas, wait?, waitTimeoutSeconds?, confirm?, confirmProduction? Changes the number of replicas of a CloudHub 2.0 application.
stop_app ⚠️ write · confirm appName, environment, wait?, waitTimeoutSeconds?, confirm?, confirmProduction? Stops a CloudHub 2.0 application without deleting it: replicas terminate and the deployment configuration is kept.
start_app write · confirm appName, environment, wait?, waitTimeoutSeconds?, confirm?, confirmProduction? Starts a stopped CloudHub 2.0 application.
update_app_settings ⚠️ write · confirm appName, environment, properties?, secureProperties?, propertiesFrom?, securePropertiesFrom?, removeProperties?, removeSecureProperties?, moveToSecure?, mode?, wait?, waitTimeoutSeconds?, confirm?, confirmProduction?, planDigest? Adds, changes, removes or moves application properties of a CloudHub 2.0 app.
delete_app ⚠️ write · confirm appName, environment, confirm?, expectedDeploymentId?, confirmProduction? Permanently deletes a CloudHub 2.0 application deployment while leaving its Exchange artifact and other Anypoint resources untouched.

Artifacts

Compare the JAR an app runs with a git ref or a local JAR.

Tool Access Inputs Summary
compare_deployed_artifact read appName, environment, against Answers "does this repo (or jar) match what is deployed?".

Logs

Application logs: search, filters, summaries and file output.

Tool Access Inputs Summary
get_logs read appName, environment, lines?, level?, search?, regex?, logger?, hoursBack?, startTime?, endTime?, previousSpecs? Fetches the most recent log entries of a Mule application, newest first.
download_logs write · immediate appName, environment, hoursBack?, startTime?, endTime?, level?, search?, regex?, logger?, previousSpecs?, mode?, bucket?, maxLines?, outputFile?, overwrite? Reads the full application log file for a time window and filters it by level, logger, text or regex.
scan_logs_for_credentials read appName, environment, hoursBack?, startTime?, endTime?, previousSpecs? Checks whether an application's logs carry session or bearer credentials: authorization-bearer, bearer-token, session-id, sforce-session, salesforce-session-id, oauth-token-param, jwt.

Log analysis

Clustered errors with context, recurring patterns and health statistics.

Tool Access Inputs Summary
analyze_errors read appName, environment, hoursBack?, limit?, level?, search?, regex?, logger? Analyzes error patterns in a Mule application's logs.
get_log_patterns read appName, environment, hoursBack?, topN?, level?, search?, regex?, logger? Identifies the most common recurring log message patterns in an application.
get_log_stats read appName, environment, hoursBack?, level?, search?, regex?, logger? Returns a statistical health summary of an application's logs: level distribution, top loggers, error rate, error spikes (time windows with elevated errors), noise percentage, and unique transaction count.

Monitoring

Traffic, failures, latency, JVM and host metrics. See Monitoring for how to read them.

Tool Access Inputs Summary
get_metrics read environment?, hoursBack?, appName?, groupBy? Traffic, latency and failures from Anypoint Monitoring.
get_runtime_metrics read environment, hoursBack?, appName? JVM and host health per worker/replica: total heap used (avg/peak) and committed; the old-generation pool with its limit and peak-to-limit ratio (the memory-pressure and leak signal); metaspace; old-generation GC collections and GC time inside the window; CPU count and physical RAM; system and process CPU load (avg/max); and average free physical memory.
get_metrics_timeseries read environment, signal, hoursBack?, granularity?, appName? Bucketed metrics for trend and incident analysis.
raw_amql_query read query, limit?, offset? Runs a freeform AMQL query against Anypoint Monitoring when the other metric tools do not answer the question.

Alerts

Anypoint Monitoring metric alerts on apps and API instances, and Runtime Manager event alerts (read only). Uses an undocumented API; see Alerts.

Tool Access Inputs Summary
list_alerts read environment?, entityType?, app?, apiInstanceId?, name?, status?, source?, revealRecipients? Lists alerts across Anypoint Monitoring (metric alerts on apps and API instances) and, with an environment, Runtime Manager event alerts.
get_alert read id, revealRecipients? Returns one Anypoint Monitoring alert, normalized as in list_alerts, plus its raw settings and entity.
create_alert write · confirm environment, name, target, metric, operator, threshold, durationMinutes, severity, enabled?, notifications, apiFilters?, allowDuplicate?, confirm?, confirmProduction? Creates an Anypoint Monitoring metric alert on a CloudHub 2.0 app (target {app}) or an API instance (target {apiInstanceId}); the target is resolved from CloudHub 2.0 or API Manager.
update_alert ⚠️ write · confirm id, patch, confirm?, confirmProduction?, waitSeconds? Changes an Anypoint Monitoring alert: name, severity, enabled, operator, threshold (in the metric unit, percent for cpu and memory), durationMinutes, or notifications (replaces them all).
set_alert_enabled write · confirm id, enabled, confirm?, confirmProduction?, waitSeconds? Enables or disables an Anypoint Monitoring alert, keeping everything else.
delete_alert ⚠️ write · confirm id, expectedName?, confirm?, confirmProduction?, waitSeconds? Deletes an Anypoint Monitoring alert.

Exchange

Search assets, read specs and publish application JARs.

Tool Access Inputs Summary
search_exchange read query?, type?, limit? Searches Anypoint Exchange for reusable assets: API specifications (RAML, OAS), connectors, integration templates, examples, and policies.
get_exchange_asset read groupId, assetId, version? Returns detailed information about a specific Exchange asset including all published versions, dependencies, API instances, contact information, and file classifiers.
download_api_spec read groupId, assetId, version? Downloads the API specification file (RAML or OAS/Swagger) for an Exchange asset.
publish_app_jar ⚠️ write · confirm jarPath, assetId?, assetVersion?, groupId?, environment?, expectedSha256?, confirm? Uploads a locally built Mule application JAR to Anypoint Exchange as a type "app" asset, using the Exchange v2 publication API (multipart, classifier mule-application).

API Manager

API instances, policies, alerts, contracts, client applications and smoke tests. Client secrets never appear in output.

Tool Access Inputs Summary
list_api_instances read environment Lists all managed API instances registered in API Manager for an environment.
get_api_policies read apiName, environment Returns the full policy chain and SLA tier configuration for a managed API instance.
get_api_alerts read apiName, environment Returns the configured alerts for a managed API instance: API Manager alerts (alerts) and Anypoint Monitoring alerts on the instance (monitoringAlerts, normalized as in list_alerts with recipients masked, or supported: false).
list_api_contracts read environment, api Lists the contracts on a managed API instance: which client applications may call it, on which SLA tier, and whether each contract is approved, pending or revoked.
get_client_application write · immediate appId, writeCredentialsTo?, overwrite? Returns a client application from the API Platform: name, client ID and the client secret masked as "******…last4".
smoke_test_api write · confirm environment, api, path?, url?, method?, clientAppId?, headers?, body?, expectStatus?, timeoutMs?, confirm?, confirmProduction? Sends one HTTP request to a managed API and reports the status, latency, a few response headers and a body excerpt (4 KB at most).

Design Center

Read projects and files; writes and Exchange publication go through single-use preview tokens.

Tool Access Inputs Summary
list_design_center_projects read — Lists all API specification projects in Anypoint Design Center.
list_design_center_branches read project Lists branches for one exactly identified Design Center project.
list_design_center_files read project, branch? Lists all files and folders in a Design Center project branch.
read_design_center_file read project, filePath, branch? Reads the content of a specific file from a Design Center project.
preview_create_design_center_project read name, classifier Checks exact-name collisions and returns a single-use 10-minute token.
create_design_center_project write · preview token previewToken Consumes a single-use creation preview token and rechecks exact-name collision before creating the project.
preview_sync_design_center_files read project, files, branch?, commitMessage? Computes create, update, and unchanged actions with content hashes.
sync_design_center_files ⚠️ write · preview token previewToken Consumes a single-use preview, locks once, aborts atomically on hash conflicts, batch-saves, and verifies every changed file.
preview_publish_exchange_asset read project, name, apiVersion, version, classifier, main, groupId, assetId, branch? Binds exact project, branch, coordinates, classifier, main file, API version, and source hash to a single-use token.
publish_exchange_asset write · preview token previewToken Consumes the publication token, rejects source drift, publishes once, then verifies the downloaded Exchange artifact hash.

API Governance

Governance plans and conformance for API assets.

Tool Access Inputs Summary
explain_api_governance_plan read groupId, assetId, version?, filter? Reads the centralized governance rulesets that would apply to planned or published API coordinates.
get_api_governance_conformance read groupId, assetId, minorVersion, versions Reads centralized governance conformance for exact API asset versions, filtered by the caller permissions.

Audit log

Who changed what, and when.

Tool Access Inputs Summary
get_audit_log read hoursBack?, actions?, objectTypes?, limit? Queries the Anypoint Platform audit log for recent changes: deployments, policy updates, user actions, configuration changes.

Anypoint MQ

Queues, statistics, dead-letter inspection and publishing.

Tool Access Inputs Summary
list_queues read environment, region Lists all Anypoint MQ destinations (queues and exchanges) in an environment and region.
get_queue_stats read environment, region, queueId Fetches current statistics for an Anypoint MQ queue: messages visible (ready to consume), messages in-flight (being processed), and lifetime totals for sent, received, and acknowledged messages.
get_dlq_messages read environment, region, queueId, batchSize? Browses messages from an Anypoint MQ dead-letter queue without consuming them.
publish_mq_message write · immediate environment, region, queueId, body, headers?, properties? Publishes a message to an Anypoint MQ queue.

Object Store

Stores, keys and values.

Tool Access Inputs Summary
list_stores read environment Lists all Object Store v2 stores in an environment.
list_store_keys read environment, storeId, startKey?, limit? Lists keys in an Object Store v2 store.
get_store_value read environment, storeId, key Retrieves a single value from an Object Store v2 store by key.
put_store_value ⚠️ write · immediate environment, storeId, key, value, contentType? Creates or updates a value in an Object Store v2 store.
delete_store_value ⚠️ write · immediate environment, storeId, key Deletes a specific key and its value from an Object Store v2 store.