1---2name: 070-purpose-0bb1b6653description: FastMCP Documentation Index (llms.txt)4---5# FastMCP Documentation Index (llms.txt)67**Purpose:** Authoritative URL index for FastMCP v2 documentation. Use web_fetch on these URLs to retrieve complete documentation.89**Usage:**101. Search this file for topic keywords112. Use web_fetch on the matched URL (append .md if needed)123. Apply patterns from fetched documentation1314**Example:**15- Need authentication → Search "authentication" → web_fetch https://gofastmcp.com/servers/auth/authentication.md1617---1819# FastMCP2021## Docs2223- [Changelog](https://gofastmcp.com/changelog.md)24- [Bearer Token Authentication](https://gofastmcp.com/clients/auth/bearer.md): Authenticate your FastMCP client with a Bearer token.25- [OAuth Authentication](https://gofastmcp.com/clients/auth/oauth.md): Authenticate your FastMCP client via OAuth 2.1.26- [The FastMCP Client](https://gofastmcp.com/clients/client.md): Programmatic client for interacting with MCP servers through a well-typed, Pythonic interface.27- [User Elicitation](https://gofastmcp.com/clients/elicitation.md): Handle server-initiated user input requests with structured schemas.28- [Server Logging](https://gofastmcp.com/clients/logging.md): Receive and handle log messages from MCP servers.29- [Message Handling](https://gofastmcp.com/clients/messages.md): Handle MCP messages, requests, and notifications with custom message handlers.30- [Progress Monitoring](https://gofastmcp.com/clients/progress.md): Handle progress notifications from long-running server operations.31- [Prompts](https://gofastmcp.com/clients/prompts.md): Use server-side prompt templates with automatic argument serialization.32- [Resource Operations](https://gofastmcp.com/clients/resources.md): Access static and templated resources from MCP servers.33- [Client Roots](https://gofastmcp.com/clients/roots.md): Provide local context and resource boundaries to MCP servers.34- [LLM Sampling](https://gofastmcp.com/clients/sampling.md): Handle server-initiated LLM sampling requests.35- [Background Tasks](https://gofastmcp.com/clients/tasks.md): Execute operations asynchronously and track their progress36- [Tool Operations](https://gofastmcp.com/clients/tools.md): Discover and execute server-side tools with the FastMCP client.37- [Client Transports](https://gofastmcp.com/clients/transports.md): Configure how FastMCP Clients connect to and communicate with servers.38- [FastMCP Cloud](https://gofastmcp.com/deployment/fastmcp-cloud.md): The fastest way to deploy your MCP server39- [HTTP Deployment](https://gofastmcp.com/deployment/http.md): Deploy your FastMCP server over HTTP for remote access40- [Running Your Server](https://gofastmcp.com/deployment/running-server.md): Learn how to run your FastMCP server locally for development and testing41- [Project Configuration](https://gofastmcp.com/deployment/server-configuration.md): Use fastmcp.json for portable, declarative project configuration42- [Contributing](https://gofastmcp.com/development/contributing.md): Development workflow for FastMCP contributors43- [Releases](https://gofastmcp.com/development/releases.md): FastMCP versioning and release process44- [Tests](https://gofastmcp.com/development/tests.md): Testing patterns and requirements for FastMCP45- [Upgrade Guide](https://gofastmcp.com/development/upgrade-guide.md): Migration instructions for upgrading between FastMCP versions46- [Installation](https://gofastmcp.com/getting-started/installation.md)47- [Quickstart](https://gofastmcp.com/getting-started/quickstart.md)48- [Welcome to FastMCP 2.0!](https://gofastmcp.com/getting-started/welcome.md): The fast, Pythonic way to build MCP servers and clients.49- [Anthropic API 🤝 FastMCP](https://gofastmcp.com/integrations/anthropic.md): Connect FastMCP servers to the Anthropic API50- [Auth0 OAuth 🤝 FastMCP](https://gofastmcp.com/integrations/auth0.md): Secure your FastMCP server with Auth0 OAuth51- [AuthKit 🤝 FastMCP](https://gofastmcp.com/integrations/authkit.md): Secure your FastMCP server with AuthKit by WorkOS52- [AWS Cognito OAuth 🤝 FastMCP](https://gofastmcp.com/integrations/aws-cognito.md): Secure your FastMCP server with AWS Cognito user pools53- [Azure (Microsoft Entra ID) OAuth 🤝 FastMCP](https://gofastmcp.com/integrations/azure.md): Secure your FastMCP server with Azure/Microsoft Entra OAuth54- [ChatGPT 🤝 FastMCP](https://gofastmcp.com/integrations/chatgpt.md): Connect FastMCP servers to ChatGPT in Chat and Deep Research modes55- [Claude Code 🤝 FastMCP](https://gofastmcp.com/integrations/claude-code.md): Install and use FastMCP servers in Claude Code56- [Claude Desktop 🤝 FastMCP](https://gofastmcp.com/integrations/claude-desktop.md): Connect FastMCP servers to Claude Desktop57- [Cursor 🤝 FastMCP](https://gofastmcp.com/integrations/cursor.md): Install and use FastMCP servers in Cursor58- [Descope 🤝 FastMCP](https://gofastmcp.com/integrations/descope.md): Secure your FastMCP server with Descope59- [Discord OAuth 🤝 FastMCP](https://gofastmcp.com/integrations/discord.md): Secure your FastMCP server with Discord OAuth60- [Eunomia Authorization 🤝 FastMCP](https://gofastmcp.com/integrations/eunomia-authorization.md): Add policy-based authorization to your FastMCP servers with Eunomia61- [FastAPI 🤝 FastMCP](https://gofastmcp.com/integrations/fastapi.md): Integrate FastMCP with FastAPI applications62- [Gemini SDK 🤝 FastMCP](https://gofastmcp.com/integrations/gemini.md): Connect FastMCP servers to the Google Gemini SDK63- [Gemini CLI 🤝 FastMCP](https://gofastmcp.com/integrations/gemini-cli.md): Install and use FastMCP servers in Gemini CLI64- [GitHub OAuth 🤝 FastMCP](https://gofastmcp.com/integrations/github.md): Secure your FastMCP server with GitHub OAuth65- [Google OAuth 🤝 FastMCP](https://gofastmcp.com/integrations/google.md): Secure your FastMCP server with Google OAuth66- [MCP JSON Configuration 🤝 FastMCP](https://gofastmcp.com/integrations/mcp-json-configuration.md): Generate standard MCP configuration files for any compatible client67- [OCI IAM OAuth 🤝 FastMCP](https://gofastmcp.com/integrations/oci.md): Secure your FastMCP server with OCI IAM OAuth68- [OpenAI API 🤝 FastMCP](https://gofastmcp.com/integrations/openai.md): Connect FastMCP servers to the OpenAI API69- [OpenAPI 🤝 FastMCP](https://gofastmcp.com/integrations/openapi.md): Generate MCP servers from any OpenAPI specification70- [Permit.io Authorization 🤝 FastMCP](https://gofastmcp.com/integrations/permit.md): Add fine-grained authorization to your FastMCP servers with Permit.io71- [Scalekit 🤝 FastMCP](https://gofastmcp.com/integrations/scalekit.md): Secure your FastMCP server with Scalekit72- [Supabase 🤝 FastMCP](https://gofastmcp.com/integrations/supabase.md): Secure your FastMCP server with Supabase Auth73- [WorkOS 🤝 FastMCP](https://gofastmcp.com/integrations/workos.md): Authenticate FastMCP servers with WorkOS Connect74- [FastMCP CLI](https://gofastmcp.com/patterns/cli.md): Learn how to use the FastMCP command-line interface75- [Contrib Modules](https://gofastmcp.com/patterns/contrib.md): Community-contributed modules extending FastMCP76- [Decorating Methods](https://gofastmcp.com/patterns/decorating-methods.md): Properly use instance methods, class methods, and static methods with FastMCP decorators.77- [Testing your FastMCP Server](https://gofastmcp.com/patterns/testing.md): How to test your FastMCP server.78- [Tool Transformation](https://gofastmcp.com/patterns/tool-transformation.md): Create enhanced tool variants with modified schemas, argument mappings, and custom behavior.79- [__init__](https://gofastmcp.com/python-sdk/fastmcp-cli-__init__.md)80- [cli](https://gofastmcp.com/python-sdk/fastmcp-cli-cli.md)81- [__init__](https://gofastmcp.com/python-sdk/fastmcp-cli-install-__init__.md)82- [claude_code](https://gofastmcp.com/python-sdk/fastmcp-cli-install-claude_code.md)83- [claude_desktop](https://gofastmcp.com/python-sdk/fastmcp-cli-install-claude_desktop.md)84- [cursor](https://gofastmcp.com/python-sdk/fastmcp-cli-install-cursor.md)85- [gemini_cli](https://gofastmcp.com/python-sdk/fastmcp-cli-install-gemini_cli.md)86- [mcp_json](https://gofastmcp.com/python-sdk/fastmcp-cli-install-mcp_json.md)87- [shared](https://gofastmcp.com/python-sdk/fastmcp-cli-install-shared.md)88- [run](https://gofastmcp.com/python-sdk/fastmcp-cli-run.md)89- [tasks](https://gofastmcp.com/python-sdk/fastmcp-cli-tasks.md)90- [__init__](https://gofastmcp.com/python-sdk/fastmcp-client-__init__.md)91- [__init__](https://gofastmcp.com/python-sdk/fastmcp-client-auth-__init__.md)92- [bearer](https://gofastmcp.com/python-sdk/fastmcp-client-auth-bearer.md)93- [oauth](https://gofastmcp.com/python-sdk/fastmcp-client-auth-oauth.md)94- [client](https://gofastmcp.com/python-sdk/fastmcp-client-client.md)95- [elicitation](https://gofastmcp.com/python-sdk/fastmcp-client-elicitation.md)96- [logging](https://gofastmcp.com/python-sdk/fastmcp-client-logging.md)97- [messages](https://gofastmcp.com/python-sdk/fastmcp-client-messages.md)98- [oauth_callback](https://gofastmcp.com/python-sdk/fastmcp-client-oauth_callback.md)99- [progress](https://gofastmcp.com/python-sdk/fastmcp-client-progress.md)100- [roots](https://gofastmcp.com/python-sdk/fastmcp-client-roots.md)101- [sampling](https://gofastmcp.com/python-sdk/fastmcp-client-sampling.md)102- [tasks](https://gofastmcp.com/python-sdk/fastmcp-client-tasks.md)103- [transports](https://gofastmcp.com/python-sdk/fastmcp-client-transports.md)104- [dependencies](https://gofastmcp.com/python-sdk/fastmcp-dependencies.md)105- [exceptions](https://gofastmcp.com/python-sdk/fastmcp-exceptions.md)106- [mcp_config](https://gofastmcp.com/python-sdk/fastmcp-mcp_config.md)107- [__init__](https://gofastmcp.com/python-sdk/fastmcp-prompts-__init__.md)108- [prompt](https://gofastmcp.com/python-sdk/fastmcp-prompts-prompt.md)109- [prompt_manager](https://gofastmcp.com/python-sdk/fastmcp-prompts-prompt_manager.md)110- [__init__](https://gofastmcp.com/python-sdk/fastmcp-resources-__init__.md)111- [resource](https://gofastmcp.com/python-sdk/fastmcp-resources-resource.md)112- [resource_manager](https://gofastmcp.com/python-sdk/fastmcp-resources-resource_manager.md)113- [template](https://gofastmcp.com/python-sdk/fastmcp-resources-template.md)114- [types](https://gofastmcp.com/python-sdk/fastmcp-resources-types.md)115- [__init__](https://gofastmcp.com/python-sdk/fastmcp-server-__init__.md)116- [__init__](https://gofastmcp.com/python-sdk/fastmcp-server-auth-__init__.md)117- [auth](https://gofastmcp.com/python-sdk/fastmcp-server-auth-auth.md)118- [jwt_issuer](https://gofastmcp.com/python-sdk/fastmcp-server-auth-jwt_issuer.md)119- [middleware](https://gofastmcp.com/python-sdk/fastmcp-server-auth-middleware.md)120- [oauth_proxy](https://gofastmcp.com/python-sdk/fastmcp-server-auth-oauth_proxy.md)121- [oidc_proxy](https://gofastmcp.com/python-sdk/fastmcp-server-auth-oidc_proxy.md)122- [__init__](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-__init__.md)123- [auth0](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-auth0.md)124- [aws](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-aws.md)125- [azure](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-azure.md)126- [debug](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-debug.md)127- [descope](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-descope.md)128- [discord](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-discord.md)129- [github](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-github.md)130- [google](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-google.md)131- [in_memory](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-in_memory.md)132- [introspection](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-introspection.md)133- [jwt](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-jwt.md)134- [oci](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-oci.md)135- [scalekit](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-scalekit.md)136- [supabase](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-supabase.md)137- [workos](https://gofastmcp.com/python-sdk/fastmcp-server-auth-providers-workos.md)138- [redirect_validation](https://gofastmcp.com/python-sdk/fastmcp-server-auth-redirect_validation.md)139- [context](https://gofastmcp.com/python-sdk/fastmcp-server-context.md)140- [dependencies](https://gofastmcp.com/python-sdk/fastmcp-server-dependencies.md)141- [elicitation](https://gofastmcp.com/python-sdk/fastmcp-server-elicitation.md)142- [event_store](https://gofastmcp.com/python-sdk/fastmcp-server-event_store.md)143- [http](https://gofastmcp.com/python-sdk/fastmcp-server-http.md)144- [low_level](https://gofastmcp.com/python-sdk/fastmcp-server-low_level.md)145- [__init__](https://gofastmcp.com/python-sdk/fastmcp-server-middleware-__init__.md)146- [caching](https://gofastmcp.com/python-sdk/fastmcp-server-middleware-caching.md)147- [error_handling](https://gofastmcp.com/python-sdk/fastmcp-server-middleware-error_handling.md)148- [logging](https://gofastmcp.com/python-sdk/fastmcp-server-middleware-logging.md)149- [middleware](https://gofastmcp.com/python-sdk/fastmcp-server-middleware-middleware.md)150- [rate_limiting](https://gofastmcp.com/python-sdk/fastmcp-server-middleware-rate_limiting.md)151- [timing](https://gofastmcp.com/python-sdk/fastmcp-server-middleware-timing.md)152- [tool_injection](https://gofastmcp.com/python-sdk/fastmcp-server-middleware-tool_injection.md)153- [__init__](https://gofastmcp.com/python-sdk/fastmcp-server-openapi-__init__.md)154- [components](https://gofastmcp.com/python-sdk/fastmcp-server-openapi-components.md)155- [routing](https://gofastmcp.com/python-sdk/fastmcp-server-openapi-routing.md)156- [server](https://gofastmcp.com/python-sdk/fastmcp-server-openapi-server.md)157- [proxy](https://gofastmcp.com/python-sdk/fastmcp-server-proxy.md)158- [server](https://gofastmcp.com/python-sdk/fastmcp-server-server.md)159- [__init__](https://gofastmcp.com/python-sdk/fastmcp-server-tasks-__init__.md)160- [capabilities](https://gofastmcp.com/python-sdk/fastmcp-server-tasks-capabilities.md)161- [config](https://gofastmcp.com/python-sdk/fastmcp-server-tasks-config.md)162- [converters](https://gofastmcp.com/python-sdk/fastmcp-server-tasks-converters.md)163- [handlers](https://gofastmcp.com/python-sdk/fastmcp-server-tasks-handlers.md)164- [protocol](https://gofastmcp.com/python-sdk/fastmcp-server-tasks-protocol.md)165- [subscriptions](https://gofastmcp.com/python-sdk/fastmcp-server-tasks-subscriptions.md)166- [settings](https://gofastmcp.com/python-sdk/fastmcp-settings.md)167- [__init__](https://gofastmcp.com/python-sdk/fastmcp-tools-__init__.md)168- [tool](https://gofastmcp.com/python-sdk/fastmcp-tools-tool.md)169- [tool_manager](https://gofastmcp.com/python-sdk/fastmcp-tools-tool_manager.md)170- [tool_transform](https://gofastmcp.com/python-sdk/fastmcp-tools-tool_transform.md)171- [__init__](https://gofastmcp.com/python-sdk/fastmcp-utilities-__init__.md)172- [auth](https://gofastmcp.com/python-sdk/fastmcp-utilities-auth.md)173- [cli](https://gofastmcp.com/python-sdk/fastmcp-utilities-cli.md)174- [components](https://gofastmcp.com/python-sdk/fastmcp-utilities-components.md)175- [exceptions](https://gofastmcp.com/python-sdk/fastmcp-utilities-exceptions.md)176- [http](https://gofastmcp.com/python-sdk/fastmcp-utilities-http.md)177- [inspect](https://gofastmcp.com/python-sdk/fastmcp-utilities-inspect.md)178- [json_schema](https://gofastmcp.com/python-sdk/fastmcp-utilities-json_schema.md)179- [json_schema_type](https://gofastmcp.com/python-sdk/fastmcp-utilities-json_schema_type.md)180- [logging](https://gofastmcp.com/python-sdk/fastmcp-utilities-logging.md)181- [mcp_config](https://gofastmcp.com/python-sdk/fastmcp-utilities-mcp_config.md)182- [__init__](https://gofastmcp.com/python-sdk/fastmcp-utilities-mcp_server_config-__init__.md)183- [__init__](https://gofastmcp.com/python-sdk/fastmcp-utilities-mcp_server_config-v1-__init__.md)184- [__init__](https://gofastmcp.com/python-sdk/fastmcp-utilities-mcp_server_config-v1-environments-__init__.md)185- [base](https://gofastmcp.com/python-sdk/fastmcp-utilities-mcp_server_config-v1-environments-base.md)186- [uv](https://gofastmcp.com/python-sdk/fastmcp-utilities-mcp_server_config-v1-environments-uv.md)187- [mcp_server_config](https://gofastmcp.com/python-sdk/fastmcp-utilities-mcp_server_config-v1-mcp_server_config.md)188- [__init__](https://gofastmcp.com/python-sdk/fastmcp-utilities-mcp_server_config-v1-sources-__init__.md)189- [base](https://gofastmcp.com/python-sdk/fastmcp-utilities-mcp_server_config-v1-sources-base.md)190- [filesystem](https://gofastmcp.com/python-sdk/fastmcp-utilities-mcp_server_config-v1-sources-filesystem.md)191- [__init__](https://gofastmcp.com/python-sdk/fastmcp-utilities-openapi-__init__.md)192- [director](https://gofastmcp.com/python-sdk/fastmcp-utilities-openapi-director.md)193- [formatters](https://gofastmcp.com/python-sdk/fastmcp-utilities-openapi-formatters.md)194- [json_schema_converter](https://gofastmcp.com/python-sdk/fastmcp-utilities-openapi-json_schema_converter.md)195- [models](https://gofastmcp.com/python-sdk/fastmcp-utilities-openapi-models.md)196- [parser](https://gofastmcp.com/python-sdk/fastmcp-utilities-openapi-parser.md)197- [schemas](https://gofastmcp.com/python-sdk/fastmcp-utilities-openapi-schemas.md)198- [tests](https://gofastmcp.com/python-sdk/fastmcp-utilities-tests.md)199- [types](https://gofastmcp.com/python-sdk/fastmcp-utilities-types.md)200- [ui](https://gofastmcp.com/python-sdk/fastmcp-utilities-ui.md)201- [Authentication](https://gofastmcp.com/servers/auth/authentication.md): Secure your FastMCP server with flexible authentication patterns, from simple API keys to full OAuth 2.1 integration with external identity providers.202- [Full OAuth Server](https://gofastmcp.com/servers/auth/full-oauth-server.md): Build a self-contained authentication system where your FastMCP server manages users, issues tokens, and validates them.203- [OAuth Proxy](https://gofastmcp.com/servers/auth/oauth-proxy.md): Bridge traditional OAuth providers to work seamlessly with MCP's authentication flow.204- [OIDC Proxy](https://gofastmcp.com/servers/auth/oidc-proxy.md): Bridge OIDC providers to work seamlessly with MCP's authentication flow.205- [Remote OAuth](https://gofastmcp.com/servers/auth/remote-oauth.md): Integrate your FastMCP server with external identity providers like Descope, WorkOS, Auth0, and corporate SSO systems.206- [Token Verification](https://gofastmcp.com/servers/auth/token-verification.md): Protect your server by validating bearer tokens issued by external systems.207- [Server Composition](https://gofastmcp.com/servers/composition.md): Combine multiple FastMCP servers into a single, larger application using mounting and importing.208- [MCP Context](https://gofastmcp.com/servers/context.md): Access MCP capabilities like logging, progress, and resources within your MCP objects.209- [User Elicitation](https://gofastmcp.com/servers/elicitation.md): Request structured input from users during tool execution through the MCP context.210- [Icons](https://gofastmcp.com/servers/icons.md): Add visual icons to your servers, tools, resources, and prompts211- [Client Logging](https://gofastmcp.com/servers/logging.md): Send log messages back to MCP clients through the context.212- [MCP Middleware](https://gofastmcp.com/servers/middleware.md): Add cross-cutting functionality to your MCP server with middleware that can inspect, modify, and respond to all MCP requests and responses.213- [Progress Reporting](https://gofastmcp.com/servers/progress.md): Update clients on the progress of long-running operations through the MCP context.214- [Prompts](https://gofastmcp.com/servers/prompts.md): Create reusable, parameterized prompt templates for MCP clients.215- [Proxy Servers](https://gofastmcp.com/servers/proxy.md): Use FastMCP to act as an intermediary or change transport for other MCP servers.216- [Resources & Templates](https://gofastmcp.com/servers/resources.md): Expose data sources and dynamic content generators to your MCP client.217- [LLM Sampling](https://gofastmcp.com/servers/sampling.md): Request LLM text generation from the client or a configured provider through the MCP context.218- [The FastMCP Server](https://gofastmcp.com/servers/server.md): The core FastMCP server class for building MCP applications with tools, resources, and prompts.219- [Storage Backends](https://gofastmcp.com/servers/storage-backends.md): Configure persistent and distributed storage for caching and OAuth state management220- [Background Tasks](https://gofastmcp.com/servers/tasks.md): Run long-running operations asynchronously with progress tracking221- [Tools](https://gofastmcp.com/servers/tools.md): Expose functions as executable capabilities for your MCP client.222- [FastMCP Updates](https://gofastmcp.com/updates.md)