- Python 3.10 or higher
- MCP SDK 1.2.0 or higher
uvpackage manager
On MacOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | shMake sure to restart your terminal afterwards to ensure that the uv command gets picked up.
- Clone the project
- Install the dependencies
source .venv/bin/activate # On Windows use: .venv\Scripts\activate
# Install dependencies
uv add "mcp[cli]"- Run
reciever.pyin another terminal
- Start the MCP server:
uv run sender.py- The server will start and be ready to accept connections
- Install Claude Desktop from the official website
- Configure Claude Desktop to use your MCP server:
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"mcp-server": {
"command": "uv", # ALWAYS USE THE ABSOLUTE PATH
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/YOUR/server",
"run",
"server.py"
]
}
}
}- Restart Claude Desktop
Now, ask Claude to send the time.
BOOM!!!