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.
まだレビューはありません. 最初のレビューを投稿しましょう!
会話に参加するにはサインインしてください
Read the contents of a file. Parameters: file_path (string), start_line (optional int), end_line (optional int)
Write content to a file. Parameters: file_path (string), content (string), mode (optional string - default is 'w')
List the contents of a directory. Parameters: directory_path (string)
Analyze the structure of a Python file. Parameters: file_path (string)
Format the provided Python code. Parameters: code (string), style (optional string - default is 'black')
Lint the provided Python file to find issues. Parameters: file_path (string)
Create a virtual environment for the project.
Install project dependencies from requirements files. Parameters: requirements_file (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 the provided Python code in a controlled environment. Parameters: code (string)