Skip to content

[FEATURE][MCP-SERVER]: Python sample - python-sandbox-server #1061

@crivetimihai

Description

@crivetimihai

Overview

Create an MCP Server in Python that provides secure Python code execution in a sandboxed environment.

Server Specifications

Server Details

  • Name: python-sandbox-server
  • Language: Python 3.11+
  • Location: mcp-servers/python/python_sandbox_server/
  • Purpose: Secure Python code execution environment

Core Features

  • Execute Python code in isolated environment
  • Resource limits and timeout controls
  • Package installation management
  • Input/output capture and streaming
  • Session persistence support
  • Security restrictions and sandboxing

Use Cases

  • Code education platforms
  • Interactive Python tutorials
  • Data science experimentation
  • Algorithm testing and validation
  • Code snippet execution
  • Automated code evaluation

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmcp-serversMCP Server SamplesoicOpen Innovation Community ContributionspythonPython / backend development (FastAPI)

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions