Command Palette

Search for a command to run...

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

configure-mcp

БесплатноБез исполняемых скриптовНе проверен

Check and configure MCP servers for project integration. Use when setting up MCP servers, checking MCP status, or adding new servers to a project.

laurigatesот laurigates★ 61 звезда на GitHub

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

/configure:mcp

Check and configure Model Context Protocol (MCP) servers for this project.

MCP Philosophy: Servers are managed project-by-project (in .mcp.json), not user-scoped (in ~/.claude/settings.json), to keep context clean and dependencies explicit.

For server configurations, environment variable reference, and report templates, see REFERENCE.md.

When to Use This Skill

Use this skill when... Use another approach when...
Setting up MCP servers for a project Configuring user-level settings (edit ~/.claude/settings.json directly)
Checking MCP server status and validating configuration Just viewing .mcp.json contents (use Read tool)
Adding specific servers (context7, playwright, sequential-thinking, etc.) Installing npm/bun packages for non-MCP purposes (use package manager)
Ensuring team-shareable MCP setups Personal-only MCP configuration (use ~/.claude/settings.json)
Installing core productivity servers Debugging specific server runtime issues (check server logs, restart Claude Code)

Context

  • Config exists: !find . -maxdepth 1 -name '.mcp.json'
  • Git tracking: !find . -maxdepth 1 -name '.gitignore' -exec grep '.mcp.json' {} +
  • Standards file: !find . -maxdepth 1 -name '.project-standards.yaml'
  • Has playwright config: !find . -maxdepth 1 -name 'playwright.config.*' -print -quit
  • Has TS/JS files: !find . -maxdepth 2 \( -name '*.ts' -o -name '*.py' -o -name '*.go' -o -name '*.rs' \) -print -quit

Parameters

Parse these from $ARGUMENTS:

  • --check-only: Report current status, do not offer installation
  • --fix: Install servers without prompting for confirmation
  • --core: Install every core server (see Core Servers)
  • --server <name>: Install specific server by name (repeatable)

If no flags provided, run interactive mode (detect → report → offer to install).

Core Servers

These servers should be installed in all projects. The core set is the mcpServers object of the repo baseline policy — pal (multi-model gateway), context7 (library docs) and sequential-thinking (reasoning) — and its settings.floor.enabledMcpjsonServers approves the same set in .claude/settings.json (merged by /configure:claude-plugins). Take each entry's config from the policy, not from memory.

Execution

Execute this MCP configuration workflow:

Step 1: Detect current state

First, test whether .mcp.json exists in the current working directory:

  • If .mcp.json is absent (the Config exists context line is empty, or test -f .mcp.json would fail): print "No .mcp.json found — starting fresh." and treat mcpServers as {} for the remainder of the workflow. Do not abort. Proceed to Step 2 so the user can still install core servers or specific servers via flags / interactive mode; Step 3 will create the file from scratch.
  • If .mcp.json exists: use the Read tool to load .mcp.json and parse the mcpServers object. List all configured servers and surface the result to subsequent steps. For each server, check its command type (npx, bunx, uvx, go run) and required env vars. Flag any servers with missing required environment variables.
  • Check pal against the policy form. A pal entry is in policy form when its command and args equal the policy's mcpServers.pal and every env key the policy names carries the policy's value. Anything else is legacy and needs normalization: a bare pal-mcp-server command, a uvx --from git+… source, the pre-rename package pal-mcp-server (with or without @latest), palaver-mcp-server without @latest, or an env value written as $VAR instead of ${VAR}. Report it as NOT POLICY FORM.

If --check-only, skip to Step 4 (report only).

Step 2: Identify servers to install

Based on the flags:

  • --core: Select every server in the policy's mcpServers.
  • --server <name>: Select the named server(s). Validate against the available servers in REFERENCE.md.
  • No flags (interactive): Show the user what's installed vs available. Use AskUserQuestion to ask which servers to add. Suggest servers based on project context (e.g., suggest playwright if playwright.config.* exists).

A pal entry that is present but not in policy form (Step 1) is selected for normalization in every mode except --check-only, whether or not it was requested; in interactive mode, include it in the AskUserQuestion confirmation. If every requested server is present and none needs normalization, report "All servers already configured" and stop.

Step 3: Install selected servers

For each selected server:

  1. Get the server configuration: core servers from the policy's mcpServers, every other server from REFERENCE.md.
  2. If .mcp.json doesn't exist, create it with {"mcpServers": {}}.
  3. Merge the s
Полный SKILL.md на GitHub

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

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

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

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

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

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

Glob
Grep
Read
Write
Edit
Bash(find *)
Bash(jq *)
Bash(sort *)
AskUserQuestion
TodoWrite

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

REFERENCE.md

FAQ

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

Check and configure MCP servers for project integration. Use when setting up MCP servers, checking MCP status, or adding new servers to a project.

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

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

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

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

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

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