---
schema: rendered-html/v1
title: "Welcome to FastMCP - FastMCP"
source_url: https://gofastmcp.com/
generated_at: 2026-06-11T19:34:49.032322+00:00
---




[FastMCP home page![light logo](images/gofastmcp__com__root__wordmark.avif)![dark logo](images/gofastmcp__com__root__wordmark-white.avif)](/)







Get Started

Welcome to FastMCP





















Get Started

# Welcome to FastMCP


The fast, Pythonic way to build MCP servers, clients, and applications.


[](https://mintcdn.com/fastmcp/-fU9AuXWlaP61Fuq/assets/brand/f-watercolor-waves-4-animated.mp4?fit=max&auto=format&n=-fU9AuXWlaP61Fuq&q=85&s=5eb68c6916a4c338185cae8b742f144d)
[](https://mintcdn.com/fastmcp/-fU9AuXWlaP61Fuq/assets/brand/f-watercolor-waves-4-dark-animated.mp4?fit=max&auto=format&n=-fU9AuXWlaP61Fuq&q=85&s=aa3158596f22114e69a601d9c68aa8e4)
**FastMCP is the standard framework for building MCP applications.** The [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) connects LLMs to tools and data. FastMCP gives you everything you need to go from prototype to production — build servers that expose capabilities, connect clients to any MCP service, and give your tools interactive UIs:


mcp = FastMCP("Demo 🚀")

def add(a: int, b: int) -> int:
    """Add two numbers"""
    return a + b

    mcp.run()

## [​](#move-fast-and-make-things) Move Fast and Make Things

The [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) lets you give agents access to your tools and data. But building an effective MCP application is harder than it looks.
FastMCP handles all of it. Declare a tool with a Python function, and the schema, validation, and documentation are generated automatically. Connect to a server with a URL, and transport negotiation, authentication, and protocol lifecycle are managed for you. You focus on your logic, and the MCP part just works: **with FastMCP, best practices are built in.**
**That’s why FastMCP is the standard framework for working with MCP.** FastMCP 1.0 was incorporated into the official MCP Python SDK in 2024. Today, the actively maintained standalone project is downloaded a million times a day, and some version of FastMCP powers 70% of MCP servers across all languages.
FastMCP has three pillars:

![servers-card](images/gofastmcp__com__root__servers-card.jpg)

[## Servers

Expose tools, resources, and prompts to LLMs.](gofastmcp__com__servers__server.md)

![apps-card](images/gofastmcp__com__root__apps-card.avif)

[## Apps

Give your tools interactive UIs rendered directly in the conversation.](gofastmcp__com__apps__overview.md)

![clients-card](images/gofastmcp__com__root__clients-card.avif)

[## Clients

Connect to any MCP server — local or remote, programmatic or CLI.](gofastmcp__com__clients__client.md)

**[Servers](gofastmcp__com__servers__server.md)** wrap your Python functions into MCP-compliant tools, resources, and prompts. **[Clients](gofastmcp__com__clients__client.md)** connect to any server with full protocol support. And **[Apps](gofastmcp__com__apps__overview.md)** give your tools interactive UIs rendered directly in the conversation.
Ready to build? Start with the [installation guide](gofastmcp__com__getting-started__installation.md) or jump straight to the [quickstart](gofastmcp__com__getting-started__quickstart.md).
FastMCP is made with 💙 by [Prefect](https://www.prefect.io/).

## [​](#run-fastmcp-in-production-with-horizon) Run FastMCP in production with Horizon

FastMCP is the standard way to build MCP servers. **[Prefect Horizon](https://www.prefect.io/horizon?utm_source=gofastmcp&utm_medium=docs&utm_campaign=docs_welcome&utm_content=welcome_body)** is the enterprise MCP gateway for running them safely.
Built by the FastMCP team, Horizon packages the best practices we’ve learned shipping the world’s most popular MCP framework.
Deploy FastMCP servers from GitHub with branch previews and instant rollback. Create a private registry of every MCP your company uses. Secure access with SSO and tool-level RBAC. Get audit logs, observability, and governance across your MCP stack. Remix approved tools into purpose-built endpoints for teams and agents.
Start with FastMCP. [Scale with Horizon →](https://www.prefect.io/horizon?utm_source=gofastmcp&utm_medium=docs&utm_campaign=docs_welcome&utm_content=welcome_cta)

**This documentation reflects FastMCP’s `main` branch**, meaning it always reflects the latest development version. Features are generally marked with version badges (e.g. `New in version: 3.0.0`) to indicate when they were introduced. Note that this may include features that are not yet released.

## [​](#llm-friendly-docs) LLM-Friendly Docs

The FastMCP documentation is available in multiple LLM-friendly formats:

### [​](#mcp-server) MCP Server

The FastMCP docs are accessible via MCP! The server URL is `https://gofastmcp.com/mcp`.
In fact, you can use FastMCP to search the FastMCP docs:

import asyncio

async def main():
    async with Client("https://gofastmcp.com/mcp") as client:
        result = await client.call_tool(
            name="search_fast_mcp",
            arguments={"query": "deploy a FastMCP server"}
    print(result)

asyncio.run(main())

### [​](#text-formats) Text Formats

The docs are also available in [llms.txt format](https://llmstxt.org/):

- [llms.txt](https://gofastmcp.com/llms.txt) - A sitemap listing all documentation pages
- [llms-full.txt](https://gofastmcp.com/llms-full.txt) - The entire documentation in one file (may exceed context windows)

Any page can be accessed as markdown by appending `.md` to the URL. For example, this page becomes `https://gofastmcp.com/getting-started/welcome.md`.
You can also copy any page as markdown by pressing “Cmd+C” (or “Ctrl+C” on Windows) on your keyboard.

[Installation

Next](gofastmcp__com__getting-started__installation.md)






