fastapi-fastmcp

Official

Production MCP server with FastAPI + OAuth.

Authorscalekit-inc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Build production-ready MCP servers on FastAPI + FastMCP with scalable, secure token-based access, enabling developers to enforce OAuth 2.1 Bearer authentication with fine-grained control.

Core Features & Use Cases

  • Custom middleware integration: Add rate-limiting, logging, and advanced authorization rules around MCP tool execution.
  • Token validation via Scalekit SDK: Validate issuer, audience, and expiration for each request against Scalekit's authentication.
  • OAuth discovery endpoint: Expose well-known metadata for MCP clients to discover auth requirements.
  • Use Case: Convert an existing FastAPI service into an MCP-enabled app with production-grade auth and token management.

Quick Start

Start the server and verify Bearer token validation against the Scalekit OAuth endpoint.

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: fastapi-fastmcp
Download link: https://github.com/scalekit-inc/skills/archive/main.zip#fastapi-fastmcp

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 471,000+ vetted skills library on demand.