fastmcp

Build, test, inspect, install, and deploy FastMCP servers in Python.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/dawsonblock/HERMY --skill fastmcp-dawsonblock
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fastmcp
Source: https://github.com/dawsonblock/HERMY/tree/main/hermes-agent-2026.4.23/optional-skills/mcp/fastmcp
Command: npx skills add https://github.com/dawsonblock/HERMY --skill fastmcp-dawsonblock

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Build, test, inspect, install, and deploy MCP servers with FastMCP in Python. Use when creating a new MCP server, wrapping an API or database as MCP tools, exposing resources or prompts, or preparing a FastMCP server for Claude Code, Cursor, or HTTP deployment.

Core Features & Use Cases

  • Templates for API wrappers, read-only database servers, and deterministic file processors to scaffold MCP tools quickly.
  • Scaffold and template tooling to copy starter templates and replace server name placeholders.
  • Tool-first development workflow that emphasizes explicit tool definitions, docstrings, typed parameters, and safe defaults.
  • Local validation and testing using the FastMCP CLI to inspect, list, and call tools before integration.
  • Client installations and deployment into Claude Code, Claude Desktop, Cursor, or generic HTTP endpoints.
  • Environment checks and integration guidance via a small doctor script and templates for deployment readiness.

Quick Start

Run the scaffold_fastmcp script to generate a starter server from templates, then implement your first MCP tool and test locally.

Frequently Asked Questions about fastmcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new MCP server with FastMCP in Python?

To scaffold a new MCP server with FastMCP, run the provided scaffold_fastmcp script to generate a starter server from templates, then implement your first MCP tool using explicit definitions and typed parameters.

What is the best way to wrap an API or database as MCP tools?

The best way to wrap an API or database as MCP tools is using FastMCP templates for API wrappers and read-only database servers, which provide structured scaffolding to expose endpoints or queries as callable tools.

Can I deploy a FastMCP server to Claude Code or Cursor?

Yes, you can deploy a FastMCP server to Claude Code, Claude Desktop, Cursor, or generic HTTP endpoints. The Skill includes client installation guidance and deployment templates to prepare servers for integration.

How do I test and inspect MCP tools locally before deployment?

You test and inspect MCP tools locally using the FastMCP CLI to list, call, and validate tools before integration. A doctor script also checks environment readiness for deployment.

Do I need to define typed parameters and docstrings for MCP tools?

Yes, the FastMCP workflow emphasizes a tool-first development approach requiring explicit tool definitions, docstrings, typed parameters, and safe defaults to ensure reliable local validation and client integration.