PRIMS is a lightweight, open-source Model Context Protocol (MCP) server designed to allow LLM agents and tools to execute arbitrary Python code securely in isolated, disposable sandbox environments. It provides simple, reproducible execution with optional dependency installation, file mounting, and zero-configuration deployment—ideal for developers, researchers, and anyone needing a quick, secure Python code runner over MCP or Docker. Additional features include listing workspace files, previewing text files, persisting artifacts to storage, and mounting files.
Visit Prims's official website for product details and getting started.
Comprehensive API reference and usage instructions for PRIMS.
Community-driven section for reporting bugs, requesting features, and discussing improvements.
Practical examples of how to use PRIMS in different scenarios.