python-pip-mcp
by lukeage
This repository provides a minimal example implementation of an Anthropic MCP (Model Context Protocol) client and server in Python with Pip. It serves as a reference for debugging MCP clients and servers, especially in VSCode on Windows.
View on GitHub
Last updated: N/A
python-pip-mcp
Minimal Example Implementation of an Anthropic MCP Client and Server in Python with Pip.
The goal of this repository is to provide a reference implementation of a mcp client and server that can be easily debugged in VSCode on Windows using the Python / Python Debugger extension.
Alternative IDEs and OS are not tested but should work with minimal adjustments, too.
Installation
# create venv
python -m venv myenv
myenv\Scripts\activate
# install requirements
pip install -r requirements.txt
# create a .env file and set your anthropic api key
cp .env.sample .env
# run mcp_client.py script
python mcp_client.py
# query for current time