yisu201506_mcp_server
0
This project is a Flask-based server implementation of the Model Context Protocol (MCP) to enhance Large Language Models (LLM) with external tool invocation directly in their outputs. Key features include conversation flow management, flexible tool integration, and REST API endpoints for seamless chat integration.
Overview
This project offers a complete Flask-based implementation of the Model Context Protocol (MCP) for enhancing Large Language Model capabilities by integrating external tools into its responses.
Features
- Complete MCP implementation with features such as parsing, execution, and response handling.
- Sample tools, including weather and calculator, with parameter validation.
- Maintains context across multiple interactions with conversation flow.
- Regex-based parsing for tool invocation.
- REST API endpoints for chat integration via Flask.
Usage
- Instructions on running the server, setting up environment variables, and API usage.