Skip to content

Minimal Example Implementation of a MCP Server / Client with Python and Pip. This example is tested in VSCode and Windows and both server and client are debuggable.

License

Notifications You must be signed in to change notification settings

lukeage/python-pip-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Minimal Example Implementation of a MCP Server / Client with Python and Pip. This example is tested in VSCode and Windows and both server and client are debuggable.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages