Agent skill

MCP Health

by PatrickSUDO in PatrickSUDO/fadacai-portfolio

Test all MCP server connections and report health status. An agent skill from PatrickSUDO/fadacai-portfolio.

MITAuto-check passedAgent Workflows

Install MCP Health

skills CLI
$ npx skills add PatrickSUDO/fadacai-portfolio --skill mcp-health -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PatrickSUDO/fadacai-portfolio mcp-health --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PatrickSUDO/fadacai-portfolio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/mcp-health .claude/skills/mcp-health && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mcp-health
GitHub stars
142
Token cost
~569 tokens
SKILL.md length
101 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Test all MCP server connections and report health status. An agent skill from PatrickSUDO/fadacai-portfolio.

  • Works in 5 steps: 平行測試所有 MCP Server → 判定狀態 → 輸出狀態表 → …
  • Tasks that involve MCP servers
  • SKILL.md covers Workflow and Output Format
  • Calls python3 and docker

What it does

MCP Health is an agent skill from PatrickSUDO/fadacai-portfolio. Test all MCP server connections and report health status. Usage - /mcp-health

Its SKILL.md is about 570 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol. The repository describes itself as: Claude Code 投資研究與組合管理框架:skills + MCP + 第一性原理紀律 + thesis ledger. The licence is MIT.

When your agent uses it

  • Tasks that involve MCP servers

Example prompts

  • “/mcp-health”

Requirements

  • Python 3
  • Docker

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 平行測試所有 MCP Server
  2. 判定狀態
  3. 輸出狀態表
  4. 失敗時的處理
  5. 建議

What it can do on your machine

Read from SKILL.md and the folder at commit 25eedc4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • docker

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use docker, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

MCP Health loads about 569 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 101 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~569

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from PatrickSUDO/fadacai-portfolio at commit 25eedc4, republished under its MIT licence (© PatrickSUDO). 101 words, ~569 tokens.

Download SKILL.mdSave it as .claude/skills/mcp-health/SKILL.md (or your agent's skills folder).
name
mcp-health
description
Test all MCP server connections and report health status. Usage - /mcp-health
user_invocable
true
model
sonnet

MCP Health Check

測試所有 MCP server 的連線狀態,快速診斷問題。

Workflow

1. 平行測試所有 MCP Server

盡可能同時呼叫以下 7 個測試,使用最簡單的工具確認連線:

#Server測試工具測試呼叫
1firstrade-serverget_account_balance()
2yfinance-advancedget_stock_info("AAPL")
3sec-edgar-mcpget_company_info("AAPL")
4fmp-mcpgetCompanyProfile("AAPL")
5technical-mcpget_technical_indicators("AAPL")
6eodhd-mcpget_sentiment_trend("AAPL.US", 7)
7polymarket-mcpget_trending_markets()
2. 判定狀態

對每個 server 的回應判定:

  • ✅ Healthy — 正常返回數據
  • ⚠️ Degraded — 返回但數據不完整或響應異常慢
  • ❌ Failed — 呼叫失敗或超時
3. 輸出狀態表
## MCP Server 健康檢查

| Server | 狀態 | 延遲 | 備註 |
|--------|------|------|------|
| firstrade-server | ✅ Healthy | ~Xs | 即時持倉來源 |
| yfinance-advanced | ✅ Healthy | ~Xs | — |
| sec-edgar-mcp | ✅ Healthy | ~Xs | — |
| fmp-mcp | ✅ Healthy | ~Xs | Free tier |
| technical-mcp | ✅ Healthy | ~Xs | — |
| eodhd-mcp | ❌ Failed | — | 連線失敗 |
| polymarket-mcp | ✅ Healthy | ~Xs | Demo mode |

健康: X/7 | 異常: X/7
4. 失敗時的處理

對於 ❌ Failed 的 server,顯示:

  • 錯誤訊息摘要
  • 手動重啟指令(僅顯示,不自動執行):
# 手動重啟指令(請在終端機執行):

# yfinance-advanced(uvx @0.1.2,由 Claude Code 自管 stdio subprocess):
# → 通常重開 Claude Code session 即恢復;若需驗證版本:
#   uvx yfinance-mcp@0.1.2 --help

# sec-edgar-mcp(uvx @1.0.8,由 Claude Code 自管):
# → 重開 Claude Code session 即恢復

# fmp-mcp(Docker 容器,非 stdio,不由 Claude Code 管):
docker compose -f /Users/supatrick/laptop/mcp-servers/fmp-mcp/compose.yaml restart

# fmp-mcp 旁路驗證(不需 /mcp reconnect,直接測 helper):
python3 /Users/supatrick/laptop/project/fadacai-portfolio/tools/fmp_query.py getCompanyProfile --args '{"symbol":"AAPL"}'

# fmp-mcp session expired(常見)→ 用 helper 取資料,不用 reconnect:
python3 /Users/supatrick/laptop/project/fadacai-portfolio/tools/fmp_query.py getBiggestGainers
5. 建議
  • 若 1-2 個 server 失敗 → 建議重啟該 server,其他 skill 可正常使用(會 fallback)
  • 若 3+ 個 server 失敗 → 建議重啟 Claude Code session
  • 提醒:MCP server 由 Claude Code 自動管理,通常重開 session 即可恢復

Output Format

  • 繁體中文輸出
  • 簡潔表格格式
  • 預估執行時間:~30 秒

© PatrickSUDO, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/mcp-health of PatrickSUDO/fadacai-portfolio.

Open the folder on GitHubat commit 25eedc4

Compare with similar skills

MCP Health next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

MCP Health compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
MCP Health this skillPatrickSUDO/fadacai-portfolio142—~569Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
Crush Configurationcharmbracelet/crush29k—~3.7kAutomated safety check: PassCustom licence
Context Mode Output Sandboxmksglu/context-mode26k—~4.1kAutomated safety check: PassCustom licence

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.

    65k GitHub starsUsed in 1 repo~2.1k tokens
    Agent WorkflowsAuto-check passed

More from PatrickSUDO/fadacai-portfolio

All 10 skills in this repo
  • Portfolio Review

    PatrickSUDO/fadacai-portfolio

    Fetch live brokerage positions and generate a comprehensive portfolio report with sector allocation, P&L analysis, options summary, and risk assessment.

    142 GitHub stars~6.9k tokensUpdated 2 days ago
    Auto-check passed
  • Ev Check

    PatrickSUDO/fadacai-portfolio

    強制 first-principles 機率分布 + EV 計算。用於檢查當前組合在指定時間窗的預期報酬,禁止用 default bell shape 或質性語言。Usage - /ev-check [30d|7d|14d] [optional scenario theme]

    142 GitHub stars~1.4k tokensUpdated 2 days ago
    Auto-check passed
  • Event Vol Scan

    PatrickSUDO/fadacai-portfolio

    財報/重大事件(CPI/FOMC)前的末日 buy call 與雙買 straddle 機會掃描。Usage - /event-vol-scan [days] [TICKER ...](預設窗 14 天,掃持倉 + L1 候補 + SPY/QQQ 宏觀事件)

    142 GitHub stars~891 tokensUpdated 2 days ago
    Auto-check passed
  • Options Strategy

    PatrickSUDO/fadacai-portfolio

    Calculate and compare options strategies (sell put, covered call, LEAPS, naked call) for a given ticker.

    142 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check passed
  • Todo

    PatrickSUDO/fadacai-portfolio

    生成下一個交易日的優先行動清單。當用戶問「明天開盤要做什麼」、「今天要操作什麼」、「給我待辦」、「接下來要做什麼」、「有什麼需要處理」等問題時立刻使用此 skill。也適用於盤中(「現在有什麼要做」)和盤後(「今天還有什麼沒做」)場景。不要等用戶說 /todo 才觸發,只要問的是「下一步行動」的問題就應該用。

    142 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Trade Journal

    PatrickSUDO/fadacai-portfolio

    Record trades, track execution vs plan, and review trade history.

    142 GitHub stars~900 tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about MCP Health

What does MCP Health do?

Test all MCP server connections and report health status. An agent skill from PatrickSUDO/fadacai-portfolio. MCP Health is an agent skill from PatrickSUDO/fadacai-portfolio. Test all MCP server connections and report health status.

When should I use MCP Health?

MCP Health fits situations like: tasks that involve MCP servers.

How do I install MCP Health in Claude Code?

Run `npx skills add PatrickSUDO/fadacai-portfolio --skill mcp-health -a claude-code`. Or copy the skill folder (.agents/skills/mcp-health in PatrickSUDO/fadacai-portfolio) into .claude/skills/mcp-health in your project. Claude Code loads it when a task matches its description.

How do I install MCP Health in Codex?

Run `npx skills add PatrickSUDO/fadacai-portfolio --skill mcp-health -a codex`. Or copy the skill folder (.agents/skills/mcp-health in PatrickSUDO/fadacai-portfolio) into .agents/skills/mcp-health in your project. Codex loads it when a task matches its description.

Can I use MCP Health in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PatrickSUDO/fadacai-portfolio --skill mcp-health -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mcp-health, .gemini/skills/mcp-health, .github/skills/mcp-health and .opencode/skills/mcp-health in your project.

What does MCP Health need to run?

Going by SKILL.md and its folder, MCP Health needs the command-line tools its instructions call (python3 and docker). Our summary lists: Python 3; Docker.

Does MCP Health access the network?

SKILL.md contains no URLs. Its commands use docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is MCP Health safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does MCP Health use?

MCP Health is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does MCP Health use?

About 569 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to MCP Health?

Skills that share tags, products or a category with MCP Health: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains MCP Health?

PatrickSUDO (a GitHub user) maintains it in PatrickSUDO/fadacai-portfolio, which has 142 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 8, 2026.

Source: PatrickSUDO/fadacai-portfolio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.