P

Python Sandbox

Provides secure Python code execution in containerized sandboxes with automatic matplotlib figure persistence and comprehensive data science libraries for inter

Python·No reviews yet
Repo
Share:

About

Provides secure Python code execution in containerized sandboxes with automatic matplotlib figure persistence and comprehensive data science libraries for interactive analysis and machine learning experimentation.

Example tools

Illustrative tool names — the actual tool set is defined by the server at runtime.

list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP

Screenshots

No screenshots yet.

Frequently Asked Questions

Common questions about Python Sandbox.

What is the Python Sandbox MCP used for?
The Python Sandbox MCP provides secure execution of Python code within containerized environments. It is designed for interactive analysis, machine learning experimentation, and includes automatic Matplotlib figure persistence alongside comprehensive data science libraries.
How can I install the Python Sandbox MCP in a client?
To install, add the repository URL 'https://github.com/aamir-gmail/lmstudiomcp' to your MCP client's settings. The client will then recognize and allow configuration of the Python Sandbox service. Specific client installation steps may vary.
Does the Python Sandbox MCP require API keys or other credentials?
No, the Python Sandbox MCP uses 'none' for its authentication type. Therefore, it does not require API keys, OAuth, or other external credentials for operation. It relies on local or client-managed access.
What Python libraries are available in the sandbox?
The sandbox provides comprehensive data science libraries. This includes, but is not limited to, libraries commonly used in data analysis, scientific computing, and machine learning, alongside automatic Matplotlib figure persistence.
Are there any limitations or prerequisites for using the Python Sandbox MCP?
A key prerequisite for this MCP is a compatible client that supports the 'stdio' transport protocol. Without this, the client cannot communicate with the sandbox. It depends on the client's architecture for secure operation.

Install Python Sandbox

Claude Desktop

Add this to claude_desktop_config.json.

{
  "mcpServers": {
    "python-sandbox": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-python-sandbox"
      ]
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "python-sandbox": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-python-sandbox"
      ]
    }
  }
}

VS Code

Add this to your workspace settings.json.

{
  "mcp.servers": {
    "python-sandbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-python-sandbox"
      ]
    }
  }
}

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Discussion(0)

Sign in to join the discussion.

No comments yet.