YepCode

YepCode

An MCP server that runs YepCode processes securely in sandboxed environments for AI tooling.

40
Stars
18
Forks
20
Releases

Overview

YepCode MCP Server is an MCP (Model Context Protocol) server that enables AI platforms to interact with YepCode's infrastructure by turning LLM-generated scripts and YepCode processes into AI-ready tools. It supports executing code in YepCode's secure, isolated environments and exposing processes as individual MCP tools that AI assistants can call directly. The server can be deployed remotely via a hosted SSE server or locally via NPX or Docker, with authentication via YepCode API credentials. Clients connect using either an SSE URL with a token or an HTTP endpoint with an Authorization header. It provides real-time process control and enterprise-grade security, along with environment variable management (set_env_var, remove_env_var) and access to an built-in storage system (list, upload, download, delete). Tool exposure is governed by YEPCODE_MCP_OPTIONS and YEPCODE_MCP_TOOLS to control code execution capabilities and which processes are surfaced as tools. Debugging is supported via the MCP Inspector, and a full API management suite (yc_api, yc_api_full) enables comprehensive control over processes, schedules, variables, storage, executions, and modules. This design ensures universal compatibility with any AI platform that supports MCP.

Details

Owner
yepcode
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

Secure Code Execution (run_code)

Executes code in YepCode's sandboxed environment with optional language, context, and runtime settings; returns a value, logs, and potential error. Supports runCodeCleanup option to keep or remove source after execution.

Expose Processes as MCP Tools

Transforms tagged YepCode processes into individual MCP tools, named after the process slug (or yc_ prefixed if long). Supports synchronous and asynchronous execution and exposure control via environment variables.

Environment Management

Manage workspace environment variables through set_env_var and remove_env_var operations, enabling dynamic configuration of executed code.

Storage Management

Built-in YepCode storage to list, upload, download, and delete files, accessible from code executions via yepcode.storage helpers.

Remote and Local Deployment

Flexible deployment options including a hosted remote SSE server or local deployment via NPX or Docker, with API token authentication.

API Management Tools

Access comprehensive API tooling via yc_api and yc_api_full for managing processes, schedules, variables, storage, executions, and modules.

Debugging Support

Debug MCP servers using the MCP Inspector, with a browser-accessible debugging server started via npm run inspector.

Real-time Process Control

Enable direct, real-time interaction between AI systems and YepCode workflows for dynamic, responsive automation.

Audience

AI Platform DevelopersIntegrate YepCode processes as MCP tools in AI assistants with secure, scalable execution.
Enterprise TeamsRun production-grade processes securely with logs, access control, and sandboxed environments.
Developers adopting Model Context ProtocolExpose YepCode processes as MCP tools for browser-based or hosted AI integrations.

Tags

mcp-servermodel-context-protocolai-toolscode-executionenvironment-managementstorage-managementapi-managementsecurityremote-hosting