What does python_local MCP Server do?
It provides an interactive Python REPL environment accessible through the MCP protocol, enabling AI assistants to run Python code and retrieve session history.
@Alec2435
基本情報
MCP Server to run python code locally
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"python_mcp": {
"command": "uv",
"args": [
"sync"
]
}
}
}Executes Python code in a persistent session
The python_local MCP Server provides an interactive Python REPL (Read-Eval-Print Loop) environment as an MCP server. It is designed for use with AI assistants like Claude, allowing them to execute Python code and retrieve session history through the Model Context Protocol.
Install the server via uvx or configure it locally using uv in your Claude Desktop configuration file (e.g., claude_desktop_config.json). Use the python_repl tool with the required code and session_id arguments to execute Python code in a persistent session.
repl:// resource for session historypython_repl toolIt provides an interactive Python REPL environment accessible through the MCP protocol, enabling AI assistants to run Python code and retrieve session history.
The server provides one tool, `python_repl`, which takes `code` (Python code to execute) and `session_id` (to identify the session) as required arguments.
Session history is available via the custom `repl://` URI scheme, which returns the history as `text/plain`, showing input code and corresponding output for each execution.
Each session is identified by a `session_id` and maintains separate state, allowing multiple independent REPL sessions to run concurrently.
You can launch the MCP Inspector via `npx @modelcontextprotocol/inspector uv --directory /path/to/python_local run python-local` and access the debugging URL in your browser.

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
コメント