# Integrations

HarnessLink is the controller for your coding agents - it routes their model calls, gives them shared memory, banks what they do, and syncs and restores your setup. You code in omp, Claude Code, Codex, pi, and others. These are official MCP servers, each published by the company behind the product. Add a snippet to `~/.hnl/agent/mcp.json` and the HarnessLink MCP hub serves it to every harness that runs `hnl mcp`; your harnesses get the tools on their next session. There is no server-side OAuth through harnesslink.sh; each server talks directly to the third-party service with your own credentials.

### GitHub

Read and write issues, pull requests, commits, file contents, and code search across repositories you have access to.

Add to `~/.hnl/agent/mcp.json`

mcp.json

```
{
  "mcpServers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/",
      "headers": {
        "Authorization": "Bearer <your-github-token>"
      }
    }
  }
}
```

### Linear

Find, create and update issues, projects and comments in your Linear workspace from inside any harness.

Add to `~/.hnl/agent/mcp.json`

mcp.json

```
{
  "mcpServers": {
    "linear": {
      "type": "http",
      "url": "https://mcp.linear.app/mcp",
      "headers": {
        "Authorization": "Bearer <your-linear-api-key>"
      }
    }
  }
}
```

### Sentry

Surface error events, stack traces, and issue details from your Sentry organisation without leaving the terminal.

Add to `~/.hnl/agent/mcp.json`

mcp.json

```
{
  "mcpServers": {
    "sentry": {
      "command": "npx",
      "args": ["-y", "@sentry/mcp-server"],
      "env": {
        "SENTRY_ACCESS_TOKEN": "<your-access-token>"
      }
    }
  }
}
```

### Notion

Read and write pages, databases, and blocks in your Notion workspace with a connected integration token.

Add to `~/.hnl/agent/mcp.json`

mcp.json

```
{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "@notionhq/notion-mcp-server"],
      "env": {
        "NOTION_TOKEN": "<your-integration-token>"
      }
    }
  }
}
```

### Stripe

Look up customers, payments, subscriptions, and refunds in your Stripe account; a restricted API key decides which tools it gets.

Add to `~/.hnl/agent/mcp.json`

mcp.json

```
{
  "mcpServers": {
    "stripe": {
      "command": "npx",
      "args": ["-y", "@stripe/mcp"],
      "env": {
        "STRIPE_SECRET_KEY": "<your-restricted-api-key>"
      }
    }
  }
}
```

### Playwright

Drive a real Chromium browser - navigate pages, fill forms, take screenshots, and extract content from the live web.

Add to `~/.hnl/agent/mcp.json`

mcp.json

```
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["-y", "@playwright/mcp"]
    }
  }
}
```

### Context7

Pull in up-to-date library documentation and code examples at query time so your agent's answers are never stale.

Add to `~/.hnl/agent/mcp.json`

mcp.json

```
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp"]
    }
  }
}
```

### Cloudflare

Manage Workers, KV, R2, D1, and the rest of the Cloudflare API from your harness with an API token you create.

Add to `~/.hnl/agent/mcp.json`

mcp.json

```
{
  "mcpServers": {
    "cloudflare": {
      "type": "http",
      "url": "https://mcp.cloudflare.com/mcp",
      "headers": {
        "Authorization": "Bearer <your-api-token>"
      }
    }
  }
}
```

## How MCP servers work with HarnessLink

**Where the config lives.** Put servers in `~/.hnl/agent/mcp.json`. The HarnessLink MCP hub starts each one once per machine and serves it to every harness that runs `hnl mcp` - setup registers that in each harness. Or add a server to one harness's own MCP config instead, if only that harness should have it.

**Merging snippets.** If `mcp.json` already exists, copy the inner server object from the snippet into your existing `mcpServers` block - do not replace the whole file.

**Credentials.** Values like `<your-token>` are placeholders. Replace them with a token you create in that service - do not commit secrets to version control. Local servers get theirs through the `env` block; hosted servers (GitHub, Linear, Cloudflare) get theirs in the `Authorization` header.

**Official servers.** Each server listed here is published by the company behind the product. Check its own documentation for the latest configuration options and the permissions its token needs.
