MCP Server
@topherbc
MCP Server について
MCP server implementation for handling run_python requests
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"python-run-mcp": {
"command": "python",
"args": [
"src/server.py"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Server?
MCP Server is a Python service that implements the Model Context Protocol (MCP) to provide Python code execution through standardized API endpoints.
How to use MCP Server?
Install dependencies with pip install -r requirements.txt, start the server using python src/server.py, then send POST requests containing JSON with the key "code" to the /run_python endpoint.
Key features of MCP Server
- Implements Model Context Protocol for Python code execution.
- Exposes a
/run_pythonAPI endpoint. - Lightweight, single‑command startup.
- Uses standard HTTP POST with JSON payloads.
- Written in Python with modular structure.
Use cases of MCP Server
- Execute Python code remotely via API calls.
- Integrate Python execution capabilities into AI agent workflows.
- Provide a sandboxed code‑running service for development and testing.
FAQ from MCP Server
What runtime does MCP Server require?
Python 3 and the packages listed in requirements.txt.
How do I start MCP Server?
Run python src/server.py from the project root.
How do I run Python code using MCP Server?
Send a POST request to http://localhost:8000/run_python with a JSON body containing a "code" key set to the Python code string.
Does MCP Server support streaming or websocket transports?
No. The README only specifies a standard HTTP POST API.
What authentication or security is configured?
None. The README does not mention authentication; security must be implemented externally.
「その他」の他のコンテンツ
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
コメント