MCP Server
by topherbc
This is a Python service implementing the Model Context Protocol (MCP). It allows for Python code execution via standardized API endpoints.
Last updated: N/A
What is MCP Server?
This is a Python service that implements the Model Context Protocol (MCP). It provides a standardized API for executing Python code remotely.
How to use MCP Server?
- Install the requirements using
pip install -r requirements.txt
. 2. Start the server usingpython src/server.py
. 3. Send POST requests to the/run_python
endpoint with a JSON payload containing thecode
to execute.
Key features of MCP Server
Standardized API
Remote code execution
Python support
Modular structure
Use cases of MCP Server
Remote code evaluation
Model serving
Sandboxed execution
Automated testing
FAQ from MCP Server
What is MCP?
What is MCP?
Model Context Protocol, a standardized API for code execution.
How do I install the server?
How do I install the server?
Use pip install -r requirements.txt
.
What is the endpoint for running Python code?
What is the endpoint for running Python code?
/run_python
What kind of data should I send to the endpoint?
What kind of data should I send to the endpoint?
A JSON payload with a code
field containing the Python code to execute.
What license is this project under?
What license is this project under?
MIT