Model Context Protocol

Deployra MCP Server

Connect your favorite AI coding assistants to Deployra. Deploy, manage, and monitor your applications using natural language directly from Claude Code, Cursor, VS Code, and more.

https://api.deployra.com/mcp/sse

How it Works

MCP (Model Context Protocol) is an open standard that enables AI applications to connect with external tools and data sources. The Deployra MCP Server exposes deployment actions that AI agents can invoke to manage your infrastructure.

1

Configure

Add Deployra MCP Server to your AI coding assistant with your API key.

2

Prompt

Ask your AI assistant to deploy, manage, or debug your services in natural language.

3

Execute

The AI invokes the MCP tools, and Deployra executes the actions on your infrastructure.

Instant Deployments

Deploy your projects with a single prompt. AI agents trigger deployments automatically while you code.

Service Management

Create, update, and manage services. Configure environment variables, scaling, and more through conversation.

Real-time Logs

Stream build and runtime logs directly to your coding environment for instant debugging.

Natural Language

Example Prompts

Here are some things you can ask your AI assistant to do with Deployra:

"Deploy my-api service"
"Show me the deployment logs for my-backend"
"List all my services"
"What's the status of my current deployment?"
"Show me the CPU and memory metrics for my-frontend"
"Restart my-api service"
"List all pods for my-worker service"
"Get the logs from my-api pod"

Setup

Choose your AI coding assistant and follow the configuration steps below.

Claude Code

Anthropic's official CLI for Claude

Option 1: Use the CLI command (recommended):

claude mcp add deployra -- npx -y mcp-remote "https://api.deployra.com/mcp/sse?api_key=YOUR_API_KEY"

Option 2: Add to your project's .mcp.json file:

.mcp.json
{
  "mcpServers": {
    "deployra": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.deployra.com/mcp/sse?api_key=YOUR_API_KEY"
      ]
    }
  }
}

Tip: Replace YOUR_API_KEY with your actual API key that starts with dk_

Claude Desktop

Anthropic's desktop application

Add the following to your ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

claude_desktop_config.json
{
  "mcpServers": {
    "deployra": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.deployra.com/mcp/sse?api_key=YOUR_API_KEY"
      ]
    }
  }
}

Cursor

AI-first code editor

Add the following to ~/.cursor/mcp.json:

~/.cursor/mcp.json
{
  "mcpServers": {
    "deployra": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.deployra.com/mcp/sse?api_key=YOUR_API_KEY"
      ]
    }
  }
}

VS Code

With GitHub Copilot or Continue extension

Add the following to your VS Code settings.json:

settings.json
{
  "mcp": {
    "servers": {
      "deployra": {
        "command": "npx",
        "args": [
          "-y",
          "mcp-remote",
          "https://api.deployra.com/mcp/sse?api_key=YOUR_API_KEY"
        ]
      }
    }
  }
}

Windsurf

Codeium's AI-powered IDE

Add the following to ~/.codeium/windsurf/mcp_config.json:

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "deployra": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.deployra.com/mcp/sse?api_key=YOUR_API_KEY"
      ]
    }
  }
}

Get Your API Key

To use the Deployra MCP Server, you need an API key. Sign up or log in to your Deployra account and navigate to your organization settings to generate one.

  1. 1Sign up or log in to your Deployra account
  2. 2Go to Organization Settings → API Keys
  3. 3Create a new API key and copy it to your configuration

Available Tools

The Deployra MCP Server provides the following tools organized by category:

Deployments

deploy_serviceDeploy a service to the cluster
cancel_deploymentCancel an active deployment
get_active_deploymentGet current deployment status
get_deployment_logsGet build and deployment logs
get_deployment_historySee past deployments for a service

Services

list_servicesList all services with CPU/memory info
get_service_metricsGet real-time CPU and memory metrics
restart_serviceRestart a running service

Pods & Logs

list_podsList Kubernetes pods for a service
get_pod_logsGet logs from a specific pod