> ## Documentation Index
>
> Fetch the complete documentation index at: </llms.txt>
>
> Use this file to discover all available pages before exploring further.
[Skip to main content](#content-area)
Meet [Prefect Horizon](https://prefect.io/horizon?utm_source=gofastmcp&utm_medium=docs&utm_campaign=docs_banner&utm_content=sitewide_banner), the enterprise MCP gateway built by the team behind FastMCP
v3
- [Prefect Horizon](https://prefect.io/horizon)
Search...
Navigation
Search the docs...
Documentation
### Get Started
- [Welcome!](/getting-started/welcome)
- [Installation](/getting-started/installation)
- [Quickstart](/getting-started/quickstart)
### Servers
- [Overview](/servers/server)
- Core Components
- Working with Tools
- MCP Providers
- Interactivity
- Extensibility
- Auth
- Deployment
### Apps
- [Overview](/apps/overview)
- [Quickstart
  NEW](/apps/quickstart)
- [FastMCPApp
  NEW](/apps/fastmcp-app)
- [Interactive Tools
  NEW](/apps/prefab)
- [Generative UI
  NEW](/apps/generative)
- [Custom HTML](/apps/low-level)
- Reference
### Clients
- [Overview](/clients/client)
- [Client-Only Package](/clients/client-only-package)
- [Transports](/clients/transports)
- [fastmcp-remote](/clients/fastmcp-remote)
- OperationsUPDATED
- AuthenticationUPDATED
### Integrations
- Auth
- Web Frameworks
- AI Assistants
- AI SDKs
- [MCP.json](/integrations/mcp-json-configuration)
### More
- [Settings](/more/settings)
- CLI
- Upgrading
- Development
- What's New
- [FAQ](/more/faq)
## On this page
Copy page
Copy page
```
```
server.py
```
from fastmcp import FastMCP
)
```
```
```
```
from fastmcp import Client
if __name__ == "__main__":
```
server.py
```
from fastmcp import FastMCP
)
@mcp.tool
```
server.py
```
from fastmcp import FastMCP
)
```
[discord](https://discord.gg/uu8dJCgttd)[github](https://github.com/PrefectHQ/fastmcp)[website](https://www.prefect.io)[x](https://x.com/fastmcp)
[Powered byThis documentation is built and hosted on Mintlify, a developer documentation platform](https://www.mintlify.com?utm_campaign=poweredBy&utm_medium=referral&utm_source=fastmcp)
Assistant
Responses are generated using AI and may contain mistakes.
