Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Read-only MCP server for MuleSoft Anypoint: app logs, archive search, Runtime Manager, Exchange.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ANYPOINT_CLIENT_ID, ANYPOINT_CLIENT_SECRET, ANYPOINT_ORG_ID, ANYPOINT_ALLOWED_ENVIRONMENTS, ANYPOINT_BASE_URL, ANYPOINT_MONITORING_BASE_URLค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"mulewatch": {
"command": "npx",
"args": [
"-y",
"mulewatch"
],
"env": {
"ANYPOINT_CLIENT_ID": "ใส่ค่าของคุณ",
"ANYPOINT_CLIENT_SECRET": "ใส่ค่าของคุณ",
"ANYPOINT_ORG_ID": "ใส่ค่าของคุณ",
"ANYPOINT_ALLOWED_ENVIRONMENTS": "ใส่ค่าของคุณ",
"ANYPOINT_BASE_URL": "ใส่ค่าของคุณ",
"ANYPOINT_MONITORING_BASE_URL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add mulewatch --env ANYPOINT_CLIENT_ID='ใส่ค่าของคุณ' --env ANYPOINT_CLIENT_SECRET='ใส่ค่าของคุณ' --env ANYPOINT_ORG_ID='ใส่ค่าของคุณ' --env ANYPOINT_ALLOWED_ENVIRONMENTS='ใส่ค่าของคุณ' --env ANYPOINT_BASE_URL='ใส่ค่าของคุณ' --env ANYPOINT_MONITORING_BASE_URL='ใส่ค่าของคุณ' -- npx -y mulewatchเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"mulewatch": {
"command": "npx",
"args": [
"-y",
"mulewatch"
],
"env": {
"ANYPOINT_CLIENT_ID": "ใส่ค่าของคุณ",
"ANYPOINT_CLIENT_SECRET": "ใส่ค่าของคุณ",
"ANYPOINT_ORG_ID": "ใส่ค่าของคุณ",
"ANYPOINT_ALLOWED_ENVIRONMENTS": "ใส่ค่าของคุณ",
"ANYPOINT_BASE_URL": "ใส่ค่าของคุณ",
"ANYPOINT_MONITORING_BASE_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"mulewatch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mulewatch"
],
"env": {
"ANYPOINT_CLIENT_ID": "ใส่ค่าของคุณ",
"ANYPOINT_CLIENT_SECRET": "ใส่ค่าของคุณ",
"ANYPOINT_ORG_ID": "ใส่ค่าของคุณ",
"ANYPOINT_ALLOWED_ENVIRONMENTS": "ใส่ค่าของคุณ",
"ANYPOINT_BASE_URL": "ใส่ค่าของคุณ",
"ANYPOINT_MONITORING_BASE_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ANYPOINT_ORG_ID envANYPOINT_ALLOWED_ENVIRONMENTS envANYPOINT_BASE_URL envANYPOINT_MONITORING_BASE_URL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub brbousnguar ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: ANYPOINT_CLIENT_ID, ANYPOINT_CLIENT_SECRET
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.2) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
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.
Nothing is hardcoded to one customer: business groups, environments and credentials all come from your own connected app.
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.
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 |
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 |
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.
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.
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.
Every tool is read-only. All of them accept orgId to override the configured business group.
anypoint_whoamiConfirms which credentials, business group, hosts and environment allowlist the server is running with. No arguments. Call this first when anything fails.
anypoint_list_business_groupsLists the business groups beneath the credentials' organization, with ids and nesting depth.
{ "rootOrgId": "optional-root-organization-id" }
anypoint_list_environmentsLists environments for a business group, filtered by ANYPOINT_ALLOWED_ENVIRONMENTS when set.
{ "orgId": "your-business-group-id" }
anypoint_list_deployed_appsLists 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_logsLists 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_analysisSame 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_logsSearches 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo