Python development tools as an MCP
Project description
Python Tools MCP
A Model Context Protocol (MCP) server that exposes modern Python development tools.
Features
- Manage Python dependencies using
uv - Run tests with
pytestand coverage measurement - Lint and format code with
ruff - Type checking with
basedpyrightormypy - Analyze and improve code quality with tools like
vulture,radon, andbandit - Check docstring coverage with
interrogate - Profile Python code with
py-spy
Installation
uv sync
Usage
Start the server:
uvx python_tools_mcp
Then use the tools in your MCP-compatible application.
Example Tools
pytest: Run tests with optional coverageruff_check: Lint Python coderuff_format: Format Python codeuv_add: Add dependenciesuv_sync: Install dependenciescoverage_analyze: Analyze existing coverage data
License
MIT
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 python_tools_mcp-0.2.0.tar.gz.
File metadata
- Download URL: python_tools_mcp-0.2.0.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea983fc7220905ae0fcd3eb28674248f6e83370cba679d66268cb725c9b08fc4
|
|
| MD5 |
999b55993a3a62a08257391270fabb82
|
|
| BLAKE2b-256 |
51f45bb7b4246130595f4437bcc9e88e5ab1d4db828537e17dfa698c99874753
|
Provenance
The following attestation bundles were made for python_tools_mcp-0.2.0.tar.gz:
Publisher:
publish.yaml on benomahony/python_tools_mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
python_tools_mcp-0.2.0.tar.gz -
Subject digest:
ea983fc7220905ae0fcd3eb28674248f6e83370cba679d66268cb725c9b08fc4 - Sigstore transparency entry: 236329728
- Sigstore integration time:
-
Permalink:
benomahony/python_tools_mcp@036b4d231f4226189a3685c27534429a987f5120 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/benomahony
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@036b4d231f4226189a3685c27534429a987f5120 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file python_tools_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: python_tools_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
600c1b77cdfc16dde810bf74feca3515b04705d99305a1763e263f15ad5379af
|
|
| MD5 |
e4c160c2c4ad0d518c180ae84de3b49b
|
|
| BLAKE2b-256 |
073dd2c53c22a701310bbe364f3961a2c1ec0fa42f77fc5f263dc68dfa6cc486
|
Provenance
The following attestation bundles were made for python_tools_mcp-0.2.0-py3-none-any.whl:
Publisher:
publish.yaml on benomahony/python_tools_mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
python_tools_mcp-0.2.0-py3-none-any.whl -
Subject digest:
600c1b77cdfc16dde810bf74feca3515b04705d99305a1763e263f15ad5379af - Sigstore transparency entry: 236329730
- Sigstore integration time:
-
Permalink:
benomahony/python_tools_mcp@036b4d231f4226189a3685c27534429a987f5120 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/benomahony
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@036b4d231f4226189a3685c27534429a987f5120 -
Trigger Event:
workflow_dispatch
-
Statement type: