Skip to main content
Run any Skill in Manus
with one click

mcp-auth-fastapi-fastmcp-scalekit

Stars1
Forks0
UpdatedFebruary 19, 2026 at 07:32

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).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
8 files
SKILL.md
readonly