mulewatch

v0.1.2
io.github.brbousnguar/mulewatch Checked 1 hour ago Published 2 months ago

Read-only MCP server for MuleSoft Anypoint: app logs, archive search, Runtime Manager, Exchange.

Values you need

VariableWhat it is
ANYPOINT_CLIENT_IDrequired Anypoint connected app client id (app acts on its own behalf).
ANYPOINT_CLIENT_SECRETrequired secret Anypoint connected app client secret.
ANYPOINT_ORG_IDoptional Business group id to operate on. Defaults to the organization the credentials belong to.
ANYPOINT_ALLOWED_ENVIRONMENTSoptional Comma-separated environment names or ids the server is allowed to read. Unset means all visible environments.
ANYPOINT_BASE_URLoptional Anypoint control plane host. Defaults to https://anypoint.mulesoft.com.
ANYPOINT_MONITORING_BASE_URLoptional Anypoint Monitoring host. Defaults to https://monitoring.anypoint.mulesoft.com.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mulewatch -e 'ANYPOINT_CLIENT_ID=<ANYPOINT_CLIENT_ID>' -e 'ANYPOINT_CLIENT_SECRET=<ANYPOINT_CLIENT_SECRET>' -- npx -y mulewatch@0.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mulewatch": {
      "args": [
        "-y",
        "mulewatch@0.1.2"
      ],
      "command": "npx",
      "env": {
        "ANYPOINT_CLIENT_ID": "<ANYPOINT_CLIENT_ID>",
        "ANYPOINT_CLIENT_SECRET": "<ANYPOINT_CLIENT_SECRET>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mulewatch": {
      "args": [
        "-y",
        "mulewatch@0.1.2"
      ],
      "command": "npx",
      "env": {
        "ANYPOINT_CLIENT_ID": "<ANYPOINT_CLIENT_ID>",
        "ANYPOINT_CLIENT_SECRET": "<ANYPOINT_CLIENT_SECRET>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ANYPOINT_CLIENT_ID",
      "id": "anypoint-client-id",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "ANYPOINT_CLIENT_SECRET",
      "id": "anypoint-client-secret",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mulewatch": {
      "args": [
        "-y",
        "mulewatch@0.1.2"
      ],
      "command": "npx",
      "env": {
        "ANYPOINT_CLIENT_ID": "${input:anypoint-client-id}",
        "ANYPOINT_CLIENT_SECRET": "${input:anypoint-client-secret}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mulewatch]
command = "npx"
args = ["-y", "mulewatch@0.1.2"]
env = { "ANYPOINT_CLIENT_ID" = "<ANYPOINT_CLIENT_ID>", "ANYPOINT_CLIENT_SECRET" = "<ANYPOINT_CLIENT_SECRET>" }

For AI agents

  1. Ask the user for: ANYPOINT_CLIENT_ID, ANYPOINT_CLIENT_SECRET. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: anypoint_whoami, anypoint_list_business_groups, anypoint_list_environments, anypoint_list_deployed_apps, anypoint_list_app_logs, anypoint_get_app_logs_for_analysis, anypoint_search_archived_logs, anypoint_list_api_manager_instances, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json