python-run-mcp
MCP server implementation for handling run_python requests
Documentation
MCP Server
Python service implementing Model Context Protocol (MCP) for Python code execution via standardized API endpoints.
Installation
pip install -r requirements.txtUsage
1. Start the server:
python src/server.py2. Send requests to the `/run_python` endpoint:
curl -X POST http://localhost:8000/run_python \
-H "Content-Type: application/json" \
-d '{"code": "print(\'Hello, World!\')"'Development
- Follow the modular structure
- Run tests before submitting changes
- Update documentation as needed
License
MIT
Frequently asked questions
What is python-run-mcp?
python-run-mcp is MCP server implementation for handling run_python requests
How do I install python-run-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is python-run-mcp open source?
Yes — it is hosted on GitHub at https://github.com/topherbc/python-run-mcp and has 2 stars.
Related MCP tools
Damn Vulnerable MCP Server Python-based implementation. Trusted by 1200+ developers. Trusted by 1200+ developers. Trusted by 1200+ developers.
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases Python-based implementation. Trusted by 900+ developers.
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning...
Model Context Protocol with Neo4j Python-based implementation. Trusted by 700+ developers. Trusted by 700+ developers. Trusted by 700+ developers.
An MCP server that provides control over Android devices via adb Python-based implementation. Trusted by 500+ developers.
A Model Context Protocol (MCP) server for PostgreSQL databases with enhanced capabilities for AI agents. Python-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP