🚀 The fast, Pythonic way to build MCP servers and clients.
Minor docs updates
Jeremiah Lowin983ac0448121
diff --git a/docs/integrations/anthropic.mdx b/docs/integrations/anthropic.mdxindex 041040b00..c5cdaea69 100644--- a/docs/integrations/anthropic.mdx+++ b/docs/integrations/anthropic.mdx@@ -1,6 +1,6 @@----title: Anthropic-sidebarTitle: Anthropic+title: Anthropic API + FastMCP+sidebarTitle: Anthropic APIdescription: Call FastMCP servers from the Anthropic APIicon: message-smiletag: "New!"@@ -8,9 +8,6 @@ tag: "New!"import { VersionBadge } from "/snippets/version-badge.mdx"-Anthropic supports MCP servers through the [MCP connector](https://docs.anthropic.com/en/docs/agents-and-tools/mcp-connector) feature in the Messages API, allowing you to extend AI capabilities with custom tools from remote MCP servers.--## Messages APIAnthropic's [Messages API](https://docs.anthropic.com/en/api/messages) supports MCP servers as remote tool sources. This tutorial will show you how to create a FastMCP server and deploy it to a public URL, then how to call it from the Messages API.@@ -18,7 +15,7 @@ Anthropic's [Messages API](https://docs.anthropic.com/en/api/messages) supportsCurrently, the MCP connector only accesses **tools** from MCP servers—it queries the `list_tools` endpoint and exposes those functions to Claude. Other MCP features like resources and prompts are not currently supported. You can read more about the MCP connector in the [Anthropic documentation](https://docs.anthropic.com/en/docs/agents-and-tools/mcp-connector).</Tip>-### Create a Server+## Create a ServerFirst, create a FastMCP server with the tools you want to expose. For this example, we'll create a server with a single tool that rolls dice.@@ -37,7 +34,7 @@ if __name__ == "__main__":mcp.run(transport="sse", port=8000)```-### Deploy the Server+## Deploy the ServerYour server must be deployed to a public URL in order for Anthropic to access it. The MCP connector supports both SSE and Streamable HTTP transports.@@ -59,7 +56,7 @@ ngrok http 8000This exposes your unauthenticated server to the internet. Only run this command in a safe environment if you understand the risks.</Warning>-### Call the Server+## Call the ServerTo use the Messages API with MCP servers, you'll need to install the Anthropic Python SDK (not included with FastMCP):@@ -114,13 +111,13 @@ The results were 4, 2, and 6. Would you like me to roll again or roll a differen```-### Authentication+## Authentication<VersionBadge version="2.6.0" />The MCP connector supports OAuth authentication through authorization tokens, which means you can secure your server while still allowing Anthropic to access it.-#### Server Authentication+### Server AuthenticationThe simplest way to add authentication to the server is to use a bearer token scheme.@@ -181,7 +178,7 @@ if __name__ == "__main__":mcp.run(transport="sse", port=8000)```-#### Client Authentication+### Client AuthenticationIf you try to call the authenticated server with the same Anthropic code we wrote earlier, you'll get an error indicating that the server rejected the request because it's not authenticated.diff --git a/docs/integrations/claude-desktop.mdx b/docs/integrations/claude-desktop.mdxindex 9b8dc5404..9c4729dbe 100644--- a/docs/integrations/claude-desktop.mdx+++ b/docs/integrations/claude-desktop.mdx@@ -1,5 +1,5 @@----title: Claude Desktop+title: Claude Desktop + FastMCPsidebarTitle: Claude Desktopdescription: Call FastMCP servers from Claude Desktopicon: desktopdiff --git a/docs/integrations/gemini.mdx b/docs/integrations/gemini.mdxindex 2f5cc5e3d..fee4a9d8e 100644--- a/docs/integrations/gemini.mdx+++ b/docs/integrations/gemini.mdx@@ -1,5 +1,5 @@----title: Gemini SDK+title: Gemini SDK + FastMCPsidebarTitle: Gemini SDKdescription: Call FastMCP servers from the Google Gemini SDKicon: message-smilediff --git a/docs/integrations/openai.mdx b/docs/integrations/openai.mdxindex a5b1e933f..b68ebcc18 100644--- a/docs/integrations/openai.mdx+++ b/docs/integrations/openai.mdx@@ -1,6 +1,6 @@----title: OpenAI-sidebarTitle: OpenAI+title: OpenAI API + FastMCP+sidebarTitle: OpenAI APIdescription: Call FastMCP servers from the OpenAI APIicon: message-smiletag: "New!"@@ -8,14 +8,13 @@ tag: "New!"import { VersionBadge } from "/snippets/version-badge.mdx"-OpenAI recently announced support for MCP servers in the Responses API. Note that at this time, MCP is not supported in ChatGPT.## Responses APIOpenAI's [Responses API](https://platform.openai.com/docs/api-reference/responses) supports [MCP servers](https://platform.openai.com/docs/guides/tools-remote-mcp) as remote tool sources, allowing you to extend AI capabilities with custom functions.<Note>-The Responses API is a distinct API from OpenAI's Completions API, Assistants API, or ChatGPT. At this time, only the Responses API supports MCP.+The Responses API is a distinct API from OpenAI's Completions API or Assistants API. At this time, only the Responses API supports MCP.</Note><Tip>