P

python-run-mcp

...
Created 12/20/2024bytopherbc

Language:

Python

Stars:

2

Forks:

1

MCP Server

Python service implementing Model Context Protocol (MCP) for Python code execution via standardized API endpoints.

Installation

pip install -r requirements.txt

Usage

  1. Start the server:
python src/server.py
  1. 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

Last updated: 1/15/2025

Publisher info

topherbc's avatar

Topher

54
followers
2
following
22
repos

More MCP servers built with Python

MCP-Collab

MCP Slack, Teams, WebEx

By sisodiabhumca
fulcra-context-mcp

Access your personal health data, sleep stats, location, calendar, and more securely through Context by Fulcra!

By fulcradynamics
alpaca-mcp-server

Alpaca MCP Servers deliver Alpaca’s Trading API best practices straight into your development and trading workflows.

By alpacahq