mulewatch
概览
作者提供的说明(英文原文)
Read-only MCP server for MuleSoft Anypoint: app logs, archive search, Runtime Manager, Exchange.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 47/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
- 你需要填写:ANYPOINT_CLIENT_ID, ANYPOINT_CLIENT_SECRET
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
ANYPOINT_CLIENT_ID,ANYPOINT_CLIENT_SECRET,ANYPOINT_ORG_ID,ANYPOINT_ALLOWED_ENVIRONMENTS,ANYPOINT_BASE_URL,ANYPOINT_MONITORING_BASE_URL
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"mulewatch": {
"command": "npx",
"args": [
"-y",
"mulewatch"
],
"env": {
"ANYPOINT_CLIENT_ID": "your-value",
"ANYPOINT_CLIENT_SECRET": "your-value",
"ANYPOINT_ORG_ID": "your-value",
"ANYPOINT_ALLOWED_ENVIRONMENTS": "your-value",
"ANYPOINT_BASE_URL": "your-value",
"ANYPOINT_MONITORING_BASE_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add mulewatch --env ANYPOINT_CLIENT_ID=your-value --env ANYPOINT_CLIENT_SECRET=your-value --env ANYPOINT_ORG_ID=your-value --env ANYPOINT_ALLOWED_ENVIRONMENTS=your-value --env ANYPOINT_BASE_URL=your-value --env ANYPOINT_MONITORING_BASE_URL=your-value -- npx -y mulewatch运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mulewatch": {
"command": "npx",
"args": [
"-y",
"mulewatch"
],
"env": {
"ANYPOINT_CLIENT_ID": "your-value",
"ANYPOINT_CLIENT_SECRET": "your-value",
"ANYPOINT_ORG_ID": "your-value",
"ANYPOINT_ALLOWED_ENVIRONMENTS": "your-value",
"ANYPOINT_BASE_URL": "your-value",
"ANYPOINT_MONITORING_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mulewatch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mulewatch"
],
"env": {
"ANYPOINT_CLIENT_ID": "your-value",
"ANYPOINT_CLIENT_SECRET": "your-value",
"ANYPOINT_ORG_ID": "your-value",
"ANYPOINT_ALLOWED_ENVIRONMENTS": "your-value",
"ANYPOINT_BASE_URL": "your-value",
"ANYPOINT_MONITORING_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Anypoint connected app client id (app acts on its own behalf).
- Anypoint connected app client secret.
ANYPOINT_ORG_IDenvBusiness group id to operate on. Defaults to the organization the credentials belong to.ANYPOINT_ALLOWED_ENVIRONMENTSenvComma-separated environment names or ids the server is allowed to read. Unset means all visible environments.ANYPOINT_BASE_URLenvAnypoint control plane host. Defaults to https://anypoint.mulesoft.com.ANYPOINT_MONITORING_BASE_URLenvAnypoint Monitoring host. Defaults to https://monitoring.anypoint.mulesoft.com.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 brbousnguar 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5763 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5763 个服务器的 43% 更新
- 基础检查结果等于或优于此分类中其他 5763 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
mulewatch 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:ANYPOINT_CLIENT_ID, ANYPOINT_CLIENT_SECRET
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.1.2)于2个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
mulewatch Read-only observability for MuleSoft Anypoint Platform, over MCP. Application logs, historical archive search, Runtime Manager, API Manager and Exchange — for any Anypoint customer, using their own credentials.
How it works · Project page · npm · MCP registry
What it does
mulewatch bridges an MCP client — Claude Desktop, Claude Code, Cursor, OpenClaw — to MuleSoft Anypoint Platform, so you can ask about a Mule estate in plain language and get real answers from the platform APIs. It is aimed at the person holding the pager, not the person writing the flow: no local Mule project is required, and every tool is read-only.
- Application logs from Runtime Manager, normalized across CloudHub 2.0, Runtime Fabric and legacy CloudHub.
- Historical log search through the Anypoint Monitoring Archive API, reaching incidents long past the live tail's rolling buffer.
- Analysis-ready log payloads — normalized lines plus counts by priority, logger and replica.
- Runtime Manager inventory across Application Manager, CloudHub and hybrid on-prem targets.
- API Manager instances and Exchange assets, so a single server answers "what is deployed, what is it fronted by, and what broke".
Nothing is hardcoded to one customer: business groups, environments and credentials all come from your own connected app.
How this relates to the official MuleSoft MCP server
MuleSoft publishes its own MCP server (mulesoft-mcp-server, docs). It is a development tool — it scaffolds Mule projects, generates flows and API specs, and deploys applications, largely from a local project in an IDE.
mulewatch is an operations tool. It never writes to your estate, it assumes no local project, and it covers the one area the official server does not address at all: retrieving and searching application logs, including historical logs from the Monitoring Archive. The two run happily side by side, and if you want deployment or scaffolding tools, use the official one.
Requirements
- Node.js 20+
- An Anypoint Platform account with access to the business group you want to read
- A connected app (recommended) with *"acts on its own behalf"* enabled, or platform credentials
- For historical log search only: Anypoint Monitoring enabled for the organization
Connected-app scopes
Grant the scopes for the surfaces you intend to use, on the business groups and environments you care about. Anypoint returns a bare 403 Forbidden when a scope is missing; mulewatch catches that and names the scope you probably need.
| Surface | Scope |
|---|---|
| Environments, business groups | View Environments, View Organization |
| Runtime Manager apps and logs | Read Applications |
| Historical archive search | Anypoint Monitoring Viewer |
| API Manager instances | View APIs Configuration |
| Exchange assets | Exchange viewer access |
Setup
Create a connected app in Anypoint Platform → Access Management → Connected Apps, choose *"App acts on its own behalf (client credentials)"*, grant the scopes above, and copy the client id and secret.
Configuration is environment variables only — there is no config file and no organization default.
ANYPOINT_CLIENT_ID=your_connected_app_client_id
ANYPOINT_CLIENT_SECRET=your_connected_app_client_secret
| Variable | Required | Purpose |
|---|---|---|
ANYPOINT_CLIENT_ID / ANYPOINT_CLIENT_SECRET | one auth method | Connected app client credentials, preferred for automation |
ANYPOINT_USERNAME / ANYPOINT_PASSWORD | one auth method | Platform login |
ANYPOINT_ACCESS_TOKEN | one auth method | Pre-generated bearer token; takes precedence over the other two |
ANYPOINT_ORG_ID | no | Business group id. Unset means "the organization the credentials belong to" |
ANYPOINT_ALLOWED_ENVIRONMENTS | no | Comma-separated environment names or ids; when set, every tool refuses anything outside the list |
ANYPOINT_BASE_URL | no | Control plane host, defaults to https://anypoint.mulesoft.com |
ANYPOINT_MONITORING_BASE_URL | no | Monitoring host, defaults to https://monitoring.anypoint.mulesoft.com |
Business groups
Environments live on business groups, not on the root organization. If anypoint_list_environments comes back empty, your credentials resolved to the root org — call anypoint_list_business_groups to list the ids, then pass one as orgId or pin it with ANYPOINT_ORG_ID.
Keeping production out of reach
ANYPOINT_ALLOWED_ENVIRONMENTS scopes the whole server, not one tool. With
ANYPOINT_ALLOWED_ENVIRONMENTS=Dev,Sandbox
every tool refuses an environment outside the list and says why, whichever business group is targeted. Combine it with a connected app that only has access to those environments for defence in depth.
Run
Nothing to install — point your MCP client at npx:
{
"mcpServers": { "mulewatch": { "command": "npx", "args": ["-y", "mulewatch"], "env": { "ANYPOINT_CLIENT_ID": "your_connected_app_client_id", "ANYPOINT_CLIENT_SECRET": "your_connected_app_client_secret" } } } }
That block works as-is in Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and OpenClaw. For Claude Code:
claude mcp add mulewatch --env ANYPOINT_CLIENT_ID=... --env ANYPOINT_CLIENT_SECRET=... -- npx -y mulewatch
From a clone instead:
npm install
npm run build npm start
The server speaks stdio, which is what MCP clients expect. Start with anypoint_whoami to confirm credentials, business group and scope before anything else.
Tools
Every tool is read-only. All of them accept orgId to override the configured business group.
anypoint_whoami
Confirms which credentials, business group, hosts and environment allowlist the server is running with. No arguments. Call this first when anything fails.
anypoint_list_business_groups
Lists the business groups beneath the credentials' organization, with ids and nesting depth.
{ "rootOrgId": "optional-root-organization-id" }
anypoint_list_environments
Lists environments for a business group, filtered by ANYPOINT_ALLOWED_ENVIRONMENTS when set.
{ "orgId": "your-business-group-id" }
anypoint_list_deployed_apps
Lists deployed Mule applications for an environment, by environmentId or environmentName.
{ "environmentName": "Dev", "target": "all" }
| Option | Purpose |
|---|---|
target | application_manager (default), cloudhub, hybrid, or all |
limit | Maximum records to return, default 100 |
includeRaw | Include raw API objects in the response |
includeErrors | Include per-target errors when a target endpoint is unavailable or not permitted |
application_manager covers CloudHub 2.0 and Runtime Fabric deployments, cloudhub legacy CloudHub, hybrid on-prem Runtime Manager. all queries every target and reports per-target failures instead of aborting.
anypoint_list_app_logs
Lists the latest Runtime Manager logs for an application.
{ "environmentName": "Dev", "appName": "my-mule-app" }
| Option | Purpose |
|---|---|
environmentId | Use instead of environmentName |
deploymentId | Use when the app name is ambiguous or already known |
specId | A specific Application Manager deployment spec/config id |
target | auto (default), application_manager, or cloudhub |
limit | Maximum log entries, default 100, max 500 |
offset | Application Manager log offset, default 0 |
descending | Latest first, default true |
startTime / endTime | Application Manager time filter, ISO 8601 |
includeRaw | Include the raw API response |
includeErrors | Include failed target errors when target is auto |
For CloudHub 2.0 and Runtime Fabric the tool resolves appName to a deployment, resolves the current spec, then reads that spec's logs. For legacy CloudHub it calls the CloudHub logs endpoint directly.
anypoint_get_app_logs_for_analysis
Same sources as above, but returns an analysis-ready payload rather than a raw list. Prefer it when diagnosing something.
{ "environmentName": "Dev", "appName": "my-mule-app", "limit": 200, "errorOnly": true }
Takes every option of anypoint_list_app_logs, plus:
| Option | Purpose |
|---|---|
searchTerms | Case-insensitive filters matched against timestamp, priority, message, logger, thread or instance |
errorOnly | Only return ERROR and FATAL lines |
The response carries analysis.totalFetched, analysis.totalMatched, analysis.priorityCounts, analysis.loggerCounts, analysis.instanceCounts and analysis.logs. Counts describe everything fetched; logs holds what matched.
anypoint_search_archived_logs
Searches historical logs through the Anypoint Monitoring Archive API, for dates beyond what the live tail can see.
This is the tool the others cannot replace. anypoint_list_app_logs and anypoint_get_app_logs_for_analysis read Runtime Manager's live tail — a small rolling buffer that can scroll out within minutes on a busy application, no matter what startTime/endTime you pass. The archive lands files roughly ten minutes after each ten-minute window closes and keeps them far longer.
Requires Anypoint Monitoring to be enabled for the organization. Without it every call 403s or 404s; fall back to a manual *Download Logs* export from the Runtime Manager UI.
{
"environmentName": "Prod", "appName": "my-mule-app", "date": "2026-08-09", "searchTerms": ["Started product import", "Import finished"] }
| Option | Purpose |
|---|---|
date | Required, YYYY-MM-DD (UTC) |
endDate | Optional inclusive range end, YYYY-MM-DD (UTC), max 7 days total |
searchTerms | Case-insensitive text filters |
errorOnly | Only return ERROR and FATAL lines |
maxEntities | Cap on replica entities probed during a full-scan fallback, default 150, max 300 |
maxFiles | Cap on archive files downloaded and parsed, default 100, max 500 |
limit | Cap on matched lines returned, default 500, max 2000 |
includeRaw | Include the raw parsed entry alongside the normalized fields |
How it finds your logs. The Archive API indexes per replica/pod
只显示了开头部分;其余内容请在仓库中阅读