FastMCP

Installation
SKILL.md

FastMCP Skill

Product Summary

FastMCP is the standard framework for building Model Context Protocol (MCP) servers, clients, and interactive applications in Python. It handles schema generation, validation, transport, authentication, and protocol compatibility automatically. Use FastMCP to expose Python functions as MCP tools, resources, and prompts; connect to remote or local MCP servers; and deploy MCP services over HTTP or stdio.

Key files and commands:

  • Server definition: FastMCP("ServerName") class with @mcp.tool, @mcp.resource, @mcp.prompt decorators
  • Running servers: mcp.run() method or fastmcp run server.py CLI
  • Client connections: Client(server_url) or Client(Path("server.py"))
  • CLI: fastmcp list, fastmcp call, fastmcp run, fastmcp inspect
  • Configuration: fastmcp.json or MCP config files with mcpServers key
  • Primary docs: https://gofastmcp.com

When to Use

Installs
7
First Seen
Mar 29, 2026