DevEx MCP Server

DevEx MCP Server

AI-powered cloud development IDE, so you can run AI to surf in a secure sandbox environment.

Category
访问服务器

README

<h1 align="center">⚡ DevEx – The Open Cloud IDE Platform</h1>

<p align="center"> <b>Run full-featured, containerized dev environments in the cloud — with AI assistance and secure sandboxing.</b><br/> Scalable REPL sessions powered by Kubernetes, WebSockets, and GoLang. </p>

<p align="center"> <a href="https://github.com/ParthKapoor-dev/devex/stargazers"> <img src="https://img.shields.io/github/stars/ParthKapoor-dev/devex?style=for-the-badge" /> </a> <a href="https://github.com/ParthKapoor-dev/devex/issues"> <img src="https://img.shields.io/github/issues/ParthKapoor-dev/devex?style=for-the-badge" /> </a> <a href="https://github.com/ParthKapoor-dev/devex/blob/main/LICENSE"> <img src="https://img.shields.io/github/license/ParthKapoor-dev/devex?style=for-the-badge" /> </a> </p>

<p align="center"> <img src="https://raw.githubusercontent.com/parthkapoor-dev/devex/main/assets/devx.png" alt="Cloud Dev IDE Banner" /> </p>


DevEx is an open-source platform to spin up cloud-based development environments (REPLs) that work like your local setup — but in the browser, anywhere, anytime.

Built for flexibility, you can code in your preferred stack, connect over SSH, or run sessions with AI agents via our MCP server. We also support sandboxing AI-generated code securely, letting you test real changes in isolated environments.

Unlike Gitpod or E2B, DevEx is lightweight, self-hostable, and production-grade out of the box — with a developer-first CLI, seamless AI integration, and Kubernetes-native design for infinite scale.

📣 Want to add your own REPL template? It's easy! 👉 Read the Contributing Guide to get started.


<p align="center"> <a href="https://glama.ai/mcp/servers/@ParthKapoor-dev/devex"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@ParthKapoor-dev/devex/badge" /> </a> </p>

<p align="center"><b>🚀 MCP Server is now live at <a href="https://glama.ai">glama.ai</a> – enabling AI agents to interact directly with your REPLs!</b></p>

✨ Features

  • 🔐 GitHub OAuth authentication
  • 🪄 Create, Start, Stop, Delete REPLs via Core API
  • 💾 S3-backed file persistence
  • 📦 Kubernetes Deployments per REPL (Dynamic)
  • 📡 WebSocket-based Editor & Terminal
  • 🧹 Ephemeral containers for cleanup and sync
  • 🔒 HTTPS & TLS via Let's Encrypt & Cert Manager
  • 🎨 Beautiful Next.js + Tailwind frontend

⚙️ How It Works

graph TB
    User[👤 User] --> Web[🌐 Web Frontend<br/>React/Next.js Application]
    Web --> Core[🔧 Core Backend<br/>• User Authentication<br/>• Repl Management<br/>• S3 Integration<br/>• K8s Orchestration]
    Core --> S3[(🗄️ S3 Storage<br/>username/repl-id/<br/>├── templates/<br/>└── user-files/)]

    subgraph K8sCluster["☸️ Kubernetes Cluster"]
        direction TB
        IngressController[🚪 Ingress NGINX Controller<br/>Traffic Routing]
        CertManager[🔒 Cert Manager<br/>TLS Certificate Management]

        subgraph ReplResources["📦 Per-Repl Resources"]
            Deployment[🚀 Deployment<br/>Repl Container Instance]
            Service[🔗 Service<br/>Internal Network Access]
            Ingress[🌍 Ingress<br/>External Access Route]
        end

        subgraph Pod["🏠 Repl Pod"]
            MainContainer[🐳 Runner Container<br/>• WebSocket Server<br/>• File Operations<br/>• PTY/Terminal Access<br/>• Code Execution]
            EphemeralContainer[⚡ Ephemeral Container<br/>File Sync Back to S3<br/>🔄 Cleanup Process]
        end

        Deployment --> Pod
        Service --> Pod
        Ingress --> Service
        IngressController --> Ingress
    end

    Core --> K8sCluster
    Core -.->|Create Resources<br/>Deploy → Service → Ingress| ReplResources
    Web -.->|🔌 WebSocket Connection<br/>• File Management<br/>• Terminal Access<br/>• Real-time Collaboration| MainContainer
    Core -.->|📁 Copy Template<br/>to user directory| S3
    EphemeralContainer -.->|💾 Sync Files Back<br/>Before Cleanup| S3
    MainContainer -.->|📂 Load Files<br/>on Session Start| S3

🌀 Session Lifecycle

sequenceDiagram
    participant U as User
    participant W as Web Frontend
    participant C as Core Service
    participant K as Kubernetes
    participant S as S3 Storage
    participant R as Runner Container

    U->>W: Create New Repl
    W->>C: POST /repl/create
    C->>S: Create user directory<br/>Copy template files

    U->>W: Start Session
    W->>C: POST /repl/start
    C->>K: Create Deployment<br/>Service & Ingress
    K->>R: Initialize Container
    R->>S: Download files
    R->>W: WebSocket Connection

    Note over U,R: Development Session Active
    U->>R: File operations via WebSocket
    R->>R: Real-time file editing

    U->>W: Close Session
    W->>C: POST /repl/stop
    C->>K: Inject Ephemeral Container
    K->>S: Upload modified files
    C->>K: Delete Resources

🔩 Key Components

web/Frontend

  • Built with Next.js + Tailwind CSS
  • GitHub OAuth login
  • GUI for File Tree, Editor, Terminal
  • WebSocket hooks to interact with Runner

core/Backend API

  • Written in Go
  • Handles user auth, S3 ops, Kubernetes deployments, cleanup
  • Redis for REPL session state
  • 📄 See core/README.md for detailed architecture & deployment steps

runner/REPL Runtime Container

  • Lightweight Go server

  • WebSocket API for:

    • File tree and file content access
    • Terminal (PTY) sessions
  • 📄 See runner/README.md for event list and package internals

k8s/Kubernetes Bootstrap & TLS

  • Contains:

    • Ingress-NGINX setup
    • cert-manager + Let’s Encrypt for auto TLS
  • 📄 See k8s/README.md for full setup instructions

templates/

  • Base folders (e.g. Node.js, Python) copied on REPL creation
  • Language-specific dockerized scaffolds
  • 📦 Want to add your own template? See the Contribution Guide

🧱 Infrastructure

  • ☸️ Kubernetes cluster for REPL pods
  • 🔒 Cert Manager + Let’s Encrypt for TLS
  • 🗃️ S3-compatible storage for persistence
  • 🐳 Docker images for runtime environments
  • ⚙️ Redis for in-memory session tracking

📦 Deployment Flow

  1. User logs in and creates a REPL

  2. core/ copies a template into username/repl-id/ on S3

  3. core/ deploys a pod, service, ingress in Kubernetes

  4. runner/ connects via WebSocket and serves FS + Terminal

  5. On session end:

    • Ephemeral container uploads updated files to S3
    • All K8s resources are cleaned up

💻 Tech Stack

Layer Stack
Frontend Next.js, Tailwind, WebSockets
Backend GoLang (Echo/Fiber), Redis, S3 SDK
Runner GoLang + PTY + WebSocket
Orchestration Kubernetes, Docker, Docker Swarm
Networking Ingress NGINX + cert-manager
Auth GitHub OAuth

📄 Per-Component Docs

📚 For deeper implementation details:


🧠 Why I Built This

“This project is my deep dive into Cloud Infrastructure, DevOps, and FullStack Engineering — wrapped in a real-world application.” — Parth Kapoor


🌐 Demo & Links


🤝 Contributing

This project is under active development. Want to contribute a template, fix, or feature? Start here 👉 CONTRIBUTING.md

Pull requests, suggestions, and feedback are always welcome!


📜 License

Licensed under the MIT License

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选