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

mcp-expertMCP expert 搜索

Agent Skill

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

总安装

924

周安装

37

GitHub Stars

10

下载量

299
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/oakoss/agent-skills --skill mcp-expert

简介

mcp-expert 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用于研究检索类 Agent 工作流,尤其关注 MCP 工具集成与搜索场景。
  • mcp-expert 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

MCP Expert

Overview

Definitive resource for building and managing Model Context Protocol ecosystems. Covers the full lifecycle from server development and transport configuration to security, elicitation, and async task execution. Designs agent-first tool interfaces that minimize token usage and maximize LLM accuracy.

When to use: Building MCP servers, designing tool interfaces, configuring transports (Stdio/Streamable HTTP), implementing OAuth 2.1, troubleshooting connectivity, using elicitation for server-initiated user interaction.

When NOT to use: Application-level business logic, non-MCP API design, frontend UI components, general HTTP API development unrelated to MCP.

Quick Reference

PatternAPI/ApproachKey Points
Outcome-oriented toolsSingle-call operationsAvoid chatty multi-step APIs
Argument flatteningFlat Zod schemas with descriptionsReduce model hallucination
Progressive disclosureReturn mcp:// URIs for large dataAgent reads partially via resources/read
Retryable toolsReturn retry_with suggestionsHelp LLM self-correct on bad inputs
Helpful errorsDescriptive strings with fix guidanceNever return raw exceptions or stack traces
Paginationhas_more + next_cursor metadata20-50 records per call maximum
Structured outputsJSON Schema in outputSchemaTyped tool results for programmatic consumption
Stdio transportLocal tools, stderr-only loggingNever write to stdout except JSON-RPC
Streamable HTTPRemote/cloud tools, single endpointReplaces deprecated SSE transport
OAuth 2.1 with PKCEEnterprise data accessMCP server is resource server, not auth server
ElicitationServer-initiated user inputFlat schema maps to forms, three response states
Async taskstasks/get, tasks/cancelLong-running operations return task handles
Capability scopesread:docs, write:code, admin:usersGranular permission boundaries
HITL gateconfirmation_required flagManual approval for destructive actions
URL elicitationSecure credential collectionRedirects user to browser for sensitive input
ExtensionsNamespaced capability negotiationOptional features without forking the spec
Sampling with toolsServer-initiated LLM requestsEnables server-side agent loops
MCP Inspectornpx @modelcontextprotocol/inspectorTest tools interactively without an LLM
Unit testingInMemoryTransport + VitestTest tool handlers with mock client
Evaluation frameworkSchema, error, pagination assertionsValidate tool quality for LLM consumption
Tool contract testingSchema field descriptions, edge casesEvery field described, optional params handled
CI smoke testsGitHub Actions + Inspector CLIAutomated build, test, and transport health check

Spec Versions

The current MCP specification is 2025-11-25. Key milestones:

  • 2025-03-26: Streamable HTTP transport (deprecated standalone SSE), tool annotations
  • 2025-06-18: Structured tool outputs, elicitation, OAuth auth server separation
  • 2025-11-25: Async tasks, extensions framework, sampling with tools, CIMD auth, server discovery

Onboarding Protocol

When an agent needs a new capability:

  1. Validation: Check if the required MCP server is already active
  2. Guide: If missing, provide the user with a direct installation path
  3. Config: Use uvx or npx for zero-install execution where possible

Common Mistakes

MistakeCorrect Pattern
Designing chatty APIs requiring many round-tripsBuild outcome-oriented tools that accomplish tasks in a single call
Logging to stdout breaking the Stdio transportLog only to stderr to keep the transport channel clean
Returning raw exceptions and stack traces to the LLMReturn helpful error strings with suggested corrections
Building monolithic servers with dozens of toolsKeep servers focused with 5-15 tools for discoverability and maintenance
Using deprecated HTTP+SSE transport for new serversUse Streamable HTTP for remote servers (single endpoint, optional SSE)
Hardcoding secrets in MCP server configurationUse environment variable mapping for all sensitive values
Returning large datasets in a single tool callUse pagination (20-50 records) or resource URIs for large data
Implementing auth server inside MCP serverMCP server acts as OAuth 2.1 resource server only, delegate auth externally
Vague tool descriptions causing LLM hallucinationAdd example usage and strict constraints to the tool description field
Synchronous blocking on long operationsReturn async task handles for operations exceeding timeout thresholds
Passing received tokens to upstream APIsValidate tokens locally; never forward to avoid confused deputy attacks
Requesting secrets through elicitationUse URL mode elicitation or dedicated OAuth flows for credential collection

MCP Primitives

MCP servers expose three core primitive types to clients:

  • Tools: Model-controlled actions the LLM invokes to accomplish tasks (function calling)
  • Resources: Application-controlled data exposed via mcp:// URIs that clients read on demand
  • Prompts: User-controlled templates that provide structured context for specific workflows

Servers declare which primitives they support during capability negotiation in the initialize handshake. The November 2025 spec adds Tasks as an experimental primitive for async execution.

Transport Selection

ScenarioTransportNotes
Local CLI toolsStdioFastest startup, no network overhead
Remote/cloud serversStreamable HTTPSingle endpoint, optional SSE streaming
Legacy remoteHTTP+SSEDeprecated since 2025-03-26, migrate to Streamable HTTP

Clients should support Stdio whenever possible. Streamable HTTP supports both stateless and stateful server implementations via optional Mcp-Session-Id headers.

Delegation

  • Discover and audit existing MCP server configurations: Use Explore agent to check active servers, verify connectivity, and identify missing capabilities
  • Build and deploy a new MCP server with validation and auth: Use Task agent to scaffold the server, implement Zod validation, and configure OAuth
  • Design MCP ecosystem architecture for multi-agent workflows: Use Plan agent to map tool boundaries, transport selection, and security scoping

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.51%
按下载量换算97

Claude

30.62%
按下载量换算92

Cursor

18.37%
按下载量换算55

Gemini CLI

9.4%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills