Execute any LLM-generated code in a secure and scalable sandbox environment and create your own MCP tools using JavaScript or Python, with full support for NPM and PyPI packages
Empower your AI applications with seamless access to external data and tools using the YepCode MCP Server, a robust implementation of the Model Context Protocol (MCP). Transform your YepCode processes into AI-ready tools, enabling intelligent automation and real-time interaction between AI systems and your workflows.
Integrate the YepCode MCP server with leading AI platforms like Cursor and Claude Desktop using either a remote or local approach.
Settings
> API credentials
within your workspace to obtain your unique MCP Server URL.{ "mcpServers": { "yepcode-mcp-server": { "url": "https://cloud.yepcode.io/mcp/sk-c2E....RD/sse" } } }
YEPCODE_API_TOKEN
: Your YepCode API token. Obtain this from Settings
> API credentials
in your YepCode Cloud workspace.Add the following configuration to your AI platform settings, replacing "your_api_token_here"
with your actual API token:
{ "mcpServers": { "yepcode-mcp-server": { "command": "npx", "args": ["-y", "@yepcode/mcp-server"], "env": { "YEPCODE_API_TOKEN": "your_api_token_here" } } } }
docker build -t yepcode/mcp-server .
"your_api_token_here"
with your actual API token:{ "mcpServers": { "yepcode-mcp-server": { "command": "docker", "args": [ "run", "-d", "-e", "YEPCODE_API_TOKEN=your_api_token_here", "yepcode/mcp-server" ] } } }
Debugging MCP servers can be challenging due to their communication over stdio. Simplify the process with the MCP Inspector:
npm run inspector
This command launches a server providing browser-based debugging tools for efficient troubleshooting.
The MCP server offers a suite of tools for interacting with YepCode's infrastructure:
run_code
Execute code snippets within YepCode's secure environment.
// Input { code: string; // The code to execute options?: { language?: string; // Programming language (default: 'javascript') comment?: string; // Execution context settings?: Record<string, unknown>; // Runtime settings } } // Response { returnValue?: unknown; // Execution result logs?: string[]; // Console output error?: string; // Error message if execution failed }
set_env_var
and remove_env_var
Manage environment variables within your YepCode workspace.
set_env_var
// Input { key: string; // Variable name value: string; // Variable value isSensitive?: boolean; // Whether to mask the value in logs (default: true) }
remove_env_var
// Input { key: string; // Name of the variable to remove }
run_ycp_<process_slug>
and get_execution
Expose your YepCode Processes as individual MCP tools by adding the mcp-tool
tag (refer to the process tags documentation for details).
run_ycp_<process_slug>
Execute a specific YepCode process.
// Input { parameters?: any; // This should match the input parameters specified in the process options?: { tag?: string; // Process version to execute comment?: string; // Execution context }; synchronousExecution?: boolean; // Whether to wait for completion (default: true) } // Response (synchronous execution) { executionId: string; // Unique execution identifier logs: string[]; // Process execution logs returnValue?: unknown; // Process output error?: string; // Error message if execution failed } // Response (asynchronous execution) { executionId: string; // Unique execution identifier }
get_execution
Retrieve the result of a process execution.
// Input { executionId: string; // ID of the execution to retrieve } // Response { executionId: string; // Unique execution identifier logs: string[]; // Process execution logs returnValue?: unknown; // Process output error?: string; // Error message if execution failed }
๐ ๐ Autonomous shell execution, computer control and coding agent. (Mac)
๐ MCP server that can execute commands such as keyboard input and mouse movement
๐ ๐ ๐ฆ Analyzes your codebase identifying important files based on dependency relationships. Generates diagrams and importance scores, helping AI assistants understand the codebase.
๐ ๐ An MCP Server and VS Code Extension which enables (language agnostic) automatic debugging via breakpoints and expression evaluation.