mcp_python_toolbox
2
MCP Python Toolbox is an MCP server designed to enhance Python development with AI assistant integration. It offers robust file management, code analysis, dependency handling, and secure code execution capabilities for streamlined development workflows.
MCP Python Toolbox
A Model Context Protocol (MCP) server providing tools for Python development with AI assistants like Claude.
Overview
MCP Python Toolbox offers a standardized interface for Python development tasks:
- Manage files and directories
- Analyze and format Python code
- Handle virtual environments
- Execute code safely
Features
- FileOperations: Safe file and directory management
- CodeAnalyzer: Python code parsing and analysis
- ProjectManager: Manage virtual environments and dependencies
- CodeExecutor: Safe execution of Python code
Installation
- Clone the repository
- Create a virtual environment
- Install in development mode
Usage
CLI Tool
Run using the CLI with workspace specification options.
Integration with Claude Desktop
Configure MCP Python Toolbox for automatic launching in Claude Desktop.
Programmatic Usage
Use the PythonToolboxServer class to set up and run the server.
Development
- Run tests with
pytest
- Type check with
mypy
- Lint with
pylint
- Format with
black
Contributing
- Fork the repo
- Create a branch
- Commit changes
- Push changes
- Open a Pull Request
License
MIT License.