FastAPI Crud icon

FastAPI Crud

Builds a minimal CRUD API with FastAPI and exposes endpoints as MCP tools.

Acerca de

FastAPI CRUD MCP is a minimal example demonstrating how to create a CRUD (Create, Read, Update, Delete) API using FastAPI and expose it as MCP (Management Control Plane) tools via the FastAPI-MCP library. It includes a scenario-driven client harness built with PydanticAI and Rich for interactive and validated API testing. It leverages SQLAlchemy and Pydantic for ORM models and input/output schemas, providing a foundation for building robust and manageable APIs.

Características Principales

  • Scenario-driven client harness with PydanticAI
  • High-performance HTTP API with FastAPI
  • ORM models and schemas using SQLAlchemy and Pydantic
  • Rich CLI for beautiful and colored terminal output
  • 0 GitHub stars
  • Automatic endpoint exposure as MCP tools via FastAPI-MCP

Casos de Uso

  • Exposing API functionalities as manageable MCP tools
  • Rapid API prototyping and development
  • Automated API testing and validation through scenarios
Craft Better Prompts with AnyPrompt
Sponsored
FastAPI Crud: Build Minimal APIs with MCP Tools