Skip to main content
Glama

execution in a secure and scalable lab setup.

βš™οΈ Lab Virtual MCP Server (Execute Code Remotely via Claude AI) Create a virtual lab for users to run custom code remotely using the Model Context Protocol (MCP) and integrate with Claude AI or other clients.

πŸ”— GitHub Repo

πŸ“‚ This repo has moved to base/base-mcp

πŸš€ What This Lab Server Does 🧠 Enables remote Python code execution through cline AI

πŸ§ͺ Supports real-time lab scenarios (code evaluation, sandbox testing, etc.)

πŸ“‹ Prerequisites Ensure you have the following on your system:

βœ… Python 3.10.11

βœ… pip (Python package manager)

βœ… fastmcp (to serve the MCP endpoint)

βœ… uv (virtual environment manager, via scoop or curl)

βœ… Access to Claude Desktop or Cursor or cline (for testing)

🧱 Installation Steps

  1. Clone the MCP Server Repo

  1. Set up Python Environment

cd McpSever_Remote_code_execution

  1. Set Up Virtual Environment

  1. Install Dependencies

  1. Run the Server

You now have a remote code execution server listening for requests via MCP.

πŸ§ͺ MCP Client Configuration For Claude Desktop / Cursor, update your mcp_config.json:

Beofre start Mcp set path

βœ… Available Tools (Prebuilt in MCP)

Tool Description execute_code Executes user-provided Python code

πŸ’‘ Recommendations for Lab Admins βœ… Add sandboxing logic to app.py if users can run arbitrary code.

βœ… Use Docker or subprocess isolation for safer execution (optional).

βœ… Monitor logs and set execution timeouts.

-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nuvepro-Technologies-Pvt-Ltd/genai-sandbox-nuvepro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server