MCP Server to run python code locally
An MCP Server that provides an interactive Python REPL (Read-Eval-Print Loop) environment.
The server provides access to REPL session history:
repl://
URI scheme for accessing session historyThe server implements one tool:
python_repl
: Executes Python code in a persistent session
code
(Python code to execute) and session_id
as required argumentsOn MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
To prepare the package for distribution:
uv sync
uv build
This will create source and wheel distributions in the dist/
directory.
uv publish
Note: You’ll need to set PyPI credentials via environment variables or command flags:
--token
or UV_PUBLISH_TOKEN
--username
/UV_PUBLISH_USERNAME
and --password
/UV_PUBLISH_PASSWORD
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm
with this command:
npx @modelcontextprotocol/inspector uv --directory /path/to/python_local run python-local
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Mcp Llm
An MCP server that provides LLMs access to other LLMs
Higress Ai Search Mcp Server
An MCP server enhances AI responses with real-time search results via Higress ai-search.
Base Mcp
A Model Context Protocol (MCP) server that provides onchain tools for LLMs, allowing them to interact with the Base network and Coinbase API.
A Model Context Protocol (MCP) server that provides tools for interacting with the Twitch API using the Helix API.
Execute a secure shell in Claude Desktop using the Model Context Protocol.
Serper MCP Server supporting search and webpage scraping