
Model Context Protocol
STDIOFramework for connecting LLMs with external data sources and tools.
Framework for connecting LLMs with external data sources and tools.
The Model Context Protocol (MCP) is a powerful framework that enables developers to build AI applications with large language models (LLMs) by providing a standardized way to connect models with external data sources and tools.
MCP is nothing but a protocol to connect LLMs with external data sources and tools (functions).
This repository contains the code for setting up a demo MCP server. It contains:
@mcp_tool
decorator.curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
This repository contains the code for setting up a demo MCP client with OpenAI SDK. Refer to the client for more details.
Note: For ease of understanding, both server and client are in the same repository, you can easily keep them in separate repositories / projects.