MCP Server Basic Example
This is a basic example of a Model Context Protocol (MCP) server implementation that demonstrates core functionality including tools and resources.
Setup Steps
- Initialize the project (Go to any local folder and launch powershell or cmd):```bash
uv init mcp-server-basic
cd mcp-server-basic
2. # Create virtual environment and activate it```bash
uv venv
.venv\Scripts\activate
```
3. Install dependencies:```bash
uv add "mcp[cli]"
orbash
uv add -r requirements.txt