# MCP server

> Connect the vantuly MCP server to Claude Code, Codex, Cursor and other AI coding tools.

Source: https://vantuly.com/docs/cli/mcp

`vantuly mcp` is an MCP server that runs on your computer over stdio. An AI agent that supports local MCP servers starts it and calls its tools to deploy for you. It uses your CLI sign-in, so run `vantuly login` once first.

## Tools

| Tool | What it does |
|---|---|
| `whoami` | Shows the signed-in account and team |
| `list_servers` | Lists the team's servers |
| `list_sites` | Lists the team's sites |
| `deploy` | Deploys a folder |
| `deployment_status` | Shows a deployment's status |
| `deployment_logs` | Shows a deployment's build log |
| `rollback` | Switches a site back to an earlier deployment |
| `add_domain` | Adds a domain to a site |
| `domain_status` | Shows a domain's DNS and certificate status |
| `set_env` | Sets environment variables |
| `list_env` | Lists environment variable names |

## Limits

- The server runs in the project folder. `deploy` only takes folders inside it.
- There are no delete, terminal, firewall, backup or team tools. Do those in the dashboard.
- The agent can only reach the team you picked at `vantuly login`.

## Connect it

For Claude Code, Codex, OpenCode and Cursor, `vantuly mcp install <client>` writes the config for you. Other entries in the file are kept. The entry runs `npx -y vantuly mcp` (`uvx vantuly mcp` on a computer without npx, the binary's own path without either). For other tools, add the entry by hand. Restart the agent to load it.

### Claude Code

This also works in the Code tab of the Claude desktop app, which reads the same settings as the CLI.


```sh
vantuly mcp install claude
```


In `.mcp.json` in the project folder:

```json
{
  "mcpServers": {
    "vantuly": {
      "command": "npx",
      "args": ["-y", "vantuly", "mcp"]
    }
  }
}
```


### Codex

The Codex CLI, the Codex app and the IDE extension share this config.


```sh
vantuly mcp install codex
```


In `~/.codex/config.toml`:

```toml
[mcp_servers.vantuly]
command = "npx"
args = ["-y", "vantuly", "mcp"]
```


### OpenCode


```sh
vantuly mcp install opencode
```


In `opencode.json` in the project folder:

```json
{
  "mcp": {
    "vantuly": {
      "type": "local",
      "command": ["npx", "-y", "vantuly", "mcp"],
      "enabled": true
    }
  }
}
```


### Cursor


```sh
vantuly mcp install cursor
```


In `.cursor/mcp.json` in the project folder (or `~/.cursor/mcp.json` for every project):

```json
{
  "mcpServers": {
    "vantuly": {
      "command": "npx",
      "args": ["-y", "vantuly", "mcp"]
    }
  }
}
```


### VS Code with GitHub Copilot

In `.vscode/mcp.json` in the project folder. Note the `servers` key:

```json
{
  "servers": {
    "vantuly": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "vantuly", "mcp"]
    }
  }
}
```

### Devin Desktop (Windsurf)

For the Cascade agent, in `~/.config/devin/mcp_config.json` (`%APPDATA%\devin\mcp_config.json` on Windows):

```json
{
  "mcpServers": {
    "vantuly": {
      "command": "npx",
      "args": ["-y", "vantuly", "mcp"]
    }
  }
}
```

### Zed

In Zed's settings file (`zed: open settings file`):

```json
{
  "context_servers": {
    "vantuly": {
      "command": "npx",
      "args": ["-y", "vantuly", "mcp"]
    }
  }
}
```

### Gemini CLI

In `~/.gemini/settings.json`, or `.gemini/settings.json` in the project folder:

```json
{
  "mcpServers": {
    "vantuly": {
      "command": "npx",
      "args": ["-y", "vantuly", "mcp"]
    }
  }
}
```

### Command Code

```sh
cmd mcp add vantuly -- npx -y vantuly mcp
```

This adds it for the current project. The config is kept in `~/.commandcode/`.

### Kimi Code

In `~/.kimi-code/mcp.json`, or `.kimi-code/mcp.json` in the project folder:

```json
{
  "mcpServers": {
    "vantuly": {
      "command": "npx",
      "args": ["-y", "vantuly", "mcp"]
    }
  }
}
```

### Amp


```sh
amp mcp add vantuly -- npx -y vantuly mcp
```


In `~/.config/amp/settings.json`:

```json
{
  "amp.mcpServers": {
    "vantuly": {
      "command": "npx",
      "args": ["-y", "vantuly", "mcp"]
    }
  }
}
```


### Goose

In `~/.config/goose/config.yaml` (`%APPDATA%\Block\goose\config\config.yaml` on Windows):

```yaml
extensions:
  vantuly:
    type: stdio
    name: vantuly
    enabled: true
    cmd: npx
    args: ["-y", "vantuly", "mcp"]
    timeout: 300
```

### Cline

In Cline, open MCP Servers, then Configure, then Configure MCP Servers. The CLI uses `~/.cline/data/settings/cline_mcp_settings.json`.

```json
{
  "mcpServers": {
    "vantuly": {
      "command": "npx",
      "args": ["-y", "vantuly", "mcp"]
    }
  }
}
```

### Kilo Code

In `kilo.jsonc` in the project folder, or `~/.config/kilo/kilo.jsonc`:

```json
{
  "mcp": {
    "vantuly": {
      "type": "local",
      "command": ["npx", "-y", "vantuly", "mcp"],
      "enabled": true
    }
  }
}
```

### Roo Code

In `.roo/mcp.json` in the project folder, or the global file from Edit Global MCP:

```json
{
  "mcpServers": {
    "vantuly": {
      "command": "npx",
      "args": ["-y", "vantuly", "mcp"]
    }
  }
}
```

## Coming later

An official Claude connector or plugin and a Codex plugin are planned. Until then, use the setup above.
