Command Palette

Search for a command to run...

Назад к скиллам
скилл № 72079

mcp-management

Install, configure and troubleshoot MCP servers. Use when adding/enabling servers, editing .mcp.json, fixing OAuth, or when a server runs stale code after an…

БесплатноБез исполняемых скриптов
laurigatesот laurigates★ 61 звезда на GitHub

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

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

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

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

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

MCP Server Management

Expert knowledge for managing Model Context Protocol (MCP) servers on a project-by-project basis, with support for runtime management, OAuth remote servers, and dynamic server discovery.

For server config examples, the OAuth deep-dive, dynamic-discovery detail, troubleshooting scripts, and full configuration-pattern examples, see REFERENCE.md.

When to Use This Skill

Use this skill when... Use configure-mcp instead when...
Understanding MCP architecture and concepts Setting up .mcp.json for a new project
Managing servers at runtime (enable/disable) Installing new servers interactively
Setting up OAuth remote MCP servers Running compliance checks on MCP configuration
Troubleshooting connection failures Adding specific servers from the registry
Implementing list_changed dynamic discovery Generating project standards reports

MCP Architecture Overview

MCP connects Claude Code to external tools and data sources via two transport types:

Transport Usage Auth Configuration
Stdio (local) Command-based servers via npx, bunx, uvx, go run None needed .mcp.json
HTTP+SSE (remote) URL-based servers hosted externally OAuth 2.1 .mcp.json with url field

Local servers declare a command + args; remote servers declare a url + headersHelper or headers. Never hardcode tokens: on a workstation, inject them per server (a secret-manager wrapper around the command, or a headersHelper that prints the headers); ${VAR_NAME} references expand only variables already exported in Claude Code's environment, as in CI. See REFERENCE.md → Server configuration examples.

Runtime Server Management

/mcp Commands (Claude Code 2.1.50+)

Manage servers without editing configuration files:

Command Description
/mcp List all configured MCP servers and their connection status
/mcp enable <server> Enable a server for the current session
/mcp disable <server> Disable a server for the current session (session-scoped only)

Note: Enable/disable are session-scoped. Edit .mcp.json for permanent changes.

Check Server Status

jq -r '.mcpServers | keys[]' .mcp.json   # List configured servers
jq '.mcpServers.context7' .mcp.json      # Verify a server's config

As of 2.1.238, claude mcp list / claude mcp get report a disabled server as ⊘ Disabled immediately, without attempting to connect to it for a health check — a disabled server no longer costs a connection attempt to inspect.

OAuth Remote Servers (2.1.50+)

Remote HTTP+SSE servers use OAuth 2.1: Claude Code discovers metadata from /.well-known/oauth-authorization-server (cached per URL), the user authorizes in-browser once, and step-up auth re-prompts when a tool needs elevated scope. To refresh stale OAuth config, /mcp disable then /mcp enable the server. Full flow, step-up detail, and caching behavior in REFERENCE.md → OAuth support.

CLI Authentication (2.1.186+)

claude mcp login <server> / claude mcp logout <server> authenticate or de-authenticate a server from the command line, without opening the interactive /mcp menu. Pass --no-browser to complete the OAuth flow over SSH or another environment with no local browser.

Dynamic Tool Discovery (list_changed)

Servers declaring {"tools": {"listChanged": true}} push notifications/tools/list_changed when their tool set changes, and Claude Code refreshes that server's tools without a session restart — useful for servers exposing project-context-specific tools. Same pattern for resources and prompts. Subscription is automatic; no client config needed. See REFERENCE.md → Dynamic tool discovery.

Troubleshooting

Common failure modes and the diagnostic scripts for each (server won't connect, missing env vars, OAuth issues, client behaviors that look like server bugs, the SDK MCP race condition) are in REFERENCE.md → Troubleshooting scripts. Quick OAuth triage:

Symptom Likely Cause Action
Authorization prompt repeats Token not persisted Check token storage permissions
Step-up auth loop Scope mismatch Revoke and re-authorize
Discovery fails Server down or URL wrong Verify server URL and connectivity — claude mcp list / /mcp show the HTTP status and error text for a failed connection (2.1.219+), and warn when a config value has hidden leading or trailing whitespace; check both before assuming the URL itself is wrong. In headless/-p runs, mcp_server_errors in the stream-json init event lists any `--mcp
Полный SKILL.md на GitHub

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

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

  1. 01Bash(jq *)
  2. 02Bash(find *)
  3. 03Read
  4. 04Write
  5. 05Edit
  6. 06Grep
  7. 07Glob
  8. 08AskUserQuestion

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

  • REFERENCE.md

FAQ

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

Install, configure and troubleshoot MCP servers. Use when adding/enabling servers, editing .mcp.json, fixing OAuth, or when a server runs stale code after an upstream fix.

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить mcp-management с