* Update fonts + styling

* Update docs.json

* Update welcome.mdx
This commit is contained in:
Jeremiah Lowin 2025-10-19 20:26:08 -04:00 committed by GitHub
commit e7cde97e5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 17 additions and 27 deletions

View file

@ -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"
}
}
}
}

View file

@ -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"

View file

@ -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