Command Palette

Search for a command to run...

Назад к скиллам
скилл № 93472

fastmcp

Build, test, inspect, and deploy Python MCP servers with FastMCP.

БесплатноБез исполняемых скриптов
metaspartanот metaspartan★ 41 звезда на GitHub

Установить fastmcp в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

FastMCP

Use this when the user wants to create or test a Python MCP server, wrap an API/database/CLI as MCP tools, expose resources/prompts, or prepare an HTTP MCP endpoint.

Server Shape

Start narrow:

  • 1-3 concrete tools first.
  • Read-only by default.
  • Explicit typed parameters.
  • JSON-safe return values.
  • Clear docstrings; the docstring is the user-facing tool description.

Good tool names: get_customer, search_tickets, describe_table, summarize_file. Weak names: run, process, do_thing.

Minimal Template

from fastmcp import FastMCP

mcp = FastMCP("Example")

@mcp.tool
def echo(text: str) -> dict:
    """Echo text back for smoke testing."""
    return {"text": text}

Local Validation

Prefer isolated runs:

uvx fastmcp version
uvx fastmcp inspect server.py:mcp
uvx fastmcp list server.py --json
uvx fastmcp call server.py echo text=hello --json

If uv is unavailable, use a project virtualenv and install fastmcp there. Do not install global Python packages unless the user asks.

HTTP Transport Smoke

uvx fastmcp run server.py:mcp --transport http --host 127.0.0.1 --port 8000
uvx fastmcp list http://127.0.0.1:8000/mcp --json
uvx fastmcp call http://127.0.0.1:8000/mcp echo text=hello --json

Cybara Integration

Once the server contract is stable:

  1. Add it through Cybara MCP configuration or the MCP UI.
  2. Confirm tools/list returns the expected tool names.
  3. Call at least one real tool through Cybara before declaring integration complete.

Safety

  • Validate paths and URLs before using them.
  • Keep database examples read-only until explicitly approved.
  • Never expose raw shell execution as a general MCP tool.
  • Do not pass secrets as plain parameters unless the MCP client/server contract requires it; prefer env/config.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл fastmcp?

Build, test, inspect, and deploy Python MCP servers with FastMCP.

Как установить скилл fastmcp?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл fastmcp запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить fastmcp с