Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@yepcode/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yepcode/mcp-server

MCP server for YepCode

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
16
-27.27%
Maintainers
1
Weekly downloads
 
Created
Source

YepCode MCP Server 🤖

An MCP (Model Context Protocol) server that enables AI platforms to interact with YepCode's infrastructure. Turn your YepCode processes into powerful tools that AI assistants can use directly.

Why YepCode MCP Server? ✨

  • AI-Ready Automation 🧠: Transform your YepCode processes into tools that any AI assistant can use
  • Bidirectional Communication 🔄: Create two-way interactions between AI systems and your automation workflows
  • Secure Infrastructure 🔒: Execute code and processes in YepCode's secure, isolated environments
  • Flexible Integration 🔌: Works with any AI assistant that supports the Model Context Protocol (Claude, Cursor, etc.)

What is this for? 🎯

This MCP server allows you to:

1. Create Custom AI Tools 🛠️

Build specialized tools for your AI assistants by creating YepCode processes for:

  • 📊 Database queries and operations
  • 🔗 API integrations
  • 🔄 Data transformations
  • 💡 Custom business logic
  • 🔑 Authentication flows
  • 📁 File processing

2. Execute Code ⚡

  • 💻 Run code snippets in various programming languages
  • 🧪 Test AI-generated code in isolated environments
  • ⏱️ Execute long-running processes
  • 🔐 Access secure computing resources

3. Manage Infrastructure 🏗️

  • ⚙️ Set and manage environment variables
  • 🎮 Control access to resources
  • 📊 Monitor executions
  • ⚠️ Handle errors gracefully

Quick Start 🚀

Integration with AI Platforms 📦

Using NPX

We have published the MCP server as a package in npm, so you may use npx as command to start the server.

This is the tipical JSON confiuration to be added to tools like Cursor or Claude Desktop.

{
  "mcpServers": {
    "yepcode-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@yepcode/mcp-server"
      ],
      "env": {
        "YEPCODE_API_KEY":"your_api_key_here",
        "YEPCODE_PROCESSES_AS_MCP_TOOLS": "true"  // Optional: Expose YepCode processes as individual MCP tools
      }
    }
  }
}

Using Docker

We also have a Dockerfile to build a container image that you can use to start the server.

For this, you need to download the source code and build the image with the following command:

docker build -t yepcode/mcp-server .

Then, you can configure the server with the docker command:

{
  "mcpServers": {
    "yepcode-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-d",
        "-e",
        "YEPCODE_API_KEY=your_api_key_here",
        "-e",
        "YEPCODE_PROCESSES_AS_MCP_TOOLS=true",
        "yepcode/mcp-server"
      ]
    }
  }
}

Debugging 🧪

Debugging MCP servers can be tricky since they communicate over stdio. To make this easier, we recommend using the MCP Inspector, which you can run with the following command:

npm run inspector

This will start a server where you can access debugging tools directly in your browser.

Available Tools 🧰

run_code 💻

Executes code in YepCode's secure environment.

// Input
{
  code: string;
  options?: {
    language?: string;                    // Programming language (default: 'javascript')
    comment?: string;                    // Execution context
    settings?: Record<string, unknown>;  // Runtime settings
  }
}

// Response
{
  success: boolean;
  returnValue?: unknown;  // Execution result
  logs?: string[];       // Console output
  error?: string;
}

Environment Variables 🔐

set_env_var

Sets an environment variable.

// Input
{
  key: string;
  value: string;
  isSensitive?: boolean; // Mask value in logs (default: true)
}

remove_env_var

Removes an environment variable.

// Input
{
  key: string;
}

Run YepCode Processes as MCP Tools ⚡

run_yepcode_process_*

When YEPCODE_PROCESSES_AS_MCP_TOOLS=true, each YepCode process becomes available as an individual MCP tool. This provides better discoverability and direct access to your processes from AI assistants.

There will be a tool for each YepCode process: run_yepcode_process_<process_slug>.

// Input
{
  parameters?: any;
  options?: {
    tag?: string;      // Process version
    comment?: string;  // Execution context
  };
  synchronousExecution?: boolean;  // Wait for completion (default: true)
}

// Response (synchronous execution)
{
  executionId: string;
  logs: string[];
  returnValue?: unknown;
  error?: string;
}

// Response (asynchronous execution)
{
  executionId: string;
}

get_execution

Retrieves the result of an execution.

// Input
{
  executionId: string;
}

// Response
{
  executionId: string;
  logs: string[];
  returnValue?: unknown;
  error?: string;
}

License ⚖️

All rights reserved by YepCode. Usage is subject to YepCode Terms of Service.

Keywords

yepcode

FAQs

Package last updated on 27 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts