mcp-auth-fastapi-fastmcp-scalekit

Official

Add OAuth auth to FastAPI + FastMCP apps.

Authorscalekit-inc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enables secure, scalable OAuth authentication for FastAPI applications by integrating Scalekit with FastMCP tooling, simplifying secure access control and token validation across existing apps.

Core Features & Use Cases

  • Implements a public discovery endpoint at /.well-known/oauth-protected-resource.
  • Provides an HTTP middleware gateway in FastAPI to validate Bearer tokens via Scalekit and mounts FastMCP under /.
  • Facilitates adding MCP-enabled tooling to existing FastAPI apps, including custom routes and middleware.

Quick Start

Launch the FastAPI + FastMCP setup with the required environment variables (SK_ENV_URL, SK_CLIENT_ID, SK_CLIENT_SECRET, EXPECTED_AUDIENCE, PROTECTED_RESOURCE_METADATA) and mount MCP at the root.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mcp-auth-fastapi-fastmcp-scalekit
Download link: https://github.com/scalekit-inc/cursor-authstack/archive/main.zip#mcp-auth-fastapi-fastmcp-scalekit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.