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 entire contents of a file or specific lines from a file. Parameters: file_path (string), start_line (optional integer), end_line (optional integer)
Write content to a file or append to an existing file. Parameters: file_path (string), content (string), mode (optional string, default is 'w')
List the contents of a directory with detailed metadata. Parameters: directory_path (string)
Parse and analyze the structure of a Python file, extracting details about functions, classes, and other elements. Parameters: file_path (string)
Format Python code using a specified style. Parameters: code (string), style (optional string, default is 'black')
Lint a Python file and return detailed reports on issues found. Parameters: file_path (string)
Create a new virtual environment for the project.
Install project dependencies from a requirements file or pyproject.toml. Parameters: file_path (optional string)
Check for version conflicts between installed packages.
Update a specific package to the latest version or to a specified version. Parameters: package_name (string), version (optional string)
Execute a block of Python code in a controlled environment and capture output. Parameters: code (string)