fastmcp

Solid

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.

AI & Automation 173,893 stars 29465 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# FastMCP Build MCP servers in Python with FastMCP, validate them locally, install them into MCP clients, and deploy them as HTTP endpoints. ## When to Use Use this skill when the task is to: - create a new MCP server in Python - wrap an API, database, CLI, or file-processing workflow as MCP tools - expose resources or prompts in addition to tools - smoke-test a server with the FastMCP CLI before wiring it into Hermes or another client - install a server into Claude Code, Claude Desktop, Cursor, or a similar MCP client - prepare a FastMCP server repo for HTTP deployment Use `native-mcp` when the server already exists and only needs to be connected to Hermes. Use `mcporter` when the goal is ad-hoc CLI access to an existing MCP server instead of building one. ## Prerequisites Install FastMCP in the working environment first: ```bash pip install fastmcp fastmcp version ``` For the API template, install `httpx` if it is not already present: ```bash pip install httpx ``` ## Included Files ### Templates - `templates/api_wrapper.py` - REST API wrapper with auth header support - `templates/database_server.py` - read-only SQLite query server - `templates/file_processor.py` - text-file inspection and search server ### Scripts - `scripts/scaffold_fastmcp.py` - copy a starter template and replace the server name placeholder ### References - `references/fastmcp-cli.md` - FastMCP CLI workflow, installation targets, and deployment checks ## Workflow ### 1. Pick the Smalle...

Details

Author
NousResearch
Repository
NousResearch/hermes-agent
Created
10 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category