mcp-python-interpreter

mcp-python-interpreter

3.8

If you are the rightful owner of mcp-python-interpreter and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcpreview.com.

A Model Context Protocol (MCP) server that allows LLMs to interact with Python environments, read and write files, execute Python code, and manage development workflows.

The MCP Python Interpreter is a server designed to facilitate interaction between Language Model Machines (LLMs) and Python environments. It provides a robust platform for executing Python code, managing environments, and handling files, making it an essential tool for developers who work with Python. The server supports multiple Python environments, including system and conda, and allows for seamless code execution and package management. It also offers comprehensive file operations, enabling users to read and write both text and binary files. With built-in security features, the MCP Python Interpreter ensures that all operations are confined to a specified working directory, protecting the system from unauthorized access. This server is particularly useful for automating development workflows and integrating Python capabilities into larger projects.

Features

  • Environment Management: List and use different Python environments (system and conda)
  • Code Execution: Run Python code or scripts in any available environment
  • Package Management: List installed packages and install new ones
  • File Operations: Read and write text and binary files
  • Python Prompts: Templates for common Python tasks like function creation and debugging

Tools