Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mcp-server-integration

БесплатноЗапускает вложенные скриптыНе проверен

Use when judging or wiring an MCP server into Hermes.

jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Об этом скилле

Integrating (or rejecting) an MCP server / agent toolkit

Trigger: user drops a repo or npm package that ships an MCP server ("pelajari ini, bagus nggak buat kita apply?") or asks to hook a new tool into Hermes. Also fires when the user hands over a remote MCP endpoint (a URL plus its llms.txt) and asks you to connect it — for that shape skip straight to §4b. Also fires when the ask is judgment rather than wiring: "is there a plugin/skill that makes you stronger?", or a pasted tweet/thread of agent frameworks — see references/hermes-plugin-catalog-evaluation.md. Goal: a verdict backed by measurements, then the cheapest reversible wiring step.

1. Inventory what it really is (measured, not quoted)

  • <cli> --version + <cli> --help → real subcommand count. README badges drift.
  • <cli> doctor --json and <cli> capabilities --json → per-provider available vs unsupported_host on this host. A capability that is off is usually a missing engine/OS, not a bad repo — separate "capability missing" from "workflow missing" before writing the verdict.
  • Note which subset works with zero extra installs (often the static/analysis part).

2. Prove it with one real run

Run the cheapest real command against a small LOCAL target and record numbers (files scanned / parsed / nodes / findings / explicit limitations). That is the evidence; the README is not.

3. Measure the MCP surface before trusting the catalog

python3 scripts/mcp_stdio_probe.py --grep javascript,web,artifact -- npx -y <pkg>@<ver> mcp

Prints serverInfo, protocolVersion, the real advertised tool count and the tools matching your lane. README/catalog numbers drift from runtime (seen: catalog 131 vs 125 advertised) — quote the measured number.

4. Decide scope, then wire it

  • Every registered tool costs context in every session. Register, then subset: hermes mcp add <name> --command <cmd> --args <args...> → hermes mcp configure (toggle which tools load) → verify with hermes mcp list and hermes mcp test.
  • Check hermes mcp catalog first; a curated entry is a one-liner install.
  • Prefer a pinned exact version in the registration for reproducibility.

4b. Remote HTTP MCP with OAuth on a headless host

When the server is a URL and the sign-in happens in a browser, hermes mcp add <name> --url <url> --auth oauth is NOT enough on a gateway/VPS box: with no TTY it fails to build the OAuth provider and saves the entry with no auth key and enabled: false. Repair it with config sets instead of re-running add:

hermes config set mcp_servers.<name>.auth oauth
hermes config set mcp_servers.<name>.enabled true
hermes config set mcp_servers.<name>.oauth.timeout 1800   # callback window, default 300 s
hermes config get mcp_servers.<name>                       # confirm the keys landed

Then run the login in a PTY background session, harvest the authorization URL from its output, hand that URL to the user in chat, and submit the redirect URL they paste back into the same waiting process:

terminal(command="hermes mcp login <name>", pty=true, background=true)   # then poll for the URL
process_manage(action="submit", session_id=…, data="<redirect URL the user sent>")

Check /.well-known/oauth-authorization-server first: a device_authorization_endpoint means hermes mcp login <name> --flow device is the low-friction path and you never need the callback. Full recipe, discovery checks, timeout maths and consent/scope rules: references/remote-oauth-mcp-headless.md.

4c. A third-party setup command: dry-run the plan, then narrow the scope

Packages that ship npx <pkg> setup write into every agent they detect — config entries, skills, sometimes plugin hooks. Treat that installer as a change to the user's whole machine, not to one file.

  1. Read the manifest without executing it: npm view <pkg> --json for repo/license/maintainers/provenance and npm pack <pkg>@<ver> + tar xzf to read package.json (bin, scripts, dependencies). A package whose tarball is 600 bytes and has no repository field is not the thing you think it is.
  2. Ask for the plan, never the apply: npx -y <pkg>@<ver> setup --dry-run --all-detected --format json → plannedActions enumerates every file it will touch and which backup it writes (config.yaml.<pkg>.backup). Most such CLIs also accept --client <id>.
  3. Apply only the client the user named. "Connect it to this agent" is NOT consent to also rewrite ~/.claude.json or drop skills into other agents — apply --client hermes --yes and report the clients you deliberately left alone.
  4. Verify twice: the package's own doctor --format json (should say aligned, skill version, tool count) and an independent stdio initialize/tools/list handshake. "Installed" is not "answering".

Pitfall: engine gates make a good package look broken. setup can hard-refuse when engines.node needs e.g. >=22.23.4 and the

Полный SKILL.md на GitHub

Установить mcp-server-integration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSESOURCE.mdTRUST.auto.yamlreferences/hermes-plugin-catalog-evaluation.mdreferences/hermes-plugin-install-verification.mdreferences/remote-oauth-mcp-headless.mdscripts/mcp_context_cost.pyscripts/mcp_stdio_probe.py

FAQ

Что делает скилл mcp-server-integration?

Use when judging or wiring an MCP server into Hermes.

Как установить скилл mcp-server-integration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mcp-server-integration запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить mcp-server-integration с