MCP Cursor

Enhance your development workflow with AI-powered MCP tools and extensions for Cursor IDE.

Product

  • MCP Servers
  • Getting Started
  • Documentation
  • Open Source

Resources

  • MCP Specification
  • Cursor IDE
  • MCP GitHub
  • Contributing

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
Made withfor the developer community
© 2026 MCP Cursor. All rights reserved.
MCP Logo
MCP Cursor
IntroductionMCPs
IntroductionMCPs
3D MCP Cursor Visualization
  1. Home
  2. Servers
  3. Python REPL MCP
Python REPL MCP Logo

Python REPL MCP

Model Context Protocol Integration

Overview

Provides a Python REPL server for executing code and shell commands, enabling complex data analysis and system administration tasks.

Python REPL

Provides a Python REPL server for executing code and shell commands, enabling complex data analysis and system administration tasks.

Installation Instructions


README: https://github.com/lyuhau/claude-mcp-repl

Claude REPL Server

A Python-based REPL server that enhances Claude with Python execution, shell commands, and file manipulation capabilities.

Features

Python Tools

  • One-off Python (python): Run code in fresh environments

    • Great for quick calculations and tests
    • Pandas and PyArrow support available
    • Clean environment each time
  • Session-based Python (python_session): Run code with persistent state

    • Keep variables between executions
    • Perfect for data analysis workflows
    • Sessions remain active for 5 minutes

Shell Tools

  • Command execution (shell): Run shell commands

    • Quick commands return immediately
    • Long-running commands switch to async mode
    • Returns task ID for tracking
  • Task status (shell_status): Monitor long-running commands

    • Check progress of async commands
    • Get outputs when completed
    • View execution time and results

File Tools

  • File modification (perl): Safe text processing
    • Pattern-based search and replace
    • Multi-line transformations
    • UTF-8 support built-in
    • Preserves file structure

Installation

  1. Clone the repository
  2. Install dependencies:
    poetry install
    
    or
    uv pip install -r pyproject.toml
    

Configuration

Add to your Claude Desktop config file:

{
  "mcpServers": {
    "repl": {
      "command": "/path/to/python/env/bin/python",
      "args": ["-m", "repl"]
    }
  }
}

Config locations:

  • Windows: %APPDATA%/Roaming/Claude/claude_desktop_config.json
  • macOS: (TBD)
  • Linux: (TBD)

For detailed setup instructions and alternative configurations, see INSTALLATION.md.

Contributing

Contributions welcome! Please see CONTRIBUTING.md for guidelines.

License

[Add license info]

Featured MCPs

Github MCP - Model Context Protocol for Cursor IDE

Github

This server provides integration with Github's issue tracking system through MCP, allowing LLMs to interact with Github issues.

Sequential Thinking MCP - Model Context Protocol for Cursor IDE

Sequential Thinking

An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process. Break down complex problems into manageable steps, revise and refine thoughts as understanding deepens, and branch into alternative paths of reasoning.

Puppeteer MCP - Model Context Protocol for Cursor IDE

Puppeteer

A Model Context Protocol server that provides browser automation capabilities using Puppeteer. This server enables LLMs to interact with web pages, take screenshots, execute JavaScript, and perform various browser-based operations in a real browser environment.