Minimal Example Implementation of an Anthropic MCP Server in Python with Pip
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iflow_mcp_lukeage_python_pip_mcp-0.1.0.tar.gz.
File metadata
- Download URL: iflow_mcp_lukeage_python_pip_mcp-0.1.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6789769756175e1281cb1ac890aed3840b90403a17413ed8ea2da37abf551172
|
|
| MD5 |
4342e9d8e476ac2f41f444e7118dd0f4
|
|
| BLAKE2b-256 |
8843119dbfe78197aac29d2a68cd57427a26666a88c41daa25b5ba30c67c602f
|
File details
Details for the file iflow_mcp_lukeage_python_pip_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_lukeage_python_pip_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d99fdb7b28e4db0bd85d6d77c28fb908faa837ddf19f4f2557f3dd69a3767bf
|
|
| MD5 |
e1f26110b00b15b7719914aa9c78ef92
|
|
| BLAKE2b-256 |
a145603801b1612040cfb25ba8cb5a970f0c81566ef26bb46211df622fade3b7
|