Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

configure-mcpconfigure MCP 搜索

Agent Skill

configure-mcp 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,320

周安装

55

GitHub Stars

28

下载量

440
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:configure-mcp(configure MCP 搜索)
来源仓库:https://github.com/laurigates/claude-plugins
仓库路径:skills/configure-mcp
安装命令:
npx skills add https://github.com/laurigates/claude-plugins --skill configure-mcp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/laurigates/claude-plugins --skill configure-mcp

简介

configure-mcp 用于配置 Model Context Protocol (MCP) 服务器连接。

  • 适用于跨项目上下文隔离与依赖显式化管理。
  • .mcp.json 文件实现项目级而非用户级配置。
  • 包含环境变量引用与报告模板生成功能。configure-mcp 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 建议定期审计已配置的服务器安全性与必要性。

SKILL.md

/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 projectConfiguring user-level settings (edit ~/.claude/settings.json directly)
Checking MCP server status and validating configurationJust 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 setupsPersonal-only MCP configuration (use ~/.claude/settings.json)
Installing core productivity serversDebugging specific server runtime issues (check server logs, restart Claude Code)

Context

  • Config exists:!find. -maxdepth 1 -name \'.mcp.json\'
  • Installed servers:!jq -r '.mcpServers'.mcp.json
  • Git tracking:!grep '.mcp.json'.gitignore
  • 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
  • Dotfiles registry:!find. -maxdepth 1 -name \'~/.local/share/chezmoi/.chezmoidata.toml\'

Parameters

Parse these from $ARGUMENTS:

  • --check-only: Report current status, do not offer installation
  • --fix: Install servers without prompting for confirmation
  • --core: Install all core servers (context7, sequential-thinking)
  • --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:

ServerPurposeEnv Vars
context7Documentation context from UpstashNone
sequential-thinkingEnhanced reasoning and planningNone

Execution

Execute this MCP configuration workflow:

Step 1: Detect current state

Check the context values above. Determine:

  1. Does .mcp.json exist? If yes, parse it and list all configured servers.
  2. For each server, check its command type (npx, bunx, uvx, go run) and required env vars.
  3. Flag any servers with missing required environment variables.

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

Step 2: Identify servers to install

Based on the flags:

  • --core: Select context7 and sequential-thinking.
  • --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, suggest cclsp if large TS/Python/Rust codebase).

If all requested servers are already installed, report "All servers already configured" and stop.

Step 3: Install selected servers

For each selected server:

  1. Get the server configuration from REFERENCE.md.
  2. If .mcp.json doesn't exist, create it with {"mcpServers": {}}.
  3. Merge the server config into the existing mcpServers object. Preserve existing servers.
  4. Write the updated .mcp.json with proper JSON formatting.

If cclsp is selected, also set up cclsp.json (see REFERENCE.md for language detection and setup details).

Handle git tracking:

  • Check if .mcp.json is in .gitignore.
  • If not tracked and not ignored, recommend adding to .gitignore for personal projects or tracking for team projects.

Step 4: Report results

Print a summary using the report format from REFERENCE.md:

  • List all configured servers with their status
  • Flag missing environment variables with where to set them
  • Show git tracking status
  • If servers were added, show next steps (restart Claude Code, set env vars)

Step 5: Update standards tracking

If .project-standards.yaml exists, update the MCP section with current server list and timestamp.

Runtime Server Management

After configuring .mcp.json, use these /mcp commands in Claude Code to manage servers without editing files:

CommandDescription
/mcpList all configured servers and connection status
/mcp enable <server>Enable a server for the current session
/mcp disable <server>Disable a server for the current session (session-scoped)

Note: Enable/disable are session-scoped only. Permanent changes require editing .mcp.json.

Agentic Optimizations

ContextCommand
Quick status check`jq -c '.mcpServers \keys'.mcp.json 2>/dev/null`
Validate JSON syntaxjq empty.mcp.json 2>&1
List environment variables needed`jq -r '.mcpServers[] \.env // {} \keys[]'.mcp.json 2>/dev/null \sort -u`
Check if server installed`jq -e '.mcpServers.context7'.mcp.json >/dev/null 2>&1 && echo "installed" \\echo "missing"`
Core servers install (automated)/configure:mcp --core --fix
Specific server install (automated)/configure:mcp --server context7 --fix
Check-only mode (CI/reporting)/configure:mcp --check-only

Flags

FlagDescription
--check-onlyReport status without offering to install servers
--fixInstall specified or suggested servers without prompting
--coreInstall all core servers (context7, sequential-thinking)
--server <name>Install specific server (can be repeated)

Error Handling

  • Invalid .mcp.json: Offer to backup and replace with valid template
  • Server already installed: Skip with informational message
  • Missing env var: Warn but continue (server may work with defaults)
  • Unknown server: Report error with available server names

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude

31.49%
按下载量换算139

Codex

31.02%
按下载量换算136

Cursor

18.55%
按下载量换算82

Gemini CLI

9.56%
按下载量换算42

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills