Python Local icon

Python Local

53

Runs Python code locally within an interactive REPL environment.

关于

Python Local provides an interactive Python REPL (Read-Eval-Print Loop) environment as an MCP server. It allows execution of Python code in persistent sessions, maintaining separate state for each session. The server provides access to REPL session history through a custom URI scheme, making it viewable as plain text, and captures stdout/stderr output. It's designed for integration with platforms like Claude and supports debugging through the MCP Inspector.

主要功能

  • Supports expressions and statements
  • Interactive Python REPL environment
  • Persistent sessions with separate state
  • Stdout/stderr output capture
  • Access to session history via custom URI

使用案例

  • Interactive code execution within a sandboxed environment
  • Experimenting with Python code snippets
  • Integrating Python execution into other applications
Craft Better Prompts with AnyPrompt
Sponsored