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

mcp-creatorMCP creator 搜索

Agent Skill

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

总安装

973

周安装

39

GitHub Stars

2

下载量

315
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/wyattowalsh/agents --skill mcp-creator

简介

用于根据关键词或任务场景快速定位候选结果。

  • 适合在需要检索相关信息时使用。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装命令:npx skills add https://github.com/wyattowalsh/agents --skill mcp-creator。
  • 安装前建议确认是否会触发联网或文件操作。

SKILL.md

MCP Creator — FastMCP v3

Build production-ready MCP servers with FastMCP v3 (3.0.0rc2). This skill guides through research, scaffolding, implementation, testing, and deployment. All first-party output follows this repo's conventions: mcp/<name>/ directory, fastmcp.json config, exact uv workspace member, imperative voice, kebab-case naming. Reserve mcp/servers/ for machine-local third-party MCP installs; it is gitignored.

Target: FastMCP v3 rc2 — Provider/Transform architecture, 14 built-in middleware, OAuth 2.1, server composition, component versioning, structured output, background tasks, elicitation, sampling.

Input: $ARGUMENTS — the service, API, or capability to wrap as an MCP server.


Dispatch

Route $ARGUMENTS to the appropriate mode:

$ARGUMENTS patternModeStart at
Service/API name (e.g., "GitHub", "Stripe")New serverPhase 1
Path to existing first-party server (e.g., mcp/myserver/)ExtendPhase 3
OpenAPI spec URL or file pathConvert OpenAPIPhase 2 (scaffold) then load references/server-composition.md §6
FastAPI app to convertConvert FastAPIPhase 2 (scaffold) then load references/server-composition.md §7
Error message or "debug" + descriptionDebugLoad references/common-errors.md, match symptom
"learn" or conceptual questionLearnLoad relevant reference file, explain
EmptyGallery / help overviewShow available modes and example invocations

Consult Live Documentation

Before implementation, fetch current FastMCP v3 docs. Bundled references capture rc2 — live docs may be newer.

  1. Context7resolve-library-id for "fastmcp", then query-docs for the topic.
  2. WebFetchhttps://gofastmcp.com/llms-full.txt — comprehensive LLM-optimized docs.
  3. WebSearch fallbacksite:gofastmcp.com <topic> for specific topics.

If live docs contradict bundled references, live docs win. Always fetch live docs first — API details shift between rc2 and stable.


Phase 1: Research & Plan

Goal: Understand the target service and design the MCP server's tool/resource/prompt inventory.

Load: references/tool-design.md (naming, descriptions, parameter design, 8 tool patterns)

1.1 Understand the Target

  • Read any documentation, SDK, or API reference for the target service.
  • Identify the core operations users need (CRUD, search, status, config).
  • Note authentication requirements (API keys, OAuth, tokens).
  • Check for existing MCP servers for this service — avoid duplicating work.

1.2 Architecture Checklist

Answer before proceeding:

  • Auth needed? (API key → env var, OAuth → HTTP transport, none → stdio)
  • Transport? (stdio for local, Streamable HTTP for remote/multi-client)
  • Background tasks? (long-running operations → task=True, requires fastmcp[tasks])
  • OpenAPI spec available? (→ OpenAPIProvider or FastMCP.from_openapi())
  • Multiple domains? (→ composed servers with mount() + namespaces)

1.3 Design Tool Inventory

Plan 5-15 tools per server. For each tool, define:

FieldRequirement
Namesnake_case, verb_noun format, max 64 chars
Description3-5 sentences: WHAT, WHEN to use, WHEN NOT, WHAT it returns
ParametersEach with type, description, constraints via Annotated[type, Field(...)]
AnnotationsreadOnlyHint, destructiveHint, idempotentHint, openWorldHint
Error casesWhat ToolError messages to raise for expected failures

1.4 Design Resources and Prompts

  • Resources for static/slow-changing data (config, schemas, status). URI-addressed.
  • Prompts for reusable message templates that guide LLM behavior.
  • See references/fastmcp-v3-api.md §6-7 for URI patterns and prompt design.

1.5 Plan Architecture

Decide on composition strategy:

  • Single server — Most cases. One FastMCP instance with all tools.
  • Composed servers — Large APIs. Domain servers mounted via mount() with namespaces.
  • Provider-based — Dynamic tool registration. FileSystemProvider or custom Provider.
  • OpenAPI conversion — Auto-generate tools from OpenAPI spec. OpenAPIProvider or FastMCP.from_openapi().

See references/server-composition.md for patterns.

1.6 Deliverable

Produce a tool/resource/prompt inventory table before proceeding:

| Component | Type | Name | Description (brief) |
|-----------|------|------|---------------------|
| Tool | tool | search_issues | Search GitHub issues by query |
| Resource | resource | config://settings | Current server configuration |
| Prompt | prompt | summarize_pr | Summarize a pull request for review |

Phase 2: Scaffold

Goal: Create the project directory, tests, and configure dependencies.

2.1 Create Project Structure

Run wagents new mcp <name> to scaffold:

mcp/<name>/
├── server.py          # FastMCP entry point
├── pyproject.toml     # uv project config
├── fastmcp.json       # FastMCP CLI config
└── tests/
    ├── conftest.py    # Client fixture, mock Context
    └── test_server.py # Automated test suite

Customize the scaffold:

  • Set server name in server.py: mcp = FastMCP("name").
  • Set package name in pyproject.toml: name = "mcp-<name>".
  • Update description in pyproject.toml.
  • Add service-specific dependencies to both pyproject.toml and fastmcp.json.

2.2 Add Test Configuration

Add to pyproject.toml:

[tool.pytest.ini_options]
asyncio_mode = "auto"

[dependency-groups]
dev = ["pytest>=8", "pytest-asyncio>=0.25"]

Create tests/conftest.py — see references/testing.md §4 for the complete template.

2.3 Configure and Verify

  • Ensure root pyproject.toml has [tool.uv.workspace] members = ["mcp/<name>"].
  • Run cd mcp/<name> && uv sync to install dependencies.
  • Verify: uv run python -c "from server import mcp; print(mcp.name)".

Note: wagents validate validates skills/agents only, NOT MCP servers. Use the import check above for MCP server validation.


Phase 3: Implement

Goal: Build all tools, resources, and prompts from the Phase 1 inventory.

Load: references/fastmcp-v3-api.md (full API surface), references/tool-design.md (patterns)

3.1 Server Setup

from fastmcp import FastMCP, Context

mcp = FastMCP(
    "server-name",
    instructions="Description of what this server provides and when to use it.",
)

For shared resources (HTTP clients, DB connections), add a composable lifespan:

from fastmcp.server.lifespan import lifespan

@lifespan
async def http_lifespan(server):
    import httpx
    async with httpx.AsyncClient() as client:
        yield {"http": client}

mcp = FastMCP("server-name", lifespan=http_lifespan)
# Access in tools: ctx.lifespan_context["http"]

Combine lifespans with |: mcp = FastMCP("name", lifespan=db_lifespan | cache_lifespan)

3.2 Implement Tools

For each tool in the inventory, follow this pattern:

from typing import Annotated
from pydantic import Field
from fastmcp import Context
from fastmcp.exceptions import ToolError

@mcp.tool(
    annotations={
        "readOnlyHint": True,
        "openWorldHint": True,
    },
)
async def search_items(
    query: Annotated[str, Field(description="Search term to find items.", min_length=1)],
    limit: Annotated[int, Field(description="Max results to return.", ge=1, le=100)] = 10,
    ctx: Context | None = None,
) -> dict:
    """Search for items matching a query.

    Use this tool when you need to find items by keyword. Returns a list of
    matching items with their IDs and titles. Use the limit parameter to
    control result count. Does not search archived items.

    Returns a dictionary with 'items' list and 'total' count.
    """
    if ctx:
        await ctx.info(f"Searching for: {query}")
    try:
        results = await do_search(query, limit)
        return {"items": results, "total": len(results)}
    except ServiceError as e:
        raise ToolError(f"Search failed: {e}")

Key rules for every tool:

  • Annotated[type, Field(description=...)] on EVERY parameter.
  • Verbose docstring: WHAT, WHEN to use, WHEN NOT, WHAT it returns.
  • ToolError for expected failures (always visible to client).
  • annotations dict on every tool — at minimum readOnlyHint.
  • ctx: Context | None = None for testability without MCP runtime.

See references/tool-design.md §9 for 8 complete tool patterns (sync, async+Context, stateful, external API, data processing, dependency-injected, sampling, elicitation).

3.3 Implement Resources

import json

@mcp.resource("config://settings", mime_type="application/json")
async def get_settings() -> str:
    """Current server configuration."""
    return json.dumps(settings)

@mcp.resource("users://{user_id}/profile")
async def get_user_profile(user_id: str) -> str:
    """User profile by ID."""
    return json.dumps(await fetch_profile(user_id))

See references/fastmcp-v3-api.md §6 for URI templates, query params, wildcards, and class-based resources.

3.4 Implement Prompts

from fastmcp.prompts import Message

@mcp.prompt
def summarize_pr(pr_number: int, detail_level: str = "brief") -> list[Message]:
    """Generate a prompt to summarize a pull request."""
    return [Message(
        role="user",
        content=f"Summarize PR #{pr_number} at {detail_level} detail level.",
    )]

3.5 Composition (if applicable)

For large servers, split into domain modules and compose. See references/server-composition.md.

from fastmcp import FastMCP
from .issues import issues_server
from .repos import repos_server

mcp = FastMCP("github")
mcp.mount(issues_server, namespace="issues")
mcp.mount(repos_server, namespace="repos")

3.6 Auth (if applicable)

Load references/auth-and-security.md when implementing authentication.

  • stdio transport: No MCP-level auth. Use env vars for backend API keys.
  • HTTP transport: OAuth 2.1 via JWTVerifier, GitHubProvider, or RemoteAuthProvider.
  • Per-tool auth: @mcp.tool(auth=require_scopes("admin")).
  • Dual-mode pattern: common.py with shared tools, separate auth/no-auth entry points.

Phase 4: Test

Goal: Verify all components work correctly with deterministic tests.

Load: references/testing.md (patterns, 18-item checklist)

4.1 Write Tests

Use the in-memory Client — no network, no subprocess:

import pytest
from fastmcp import Client
from server import mcp

@pytest.fixture
async def client():
    async with Client(mcp) as c:
        yield c

async def test_search_items(client):
    result = await client.call_tool("search_items", {"query": "test"})
    assert result.data is not None
    assert not result.is_error

async def test_list_tools(client):
    tools = await client.list_tools()
    names = [t.name for t in tools]
    assert "search_items" in names

4.2 Test Categories

Cover all 8 categories from references/testing.md:

  1. Discoverylist_tools(), list_resources(), list_prompts() return expected names.
  2. Happy path — Each tool with valid input returns expected output.
  3. Error handling — Invalid input produces ToolError, not crashes.
  4. Edge cases — Empty strings, boundary values, Unicode, large inputs.
  5. Resourcesread_resource(uri) returns correct content and MIME type.
  6. Promptsget_prompt(name, args) returns expected messages.
  7. Integration — Tool chains, lifespan setup/teardown.
  8. Concurrent — Multiple simultaneous calls don't interfere.

4.3 Interactive Testing

# MCP Inspector (browser-based)
fastmcp dev inspector mcp/<name>/server.py

# CLI testing
fastmcp list mcp/<name>/server.py
fastmcp call mcp/<name>/server.py search_items '{"query": "test"}'

4.4 Run Tests

cd mcp/<name> && uv run pytest -v

Phase 5: Deploy & Configure

Goal: Make the server available to MCP clients.

Load: references/deployment.md (transports, client configs, Docker)

5.1 Select Transport

ScenarioTransportCommand
Local / Claude Desktopstdiofastmcp run server.py
Remote / multi-clientStreamable HTTPfastmcp run server.py --transport http --port 8000
DevelopmentInspectorfastmcp dev inspector server.py

5.2 Generate Client Config

Add to client config (Claude Desktop, Claude Code, Cursor):

{
  "mcpServers": {
    "server-name": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/mcp/<name>", "fastmcp", "run", "server.py"]
    }
  }
}

See references/deployment.md §7 for complete configs per client.

5.3 Validate

MCP server validation (wagents validate does NOT check MCP servers):

# Import check
uv run python -c "from server import mcp; print(mcp.name)"

# List registered components
fastmcp list mcp/<name>/server.py

# Interactive inspection
fastmcp dev inspector mcp/<name>/server.py

5.4 Quality Checklist

Before declaring the server complete:

  • Every tool has Annotated + Field(description=...) on all parameters
  • Every tool has a verbose docstring (WHAT, WHEN, WHEN NOT, RETURNS)
  • Every tool has annotations (at minimum readOnlyHint)
  • Every tool uses ToolError for expected failures
  • No print() or stdout writes in any tool
  • Resources have correct URI schemes and MIME types
  • Tests pass: uv run pytest -v
  • MCP Inspector shows all components correctly
  • fastmcp.json lists all required dependencies
  • pyproject.toml has correct metadata and dependencies
  • No deprecated constructor kwargs (removed in rc1)
  • Custom routes have manual auth if sensitive
  • mask_error_details=True set for production deployment

Reference File Index

Load these files on demand during the relevant phase. Do NOT load all at once.

FileContentLoad during
references/fastmcp-v3-api.mdComplete v3 API surface: constructor, decorators, Context, return types, resources, prompts, providers, transforms, 14 middleware, background tasks, visibility, v2→v3 changesPhase 3
references/tool-design.mdLLM-optimized naming, descriptions, parameters, annotations, error handling, 8 tool patterns, structured output, response patterns, anti-patternsPhase 1, 3
references/server-composition.mdmount(), import_server(), proxy, FileSystemProvider, OpenAPI (OpenAPIProvider + from_openapi), FastAPI conversion, custom providers, transforms, gateway pattern, DRY registrationPhase 1, 3
references/testing.mdIn-memory Client, pytest setup, conftest.py template, 8 test categories, MCP Inspector, CLI testing, 18-item checklistPhase 4
references/auth-and-security.mdOAuth 2.1, JWTVerifier, per-component auth, custom auth checks, session-based visibility, custom route auth bypass, SSRF prevention, dual-mode pattern, 15 security rulesPhase 3
references/deployment.mdTransports, FastMCP CLI, ASGI, custom routes, client configs, fastmcp.json schema, Docker, background task workers, production checklistPhase 5
references/resources-and-prompts.mdResources (static, dynamic, binary), prompts (single/multi-message), resource vs tool guidance, testing patternsPhase 3
references/common-errors.md34 errors: symptom → cause → v3-updated fix, quick-fix lookup tableDebug mode
references/quick-reference.mdMinimal examples: server, tool, resource, prompt, lifespan, test, runQuick start

Critical Rules

These are non-negotiable. Violating any of these produces broken MCP servers.

  1. No stdout. Never use print() or write to stdout in tools/resources/prompts. Stdout is the MCP transport. Use ctx.info(), ctx.warning(), ctx.error() for logging.
  2. ToolError for expected failures. Always raise ToolError("message") for user-facing errors. Standard exceptions are masked by mask_error_details in production.
  3. Verbose descriptions. Every tool needs a 3-5 sentence docstring. Every parameter needs Field(description=...). LLMs cannot use tools they don't understand.
  4. Annotations on every tool. Set readOnlyHint, destructiveHint, idempotentHint, openWorldHint. Clients use these for confirmation flows and retry logic.
  5. **No *args or **kwargs.** MCP requires a fixed JSON schema for tool inputs. Dynamic signatures break schema generation.
  6. Async state access. In v3, ctx.get_state() and ctx.set_state() are async — always await them.
  7. URI schemes required. Every resource URI must have a scheme (data://, config://, users://). Bare paths fail.
  8. Test deterministically. Use in-memory Client(mcp), not manual prompting. Tests must be repeatable and automated.
  9. Module-level mcp variable. The FastMCP instance must be importable at module level. fastmcp run imports server:mcp by default.
  10. Secrets in env vars only. Never hardcode API keys. Never accept tokens as tool parameters. Load from environment, validate on startup.

Quick Reference

Load references/quick-reference.md for the complete quick reference with minimal examples for server, tool, resource, prompt, lifespan, test, and run commands.


Canonical Vocabulary

Use these terms consistently. Do not invent synonyms.

Canonical termMeaningNOT
toolA callable MCP function exposed to clients"endpoint", "action", "command"
resourceURI-addressed read-only data exposed to clients"asset", "file", "data source"
promptReusable message template guiding LLM behavior"instruction", "system message"
providerDynamic component source (e.g., FileSystemProvider, OpenAPIProvider)"plugin", "adapter"
transformMiddleware that modifies components at mount time"filter", "interceptor"
middlewareRequest/response processing hook in the server pipeline"handler", "decorator"
lifespanAsync context manager for shared server resources"startup hook", "init"
mountAttach a child server with a namespace prefix"register", "include"
namespacePrefix added to component names during mount"scope", "prefix"
ContextRuntime object passed to tools for logging, state, sampling"request", "session"
ToolErrorException class for user-visible error messages"raise Exception"
annotationTool metadata hints (readOnlyHint, destructiveHint, etc.)"tag", "label"
transportCommunication layer: stdio or Streamable HTTP"protocol", "channel"

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.69%
按下载量换算109

Claude

28.09%
按下载量换算88

Cursor

18.1%
按下载量换算57

Gemini CLI

10.31%
按下载量换算32

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills