Lab Virtual MCP Server

Lab Virtual MCP Server

Enables remote Python code execution via the Model Context Protocol for secure, real-time lab scenarios and sandbox testing. It allows AI clients like Claude and Cursor to execute and evaluate code within a virtual lab environment.

Category
Visit Server

README

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.

<img src="video/test.gif" alt="description" height="300" width="900" />

๐Ÿ”— GitHub Repo <pre> ๐Ÿ“ฆ https://github.com/Nuvepro-Technologies-Pvt-Ltd/McpSever_Remote_code_execution.git </pre> ๐Ÿ“‚ 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 <pre> git clone https://github.com/Nuvepro-Technologies-Pvt-Ltd/McpSever_Remote_code_execution.git </pre>

  2. Set up Python Environment

<pre> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser </pre>

<pre> scoop install python </pre>

<pre> scoop install uv </pre>

cd McpSever_Remote_code_execution

  1. Set Up Virtual Environment

<pre> python -m venv .venv </pre> <pre> ..venv\Scripts\activate # Windows </pre> <pre> source .venv/bin/activate # macOS/Linux </pre>

  1. Install Dependencies

<pre> pip install fastmcp </pre>

<pre> pip install cryptography </pre>

<pre> pip install shelve </pre>

  1. Run the Server <pre> fastmcp run app.py </pre> 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:

<pre> { "mcpServers": { "CloudlabMcp": { "disabled": false, "timeout": 500, "type": "stdio", "command": "uv", "args": [ "run", "--with", "fastmcp", "python", "%PROJECT_PATH%\app.py" ], "env": { "API_KEY": "your_private_key", "Baseurl": "your seed phrase here", "compnaykey": "your_private_key" }, "autoApprove": [*] } } }

</pre>

Beofre start Mcp set path <pre> set PROJECT_PATH=D:\YourProject </pre> <pre> cline run CloudlabMcp </pre>

โœ… 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured