TokenToSeaMCP Hub
中文 Console

MCP Python Interpreter

yzfly

Run Python code, manage Python environments and work with files.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add python-interpreter --env MCP_ALLOW_SYSTEM_ACCESS='<MCP_ALLOW_SYSTEM_ACCESS>' -- uvx mcp-python-interpreter --dir /path/to/your/work/dir --python-path /path/to/your/python

Environment variables

  • MCP_ALLOW_SYSTEM_ACCESS

Replace the placeholders with your own credentials and keep them out of version control.