mulewatch
v0.1.2Read-only MCP server for MuleSoft Anypoint: app logs, archive search, Runtime Manager, Exchange.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
anypoint_whoami Check Anypoint connection
Verify the configured Anypoint credentials and show which business group, host and environment allowlist this server is operating with. Use this first when a call fails.
anypoint_list_business_groups List business groups
List the business groups under the credentials' organization, with their ids. Environments live on business groups, not on the root organization — call this first if anypoint_list_environments returns nothing.
| Parameter | Type | Description |
|---|---|---|
rootOrgId | string | Root organization id. Defaults to the credentials' own organization. |
anypoint_list_environments List environments
List the Anypoint environments in a business group. If this returns nothing, the orgId is probably the root organization — call anypoint_list_business_groups to find the right id. Restricted to ANYPOINT_ALLOWED_ENVIRONMENTS when that is set.
| Parameter | Type | Description |
|---|---|---|
orgId | string | Business group id. Defaults to ANYPOINT_ORG_ID, or the credentials' own organization. |
anypoint_list_deployed_apps List deployed applications
List deployed Mule applications in an environment, across Application Manager (CloudHub 2.0 / Runtime Fabric), legacy CloudHub, and hybrid on-prem targets.
| Parameter | Type | Description |
|---|---|---|
environmentId | string | Environment id. Use instead of environmentName. |
environmentName | string | Environment name, e.g. 'Production'. Resolved to an id, must match exactly one. |
includeErrors | boolean | Include per-target errors when a target endpoint is unavailable or not permitted. |
includeRaw | boolean | Include the raw Anypoint API objects alongside the normalized fields. |
limit | integer | Maximum records to return, default 100. |
orgId | string | Business group id. Defaults to ANYPOINT_ORG_ID, or the credentials' own organization. |
target | string | Deployment target to query. Defaults to application_manager. |
anypoint_list_app_logs List application logs
List the latest Runtime Manager logs for a Mule application. This reads the live tail only — a small rolling buffer. For anything older than the buffer, use anypoint_search_archived_logs.
| Parameter | Type | Description |
|---|---|---|
appName * | string | Deployment/application name as shown in Runtime Manager. |
deploymentId | string | Use when the app name is ambiguous or already known. |
descending | boolean | Return latest first, default true. |
endTime | string | Application Manager time filter, ISO 8601. |
environmentId | string | Environment id. Use instead of environmentName. |
environmentName | string | Environment name, e.g. 'Production'. Resolved to an id, must match exactly one. |
includeErrors | boolean | Include failed target errors when target is auto. |
includeRaw | boolean | Include the raw Anypoint API objects alongside the normalized fields. |
limit | integer | Maximum log entries, default 100, max 500. |
offset | integer | Application Manager log offset, default 0. |
orgId | string | Business group id. Defaults to ANYPOINT_ORG_ID, or the credentials' own organization. |
specId | string | Specific Application Manager deployment spec/config id. |
startTime | string | Application Manager time filter, ISO 8601. |
target | string | Log source. Defaults to auto, which tries Application Manager then CloudHub. |
anypoint_get_app_logs_for_analysis Analyze application logs
Fetch live-tail logs for a Mule application and return an analysis-ready payload: normalized lines plus counts by priority, logger and instance. Prefer this over anypoint_list_app_logs when diagnosing a problem.
| Parameter | Type | Description |
|---|---|---|
appName * | string | Deployment/application name as shown in Runtime Manager. |
deploymentId | string | Use when the app name is ambiguous or already known. |
descending | boolean | Return latest first, default true. |
endTime | string | Application Manager time filter, ISO 8601. |
environmentId | string | Environment id. Use instead of environmentName. |
environmentName | string | Environment name, e.g. 'Production'. Resolved to an id, must match exactly one. |
errorOnly | boolean | Only return ERROR and FATAL lines. |
includeErrors | boolean | Include failed target errors when target is auto. |
includeRaw | boolean | Include the raw Anypoint API objects alongside the normalized fields. |
limit | integer | Maximum log entries, default 100, max 500. |
offset | integer | Application Manager log offset, default 0. |
orgId | string | Business group id. Defaults to ANYPOINT_ORG_ID, or the credentials' own organization. |
searchTerms | array | Case-insensitive filters matched against timestamp, priority, message, logger, thread or instance. |
specId | string | Specific Application Manager deployment spec/config id. |
startTime | string | Application Manager time filter, ISO 8601. |
target | string | Log source. Defaults to auto, which tries Application Manager then CloudHub. |
anypoint_search_archived_logs Search archived logs
Search historical Mule application logs via the Anypoint Monitoring Archive API, for dates beyond the live tail's rolling buffer. Requires Anypoint Monitoring to be enabled for the organization. Use this for any past-date incident investigation.
| Parameter | Type | Description |
|---|---|---|
appName * | string | Deployment name, must match the Runtime Manager name exactly. |
date * | string | Required date to search, YYYY-MM-DD (UTC). |
endDate | string | Inclusive range end, YYYY-MM-DD (UTC). Max 7 days total. |
environmentId | string | Environment id. Use instead of environmentName. |
environmentName | string | Environment name, e.g. 'Production'. Resolved to an id, must match exactly one. |
errorOnly | boolean | Only return ERROR and FATAL lines. |
includeRaw | boolean | Include the raw Anypoint API objects alongside the normalized fields. |
limit | integer | Cap on matched lines returned, default 500. |
maxEntities | integer | Cap on replica entities probed during a full-scan fallback, default 150. |
maxFiles | integer | Cap on archive files downloaded and parsed, default 100. |
orgId | string | Business group id. Defaults to ANYPOINT_ORG_ID, or the credentials' own organization. |
searchTerms | array | Case-insensitive text filters. |
anypoint_list_api_manager_instances List API Manager instances
List API instances managed by Anypoint API Manager in an environment, with their assets, endpoints and technology.
| Parameter | Type | Description |
|---|---|---|
assetId | string | Filter by Exchange asset id. |
environmentId | string | Environment id. Use instead of environmentName. |
environmentName | string | Environment name, e.g. 'Production'. Resolved to an id, must match exactly one. |
includeRaw | boolean | Include the raw Anypoint API objects alongside the normalized fields. |
limit | integer | Maximum records, default 100. |
offset | integer | Pagination offset, default 0. |
orgId | string | Business group id. Defaults to ANYPOINT_ORG_ID, or the credentials' own organization. |
technology | string | Filter by technology, e.g. mule4, flexGateway. |
anypoint_search_exchange_assets Search Exchange assets
Search Anypoint Exchange for assets in the organization — APIs, connectors, templates, examples and fragments.
| Parameter | Type | Description |
|---|---|---|
includeRaw | boolean | Include the raw Anypoint API objects alongside the normalized fields. |
limit | integer | Maximum records, default 50. |
offset | integer | Pagination offset, default 0. |
orgId | string | Business group id. Defaults to ANYPOINT_ORG_ID, or the credentials' own organization. |
search | string | Free-text search over asset names and descriptions. |
types | array | Filter by asset type, e.g. rest-api, connector, template, example. |