Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Docs (#2145)

Jeremiah Lowine7cde97e5bd7
diff --git a/docs/docs.json b/docs/docs.json
index 8f11677d5..c5eb8c980 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -19,11 +19,12 @@
"light": "#4cc9f0",
"primary": "#2d00f7"
},
+ "fonts": {
+ "heading": { "family": "Google Sans" },
+ "body": { "family": "BlinkMacSystemFont" }
+ },
"contextual": {
- "options": [
- "copy",
- "view"
- ]
+ "options": ["copy", "view"]
},
"description": "The fast, Pythonic way to build MCP servers and clients.",
"errors": {
@@ -149,10 +150,7 @@
{
"group": "Essentials",
"icon": "cube",
- "pages": [
- "clients/client",
- "clients/transports"
- ]
+ "pages": ["clients/client", "clients/transports"]
},
{
"group": "Core Operations",
@@ -178,10 +176,7 @@
{
"group": "Authentication",
"icon": "user-shield",
- "pages": [
- "clients/auth/oauth",
- "clients/auth/bearer"
- ]
+ "pages": ["clients/auth/oauth", "clients/auth/bearer"]
}
]
},
@@ -235,10 +230,7 @@
{
"group": "API Integration",
"icon": "globe",
- "pages": [
- "integrations/fastapi",
- "integrations/openapi"
- ]
+ "pages": ["integrations/fastapi", "integrations/openapi"]
}
]
},
@@ -473,5 +465,13 @@
"thumbnails": {
"appearance": "light",
"background": "/assets/brand/thumbnail-background.png"
+ },
+ "styling": {
+ "codeblocks": {
+ "theme": {
+ "light": "snazzy-light",
+ "dark": "material-theme-palenight"
+ }
+ }
}
}
diff --git a/docs/getting-started/welcome.mdx b/docs/getting-started/welcome.mdx
index 738f5d3ca..1b8847236 100644
--- a/docs/getting-started/welcome.mdx
+++ b/docs/getting-started/welcome.mdx
@@ -3,7 +3,6 @@ title: "Welcome to FastMCP 2.0!"
sidebarTitle: "Welcome!"
description: The fast, Pythonic way to build MCP servers and clients.
icon: hand-wave
-mode: wide
---
<img
src="/assets/brand/f-watercolor-waves.png"
diff --git a/examples/auth/github_oauth/server.py b/examples/auth/github_oauth/server.py
index 23e787439..1f88c6977 100644
--- a/examples/auth/github_oauth/server.py
+++ b/examples/auth/github_oauth/server.py
@@ -22,16 +22,7 @@ auth = GitHubProvider(
# redirect_path="/auth/callback", # Default path - change if using a different callback URL
)
-mcp = FastMCP(
- auth=auth,
- # "GitHub OAuth Example Server",
- # icons=[
- # Icon(
- # src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/91/Octicons-mark-github.svg/2048px-Octicons-mark-github.svg.png"
- # )
- # ],
- # website_url="https://example.com",
-)
+mcp = FastMCP("GitHub OAuth Example Server", auth=auth)
@mcp.tool