fastmcp
БесплатноБез исполняемых скриптовНе проверенUse this skill when the user wants to build, run, inspect, or install MCP servers with FastMCP — the pythonic MCP framework.
от javimosch★ 58 звёзд на GitHubОб этом скилле
fastmcp Plugin
FastMCP is the dominant Python framework for MCP servers/clients. The fastmcp CLI runs servers over stdio/HTTP/SSE, opens the MCP Inspector for live tool testing, dumps a server's manifest, and installs servers into agent CLIs.
Commands
Server
fastmcp server run <server>— Run a server (--transport stdio|http|sse,--port); also proxies remote servers (fastmcp run https://...)fastmcp server dev <server>— Dev mode with MCP Inspector UI (needs npx)fastmcp server inspect <server>— Print tools/resources/prompts (--format fastmcp|json)fastmcp server install—fastmcp install <target> <server.py>→ claude-code, cursor, claude-desktop, gemini-cli, mcp-json
Project
fastmcp project init— Createfastmcp.tomlin cwdfastmcp _ _— Passthrough (list,copy,env,project prepare, ...)
Usage Examples
- "Run my MCP server over HTTP on port 8000"
- "Show me the tools this server exposes, as JSON"
- "Install server.py into Claude Code"
Installation
pip install fastmcp # or: uv tool install fastmcp; uvx fastmcp for one-offs
fastmcp dev needs Node.js for the MCP Inspector.
Examples
# Minimal server (server.py)
# from fastmcp import FastMCP
# mcp = FastMCP("demo")
# @mcp.tool
# def add(a: int, b: int) -> int: return a + b
fastmcp run server.py # stdio transport
fastmcp run server.py --transport http --port 8000
fastmcp inspect server.py --format json
fastmcp install claude-code server.py
Key Features
- Decorator API:
@mcp.tool,@mcp.resource,@mcp.prompt→ full MCP server in ~10 lines - Transports: stdio (agents), HTTP/SSE (networked); can also proxy existing remote servers
inspectdumps the manifest without launching — great for CI checksinstallwires servers into Claude Code, Cursor, Claude Desktop, Gemini CLI
Установить fastmcp в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл fastmcp?
Use this skill when the user wants to build, run, inspect, or install MCP servers with FastMCP — the pythonic MCP framework.
Как установить скилл fastmcp?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fastmcp запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic