Skip to main content

mcp-auth-fastapi-fastmcp-scalekit

Add Scalekit OAuth authentication to a FastAPI + FastMCP server (Python). Use when you need FastAPI-level middleware control over token validation alongside FastMCP tools — for example, when adding auth to an existing FastAPI app, adding custom routes/middleware, or when you need more control than FastMCP's built-in ScalekitProvider offers. Implements /.well-known/oauth-protected-resource, a Starlette @app.middleware("http") that validates Authorization: Bearer tokens via Scalekit SDK (issuer + audience), and mounts FastMCP via app.mount("/", mcp_app).

Aller à l'installation

Informations de source

Dépôt
scalekit-inc/cursor-authstack
Dernière activité de la source
19 février 2026 à 07:32
Langue détectée de SKILL.md
anglais
Étoiles
1
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.