mcp_server

mcp_server

2

This GitHub project is a Flask-based implementation of Model Context Protocol (MCP), designed to enhance the capabilities of Large Language Models (LLMs) by integrating external tools within the model's output. Standout features include the use of sample tools, conversation context management, and flexible text parsing.

Overview

This project is a complete implementation of Model Context Protocol (MCP) using Flask. It demonstrates how to enhance Large Language Models (LLM) by integrating external tools through MCP, which injects tool definitions directly into the model's output context. Key features include complete MCP parsing and execution, sample tools like weather and calculator, context management over conversations, regex-based flexible parsing, and a REST API with Flask for chat integration.