# Edgegap

Edgegap lets an agent prepare a game server container, deploy a dedicated server near players, and inspect logs when a deployment fails.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1
- Author: edgegap
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/edgegap/llm-mcp-server
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/edgegap

## What it does

The MCP server connects an agent to Edgegap. It can write or check a `Dockerfile`, upload an image to a private registry, create an application version, deploy a dedicated server, and return its connection address. For a host-client game, it can create a relay session instead.

It can also produce a matchmaker configuration for you to upload through the dashboard, check deployment status, and read container logs. The API token applies across the organization rather than to a single application, so giving it to an unattended agent grants access beyond one game project.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.edgegap.dev/mcp`
- Environment variables: `EDGEGAP_API_TOKEN` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add mcp -e EDGEGAP_API_TOKEN=<EDGEGAP_API_TOKEN> -- npx -y @edgegap/mcp
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http edgegap https://mcp.edgegap.dev/mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add edgegap --url https://mcp.edgegap.dev/mcp
```

2. **Platform CLI**
```bash
codex mcp add edgegap --env EDGEGAP_API_TOKEN=<EDGEGAP_API_TOKEN> -- npx -y @edgegap/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "edgegap": {
            "url": "https://mcp.edgegap.dev/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "edgegap": {
            "command": "npx",
            "args": [
                "-y",
                "@edgegap/mcp"
            ],
            "env": {
                "EDGEGAP_API_TOKEN": "<EDGEGAP_API_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "edgegap": {
            "type": "http",
            "url": "https://mcp.edgegap.dev/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "edgegap": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@edgegap/mcp"
            ],
            "env": {
                "EDGEGAP_API_TOKEN": "<EDGEGAP_API_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http edgegap https://mcp.edgegap.dev/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e EDGEGAP_API_TOKEN=<EDGEGAP_API_TOKEN> edgegap npx -y @edgegap/mcp
```
Replace <…> with your own values

## When to use it
- prepare a `Dockerfile` for a game server build
- push a container image and deploy a dedicated server
- retrieve the deployed server's connection address
- generate a matchmaker configuration for dashboard upload
- inspect container logs after a failed deployment

## Example prompts
- Prepare a `Dockerfile` for my game server build and check it against Edgegap requirements.
- Deploy a dedicated Edgegap server from this image and return its connection address.
- Check the deployment status and inspect the container logs.

## Similar
- [Pascal 3D Editor](https://affpapa.org/en/nevibecode/mcp/pascal-3d-editor.md) — MCP server · ★ 25137
- [Unity-MCP](https://affpapa.org/en/nevibecode/mcp/unity-mcp.md) — MCP server · ★ 4534
- [mcp](https://affpapa.org/en/nevibecode/mcp/sceneview-mcp.md) — MCP server · ★ 1349
- [Gearboy MCP Server](https://affpapa.org/en/nevibecode/mcp/gearboy-mcp-server.md) — MCP server · ★ 1218
- [ChiR24-unreal_mcp_server](https://affpapa.org/en/nevibecode/mcp/chir24-unreal-mcp-server.md) — MCP server · ★ 982
- [Nova3D](https://affpapa.org/en/nevibecode/mcp/nova3d.md) — MCP server · ★ 732

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
