Fastmcp Templates
Templates and best practices for building Model Context Protocol (MCP) client and server applications with FastMCP. Includes context management patterns, modular structure, and annotated docs.
Ask AI about Fastmcp Templates
Powered by Claude Β· Grounded in docs
I know everything about Fastmcp Templates. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
fastmcp-templates
A reference kit for building robust, modular Model Context Protocol (MCP) clients and servers with FastMCP.
fastmcp-templates
A reference kit for building robust, modular Model Context Protocol (MCP) clients and servers using FastMCP.
This repository is organized so teams can quickly bootstrap a client, a server, or explore the accompanying design documents and tests.
Overview
client/β MCP client implementation and helper subclients. Seeclient/README.mdfor usage and examples.server/β FastMCP server template and exampleapp/modules. Seeserver/README.mdfor running and extending.document/β Architecture notes, guides, and comparison essays;document/README.mdsummarizes the docs.tests/β Pytest-based unit and integration tests that exercise client/server flows and subscriptions.
Quickstart
- Clone and enter the repo:
git clone https://github.com/JoshuaWink/fastmcp-templates.git
cd fastmcp-templates
- Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate
- Install dependencies (project uses pyproject.toml where possible):
pip install -r requirements.txt
- Run the test suite:
pytest -q
- Read the area docs:
- Client:
client/README.md - Server:
server/README.md - Docs:
document/README.md
Templates & Usage
This repo is marked as a GitHub template. Use the green "Use this template" button on GitHub to scaffold a new repo.
Contributing
Please open issues or pull requests. Tests are required for new features.
License
Apache-2.0
