Netmind Code Interpreter

by protagolabs

Not rated
GitHub

About

Execute code using the Netmind API.

Details

Author
protagolabs
Categories
Developer Tools, AI

Setup

Install Netmind Code Interpreter in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/protagolabs/Netmind-Code-Interpreter-Mcp

Follow the installation instructions in the repository README, then restart your MCP client.

- execute_code: Execute code in the specified programming language with secure cloud execution.

- language: required: Programming language identifier (string). Supported values: 'python', 'javascript', 'typescript', 'java', 'cpp', 'c', 'go', 'rust', 'php', 'ruby', 'swift', 'kotlin', 'scala', 'r'
- files: required: List of code files to execute. Each file must have 'name' (filename with extension) and 'content' (complete source code as string)
- stdin: optional: Standard input to provide to the program during execution (default: empty string)
- args: optional: Command line arguments to pass to the program (default: empty list)
- Returns execution results with stdout, stderr, and data outputs on success, or error description on failure.

RequiresUV(Fast Python package and project manager)

# Using Homebrew on macOS brew install uv
# On macOS and Linux. curl -LsSf https://astral.sh/uv/install.sh | sh # On Windows. powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

- NETMIND_API_TOKEN: Your Netmind API key

Cursor & Claude Desktop && Windsurf Installation

Add this tool as a mcp server by editing the Cursor/Claude/Windsurf config file.

{ "mcpServers": { "code-interpreter": { "env": { "NETMIND_API_TOKEN": "XXXXXXXXXXXXXXXXXXXX" }, "command": "uvx", "args": [ "netmind-code-interpreter-mcp" ] } } }

Core Features of the NetMind Code Interpreter API We provide a robust feature set that handles the complexity of code execution, so you can focus on building what matters.

- Unified Multi-Language Support: Execute code in the language you need, without configuration changes. Our environment provides native support for Python, JavaScript, Java, Go, C++, Rust, Ruby, PHP, and more, each running in an optimized and consistent runtime.
- Seamless File Management & I/O: Effortlessly integrate your data. Upload your scripts, CSVs, and other text-based files directly to the runtime. Your code can read, write, and process these files in a fully sandboxed filesystem for complete security and data integrity.
- Automatic Image & Artifact Generation: Turn data into visuals, automatically. Code that generates plots, charts, or diagrams will have the output automatically captured and delivered to you as a secure link. Get your PNGs, JPEGs, and other results without any extra steps.
- Enterprise-Grade Security and Performance: Execute any code with complete peace of mind. Every execution runs in a disposable, fully isolated container with reasonable resource limits on memory, CPU, and time. With rapid container startup and massive concurrency support, our platform is built for production-scale performance and security.

- Python
- JavaScript/TypeScript
- Java
- C/C++
- Go
- Rust
- PHP
- Ruby
- Swift
- Kotlin
- Scala

Set your Netmind API token as an environment variable:

export NETMIND_API_TOKEN="your-api-token-here"
# using Python module python -m netmind_code_interpreter.server

Run the test client to verify everything is working:

The server can be used with any MCP-compatible client. Here's how to configure it:
- Start the server on your desired port (default: 8000)
- Configure your MCP client to connect tohttp://localhost:8000/sse
- Use theexecute_codetool to run code

Execute code in the specified programming language.

- language(str): Programming language identifier
- files(List[Dict]): List of code files to execute

- name(str): Filename with appropriate extension
- content(str): Complete source code as a string

- Success:{"run": {"stdout": "...", "stderr": "...", "data": [...]}}
- Error:{"error": "error description", "run": {"stdout": "", "stderr": "..."}}

result = await client.call_tool("execute_code", { "language": "python", "files": [ { "name": "hello.py", "content": "print('Hello, World!')" } ] })

MIT License - see LICENSE file for details.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Automatically generates documentation for code repositories by analyzing directory structures and code files using the OpenRouter API.

Provides fast C++ code intelligence for LLMs using the clangd language server.

Diagnoses token waste in Claude Code sessions with 6 anomaly types and severity scoring. Fully local.

A server for code modification and generation using Large Language Models.

Your AI Code Review Council - Get diverse perspectives from multiple AI models in parallel.

CLI token optimizer and AI context generator with built-in MCP server. Scans codebases to extract routes, schema, components, and dependencies 9x–13x token reduction for Claude Code, Cursor, Copilot, Codex, and Windsurf.

An MCP server for the codetoprompt library, enabling integration with LLM agents.

An MCP server that wraps the OpenAI Codex CLI, exposing its functionality through the MCP API.

A coding assistant server that provides context-aware code suggestions, documentation integration, and technology detection.

Rewrites coding prompts for optimal results with AI IDEs like Cursor AI, powered by Claude by Anthropic.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.