This MCP server implementation provides a comprehensive set of Python development tools, enabling AI assistants to effectively work with Python code and projects. Developed by Gianluca Mazza, it offers features for file operations, code analysis, project management, and safe code execution within a controlled environment. The server is designed for use cases requiring advanced Python development capabilities, such as code refactoring, dependency management, and automated testing in AI-assisted programming workflows.
No reviews yet. Be the first to review!
Sign in to join the conversation
Read the contents of a specified file. Parameters: file_path (string), start_line (optional int), end_line (optional int)
Write data to a specified file. Parameters: file_path (string), data (string), mode (optional string)
List the contents of a specified directory with detailed metadata. Parameters: directory_path (string)
Parse and analyze the structure of a Python file. Parameters: file_path (string)
Format a given piece of code according to the specified style. Parameters: code (string), style (optional string)
Lint the specified Python file to identify issues. Parameters: file_path (string)
Create a new virtual environment for the project.
Install dependencies from a specified file or the default configuration. Parameters: file_path (optional string)
Check for version conflicts between installed packages.
Update a specified package to the latest version or a specific version. Parameters: package_name (string), version (optional string)
Execute a given piece of Python code in a controlled environment. Parameters: code (string)