# ArkGate MCP server

> Enforces architectural import rules for AI-written TypeScript to prevent design decay and spaghetti code.

- Repository: https://github.com/pedroknigge/ark-runtime-kernel
- Page: https://hostedmcp.org/servers/pedroknigge/ark-runtime-kernel
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 2.0.1

## Install

### Claude Code

```sh
claude mcp add ark-runtime-kernel -- npx -y ark-runtime-kernel
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "ark-runtime-kernel": {
      "command": "npx",
      "args": [
        "-y",
        "ark-runtime-kernel"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "ark-runtime-kernel": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ark-runtime-kernel"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"ark-runtime-kernel","type":"stdio","command":"npx","args":["-y","ark-runtime-kernel"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "ark-runtime-kernel": {
      "command": "npx",
      "args": [
        "-y",
        "ark-runtime-kernel"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add ark-runtime-kernel -- npx -y ark-runtime-kernel
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.ark-runtime-kernel]
command = "npx"
args = ["-y", "ark-runtime-kernel"]
```

### Gemini CLI

```sh
gemini mcp add -s user ark-runtime-kernel npx -- -y ark-runtime-kernel
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "ark-runtime-kernel": {
      "command": "npx",
      "args": [
        "-y",
        "ark-runtime-kernel"
      ]
    }
  }
}
```

## FAQ

### How does ArkGate prevent bad code from being merged?

It uses a required GitHub status running arkgate-check --strict-merge to ensure that violations fail the pull request.

### Can I preview changes before they are applied?

Yes, you can run a command to preview only, which ensures no files are changed during the preview phase.
