Skip to main content

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 pytest and coverage measurement
  • Lint and format code with ruff
  • Type checking with basedpyright or mypy
  • Analyze and improve code quality with tools like vulture, radon, and bandit
  • 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 coverage
  • ruff_check: Lint Python code
  • ruff_format: Format Python code
  • uv_add: Add dependencies
  • uv_sync: Install dependencies
  • coverage_analyze: Analyze existing coverage data

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_tools_mcp-0.2.0.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_tools_mcp-0.2.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

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

Hashes for python_tools_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ea983fc7220905ae0fcd3eb28674248f6e83370cba679d66268cb725c9b08fc4
MD5 999b55993a3a62a08257391270fabb82
BLAKE2b-256 51f45bb7b4246130595f4437bcc9e88e5ab1d4db828537e17dfa698c99874753

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_tools_mcp-0.2.0.tar.gz:

Publisher: publish.yaml on benomahony/python_tools_mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_tools_mcp-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_tools_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 600c1b77cdfc16dde810bf74feca3515b04705d99305a1763e263f15ad5379af
MD5 e4c160c2c4ad0d518c180ae84de3b49b
BLAKE2b-256 073dd2c53c22a701310bbe364f3961a2c1ec0fa42f77fc5f263dc68dfa6cc486

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page