# Traecnclaw

> Traecnclaw is an open-source MCP server. Local persistent TraeCN coding-task gateway with a focused MCP Agent surface. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/luckycat133/traecnclaw-mcp-skill
- **MCP Registry name:** io.github.Luckycat133/traecnclaw
- **Listing updated:** 2026-11-13

## About

Local persistent TraeCN coding-task gateway with a focused MCP Agent surface.

## Install

### Claude Code (Terminal)

```sh
claude mcp add traecnclaw --env TRAECN_GATEWAY_TOKEN='<TRAECN_GATEWAY_TOKEN>' -- npx -y @luckycat133/traecnclaw
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "traecnclaw": {
      "command": "npx",
      "args": [
        "-y",
        "@luckycat133/traecnclaw"
      ],
      "env": {
        "TRAECN_GATEWAY_TOKEN": "<TRAECN_GATEWAY_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "traecnclaw": {
      "command": "npx",
      "args": [
        "-y",
        "@luckycat133/traecnclaw"
      ],
      "env": {
        "TRAECN_GATEWAY_TOKEN": "<TRAECN_GATEWAY_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "traecnclaw": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@luckycat133/traecnclaw"
      ],
      "env": {
        "TRAECN_GATEWAY_TOKEN": "<TRAECN_GATEWAY_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "traecnclaw": {
      "command": "npx",
      "args": [
        "-y",
        "@luckycat133/traecnclaw"
      ],
      "env": {
        "TRAECN_GATEWAY_TOKEN": "<TRAECN_GATEWAY_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "traecnclaw": {
      "command": "npx",
      "args": [
        "-y",
        "@luckycat133/traecnclaw"
      ],
      "env": {
        "TRAECN_GATEWAY_TOKEN": "<TRAECN_GATEWAY_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is Traecnclaw free?

Yes. Traecnclaw is open source, so you can use and self-host it for free.

### How do I add Traecnclaw to Claude Code?

Run this command in your terminal: claude mcp add traecnclaw --env TRAECN_GATEWAY_TOKEN='<TRAECN_GATEWAY_TOKEN>' -- npx -y @luckycat133/traecnclaw

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/traecnclaw
