Builds Model Context Protocol (MCP) servers using Flask to expose type-safe tools, resources, and prompts with automatic JSON schema generation and streaming.
Sponsored
Flask-Plus streamlines the creation of Model Context Protocol (MCP) servers directly within Flask applications. It empowers developers to seamlessly expose Python functions as callable tools, manage static and dynamic data as URI-addressable resources, and generate structured prompts for AI models. With features like type safety, Pydantic validation, automatic JSON schema generation, and support for streamable HTTP responses, it facilitates robust and efficient interactions between language models and external systems.
主な機能
01Seamless integration with Flask applications
02Built-in support for type hints and Pydantic validation
03Automatic JSON schema generation from Python functions
04Define and expose tools, resources, and prompts
051 GitHub stars
06Streamable HTTP responses for large data
ユースケース
01Serving dynamic or static data as resources to language models via URI
02Creating custom Python-backed tools for AI agents to interact with
03Developing structured and dynamic prompting interfaces for AI models