mcpField
M
MCP Server

MCP Server

Local
github.com/topherbcDeveloper Tools2Updated 97w ago

About MCP Server

A Python MCP server for submitting code to a standardized `/run_python` endpoint. It is intended for MCP clients that need a Python execution service.

Key features

  1. 01Python code execution endpoint
  2. 02Standardized MCP API

Use cases

  1. 01Running Python code through an API
  2. 02Connecting an MCP client to Python execution

MCP support

Implements MCP and exposes Python code execution through the `/run_python` endpoint.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.