Extends large language model capabilities through tool invocation directly within the model's text output.
This repository provides a Flask-based implementation of the Model Context Protocol (MCP), enabling LLMs to leverage external tools through natural language interactions. Unlike traditional function calling, MCP places tool definitions directly within the context window, allowing the model to invoke tools using natural language responses, which are then parsed and executed. The server includes sample tools like weather and calculator, demonstrates conversation flow, and utilizes regex-based parsing for flexible tool invocation.