Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计提醒

mcp-integrationMCP 集成

Agent Skill

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

总安装

192

周安装

8

GitHub Stars

61

下载量

64
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/melodic-software/claude-code-plugins --skill mcp-integration

简介

用于查找、检索和筛选相关信息,适合快速定位技术方案。

  • 可根据关键词、任务场景或来源线索聚合候选结果。
  • 建议结合原始 README 和安装命令进一步核验具体用法。
  • 安装前需确认权限范围、维护状态及是否触发联网操作。
  • mcp-integration 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

MCP Meta Skill

🚨 MANDATORY: Invoke docs-management First

STOP - Before providing ANY response about MCP (Model Context Protocol): 1. INVOKE docs-management skill 2. QUERY for the user's specific topic 3. BASE all responses EXCLUSIVELY on official documentation loaded Skipping this step results in outdated or incorrect information.

Verification Checkpoint

Before responding, verify:

  • Did I invoke docs-management skill?
  • Did official documentation load?
  • Is my response based EXCLUSIVELY on official docs?

If ANY checkbox is unchecked, STOP and invoke docs-management first.


Overview

Central authority for Claude Code Model Context Protocol (MCP) integration. This skill uses 100% delegation to docs-management - it contains NO duplicated official documentation.

Architecture: Pure delegation with keyword registry. All official documentation is accessed via docs-management skill queries.

When to Use This Skill

Keywords: MCP, Model Context Protocol, MCP servers, MCP tools, MCP resources, MCP prompts, HTTP transport, SSE transport, stdio transport, MCP installation, MCP scopes, local scope, project scope, user scope,.mcp.json, plugin MCP servers, enterprise MCP, managed-mcp.json, OAuth authentication, MCP resources, @ mentions, mcp__server__prompt, MCP output limits, MAX_MCP_OUTPUT_TOKENS, claude mcp serve

Use this skill when:

  • Installing or configuring MCP servers
  • Understanding MCP transport types (HTTP, SSE, stdio)
  • Managing MCP server scopes (local, project, user)
  • Working with plugin-provided MCP servers
  • Setting up enterprise MCP configurations
  • Using MCP resources with @ mentions
  • Executing MCP prompts as slash commands
  • Authenticating with remote MCP servers (OAuth)
  • Configuring environment variable expansion in.mcp.json
  • Using Claude Code as an MCP server
  • Managing MCP output limits
  • Troubleshooting MCP connection issues

Keyword Registry for docs-management Queries

Use these keywords when querying docs-management skill for official documentation:

Core Concepts

TopicKeywords
Overview"MCP", "Model Context Protocol", "MCP overview"
What MCP Does"what you can do with MCP", "MCP capabilities"
Popular Servers"popular MCP servers", "MCP servers table"

Installation and Transport

TopicKeywords
Installation Overview"installing MCP servers", "MCP server configuration"
HTTP Transport"HTTP transport MCP", "remote HTTP server", "--transport http"
SSE Transport"SSE transport MCP", "Server-Sent Events transport"
Stdio Transport"stdio transport MCP", "local stdio server"
Windows Setup"Windows MCP servers", "cmd /c npx"

Server Management

TopicKeywords
Commands"claude mcp add", "claude mcp list", "claude mcp remove", "/mcp command"
JSON Configuration"add-json MCP", "MCP JSON configuration"
Import from Desktop"add-from-claude-desktop", "import MCP servers"

Installation Scopes

TopicKeywords
Scope Overview"MCP installation scopes", "MCP scope levels"
Local Scope"local scope MCP", "project-specific user settings"
Project Scope"project scope MCP", ".mcp.json file"
User Scope"user scope MCP", "cross-project MCP"
Scope Precedence"MCP scope precedence", "scope hierarchy"

Plugin Integration

TopicKeywords
Plugin MCP Servers"plugin-provided MCP servers", "plugin MCP configuration"
Plugin Features"CLAUDE_PLUGIN_ROOT", "plugin MCP lifecycle"

Enterprise Configuration

TopicKeywords
Enterprise Setup"enterprise MCP configuration", "managed-mcp.json"
Allowlists/Denylists"allowedMcpServers", "deniedMcpServers", "MCP restrictions"
Enterprise Paths"enterprise MCP paths", "managed MCP locations"

Resources and Prompts

TopicKeywords
MCP Resources"MCP resources", "@ mentions MCP", "reference MCP resources"
MCP Prompts"MCP prompts", "mcp__servername__promptname", "MCP skills"

Authentication

TopicKeywords
OAuth Setup"MCP OAuth", "authenticate remote MCP", "/mcp authentication"
Token Management"MCP token refresh", "clear MCP authentication"

Advanced Configuration

TopicKeywords
Environment Variables"environment variable expansion", ".mcp.json variables", "${VAR}"
Output Limits"MCP output limits", "MAX_MCP_OUTPUT_TOKENS", "output warning"
Claude as Server"claude mcp serve", "Claude Code as MCP server"

Tool Search & Auto Mode (v2.1.7+)

TopicKeywords
Auto Mode Default"MCP tool search auto mode", "ENABLE_TOOL_SEARCH", "auto mode default"
Auto Threshold Syntax"auto:N syntax", "MCP threshold percentage", "context threshold"
Enable/Disable"/mcp enable", "/mcp disable", "tool search toggle"

Behavior Change (v2.1.7): MCP tool search auto mode is now enabled by default with a 10% context threshold. Use auto:N syntax to configure custom thresholds (0-100%).

Behavior Change (v2.1.6): @-mention syntax for MCP servers was removed. Use /mcp enable <server> instead.

Security

TopicKeywords
MCP Security"MCP security", "MCP prompt injection", "trust MCP servers"

Quick Decision Tree

What do you want to do?

  1. Add a remote MCP server -> Query docs-management: "installing MCP servers", "HTTP transport MCP"
  2. Add a local MCP server -> Query docs-management: "stdio transport MCP", "local stdio server"
  3. Understand scopes -> Query docs-management: "MCP installation scopes", "scope precedence"
  4. Share MCP with team -> Query docs-management: "project scope MCP", ".mcp.json file"
  5. Use MCP across projects -> Query docs-management: "user scope MCP", "cross-project MCP"
  6. Configure plugin MCP -> Query docs-management: "plugin-provided MCP servers"
  7. Set up enterprise MCP -> Query docs-management: "enterprise MCP configuration", "managed-mcp.json"
  8. Authenticate with OAuth -> Query docs-management: "MCP OAuth", "/mcp authentication"
  9. Reference MCP resources -> Query docs-management: "MCP resources", "@ mentions MCP"
  10. Use MCP prompts -> Query docs-management: "MCP prompts", "MCP skills"
  11. Expose Claude as MCP server -> Query docs-management: "claude mcp serve"
  12. Troubleshoot MCP issues -> Query docs-management: "MCP troubleshooting" + specific issue

Topic Coverage

Transport Types and Installation

  • HTTP transport (recommended for remote servers)
  • SSE transport (deprecated, use HTTP)
  • Stdio transport (local processes)
  • Windows-specific setup (cmd /c wrapper)
  • Double dash (--) parameter explanation
  • MCP_TIMEOUT environment variable

Server Management Commands

  • claude mcp add (with transport flags)
  • claude mcp list (show all servers)
  • claude mcp get (server details)
  • claude mcp remove (delete server)
  • /mcp command (in-session status)
  • claude mcp add-json (JSON configuration)
  • claude mcp add-from-claude-desktop (import)
  • claude mcp reset-project-choices (approval reset)

Scope Configuration

  • Local scope (default, private to user/project)
  • Project scope (.mcp.json, version controlled)
  • User scope (cross-project, private)
  • Scope precedence (local > project > user)
  • --scope flag usage

Environment Variable Expansion

  • ${VAR} syntax
  • ${VAR:-default} syntax with defaults
  • Supported expansion locations (command, args, env, url, headers)
  • Missing variable handling

Plugin MCP Server Integration

  • Plugin.mcp.json configuration
  • Inline mcpServers in plugin.json
  • CLAUDE_PLUGIN_ROOT variable
  • Automatic lifecycle management
  • Multiple transport type support

Enterprise MCP Management

  • managed-mcp.json file locations (macOS, Windows, Linux)
  • allowedMcpServers configuration
  • deniedMcpServers configuration
  • Allowlist/denylist precedence
  • Enterprise scope precedence

MCP Resources System

  • @ mention syntax for resources
  • Resource path format (@server:protocol://path)
  • Multiple resource references
  • Fuzzy search in autocomplete
  • Resource content types

MCP Prompts as Skills

  • /mcp__servername__promptname format
  • Executing prompts with arguments
  • Dynamic discovery from servers
  • Name normalization (spaces to underscores)

Authentication Mechanisms

  • OAuth 2.0 support
  • /mcp command for authentication
  • Token storage and refresh
  • Clear authentication option
  • HTTP server authentication

Output Limits and Configuration

  • Default 25,000 token limit
  • Warning at 10,000 tokens
  • MAX_MCP_OUTPUT_TOKENS configuration
  • Use cases for higher limits

Claude Code as MCP Server

  • claude mcp serve command
  • Claude Desktop integration
  • Configuration format
  • Exposed tools (View, Edit, LS, etc.)
  • Executable path configuration

Delegation Patterns

Standard Query Pattern

User asks: "How do I add an MCP server?"

1. Invoke docs-management skill
2. Use keywords: "installing MCP servers", "claude mcp add"
3. Load official documentation
4. Provide guidance based EXCLUSIVELY on official docs

Multi-Topic Query Pattern

User asks: "I want to share MCP servers with my team and authenticate with OAuth"

1. Invoke docs-management skill with multiple queries:
   - "project scope MCP", ".mcp.json file"
   - "MCP OAuth", "/mcp authentication"
2. Synthesize guidance from official documentation

Troubleshooting Pattern

User reports: "My MCP server won't connect on Windows"

1. Invoke docs-management skill
2. Use keywords: "Windows MCP servers", "cmd /c npx"
3. Check official docs for Windows-specific requirements
4. Guide user through Windows setup from official docs

Troubleshooting Quick Reference

IssueKeywords for docs-management
Server won't connect"installing MCP servers", specific transport type
Windows connection errors"Windows MCP servers", "cmd /c"
Authentication failing"MCP OAuth", "/mcp authentication"
Scope not working"MCP installation scopes", "scope precedence"
Environment variables not expanding"environment variable expansion", ".mcp.json variables"
Output too large"MCP output limits", "MAX_MCP_OUTPUT_TOKENS"
Plugin MCP not loading"plugin-provided MCP servers", "plugin MCP lifecycle"
Enterprise restrictions"allowedMcpServers", "deniedMcpServers"

Repository-Specific Notes

This repository uses MCP servers for:

  • context7 MCP: Library documentation lookup
  • firecrawl MCP: Web scraping and search
  • microsoft-learn MCP: Microsoft/Azure documentation
  • perplexity MCP: AI-powered search
  • Ref MCP: Documentation reference lookup

MCP servers are configured in the project's settings and should follow the patterns documented in official Claude Code documentation.

Auditing MCP Configurations

This skill provides the validation criteria used by the mcp-auditor agent for formal audits.

CRITICAL: CLI-First Discovery (MANDATORY)

ALWAYS run claude mcp list FIRST before searching for configuration files. This is mandatory because:

  1. File locations can change between Claude Code versions
  2. User config is in ~/.claude.json (NOT ~/.claude/.mcp.json - this path does not exist)
  3. The mcpServers key may be deep in the file (line 200+) - easy to miss with partial reads
  4. CLI shows runtime state - files may not reflect what is actually running
# Step 1: Get authoritative list of configured servers
claude mcp list

# Step 2: Get details on specific server (shows scope and config)
claude mcp get <server-name>

Common Discovery Mistakes:

MistakeWhy It FailsCorrect Approach
Only searching for .mcp.json filesUser MCP is in ~/.claude.json, not a separate fileUse CLI first, then verify files
Reading only first N lines of ~/.claude.jsonmcpServers may be deep in the file (line 200+)Grep for mcpServers key first
Ignoring CLI discoveryFiles may not reflect runtime stateAlways start with claude mcp list
Wrong path ~/.claude/.mcp.jsonThis path does not exist; user config is ~/.claude.jsonCheck official docs for current paths

Audit Resources

ResourceLocationPurpose
Audit Frameworkreferences/audit-framework.mdQuery guides and scoring criteria

Scoring Categories

CategoryPointsKey Criteria
Configuration Structure25Valid JSON, required fields
Server Entries25Valid server configs, proper format
Transport Config20Valid transport types, correct settings
Authentication15Proper auth, no exposed secrets
Scope Compliance15Correct scope (project/user/plugin)

Thresholds: 85+ = PASS, 70-84 = PASS WITH WARNINGS, <70 = FAIL

Related Agent

The mcp-auditor agent (Haiku model) performs formal audits using this skill:

  • Auto-loads this skill via skills: mcp-integration
  • Uses audit framework and docs-management for rules
  • Generates structured audit reports
  • Invoked by /audit-mcp command

External Technology Validation

When auditing MCP configurations that reference external technologies (scripts, packages, runtimes), the auditor MUST validate claims using MCP servers before flagging findings.

Technologies Requiring MCP Validation:

  • .NET/C# scripts: Validate with microsoft-learn + perplexity
  • Node.js/npm packages: Validate with context7 + perplexity
  • Python scripts/packages: Validate with context7 + perplexity
  • Shell scripts: Validate with perplexity
  • Any version-specific claims: ALWAYS validate with perplexity

Validation Rule:

Never flag a technology usage as incorrect without first:

  1. Querying appropriate MCP server(s) for current documentation
  2. Verifying with perplexity for recent changes (especially.NET 10+)
  3. Documenting MCP sources in the finding

Stale Data Warning:

  • microsoft-learn can return cached/outdated documentation
  • ALWAYS pair microsoft-learn with perplexity for version verification
  • Trust perplexity for version numbers and recently-released features

References

Reference files:

Official Documentation (via docs-management skill):

  • Primary: "mcp" documentation
  • Related: "plugins", "hooks", "settings", "security"

Repository-Specific:

  • MCP configuration: Project-level.mcp.json or local settings
  • Skills configuration: .claude/settings.json

Version History

  • v1.2.0 (2026-01-16): Tool Search & Auto Mode keywords (v2.1.6-v2.1.9)

- Added "Tool Search & Auto Mode (v2.1.7+)" keyword section - Auto mode default behavior change (10% threshold) - auto:N syntax for custom thresholds - Documented @-mention removal (v2.1.6) - use /mcp enable instead

  • v1.1.0 (2025-12-25): Audit framework enhancement

- Added external technology validation guidance - Enhanced CLI-first discovery documentation - Improved scoring rubric for MCP audits

  • v1.0.0 (2025-11-26): Initial release

- Pure delegation architecture - Comprehensive keyword registry - Quick decision tree - Topic coverage for all MCP features - Troubleshooting quick reference


Last Updated

Date: 2026-01-16 Model: claude-opus-4-5-20251101

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

trae

27.87%
按下载量换算18

Antigravity

22.93%
按下载量换算15

windsurf

20.1%
按下载量换算13

Claude Code

12.6%
按下载量换算8

Codex

7.85%
按下载量换算5

Gemini CLI

3.69%
按下载量换算2

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills