# Strait

The Strait MCP server for Claude Code manages deep links and reports link activity. It can also create QR codes and handle webhooks.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: strait-link
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/strait-link/strait-mcp
- Updated: 2026-11-13
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/strait

## What it does

Strait creates, finds and pauses deep links. It can return QR codes, show analytics and recent taps, and report conversion events. Link domains and webhooks are manageable through the server, which can also check App Links and Universal Links files.

Most tools require the `STRAIT_SECRET_KEY` secret; `check_app_links`, `check_link`, `search_docs` and the `trace_tap` demo work without it. Run the local server with `npx -y @straitlink/mcp`. Claude Code can also connect to the hosted server over HTTP.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://strait.link/mcp`
- Environment variables: `STRAIT_SECRET_KEY`, `STRAIT_API_URL`, `STRAIT_DOCS_OFFLINE` — 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 --env STRAIT_SECRET_KEY=<STRAIT_SECRET_KEY> --env STRAIT_API_URL=<STRAIT_API_URL> --env STRAIT_DOCS_OFFLINE=<STRAIT_DOCS_OFFLINE> --transport stdio strait -- npx -y @straitlink/mcp
```
Replace <…> with your own values

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

### Codex

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

2. **Platform CLI**
```bash
codex mcp add strait --env STRAIT_SECRET_KEY=<STRAIT_SECRET_KEY> --env STRAIT_API_URL=<STRAIT_API_URL> --env STRAIT_DOCS_OFFLINE=<STRAIT_DOCS_OFFLINE> -- npx -y @straitlink/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "strait": {
            "url": "https://strait.link/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "strait": {
            "command": "npx",
            "args": [
                "-y",
                "@straitlink/mcp"
            ],
            "env": {
                "STRAIT_SECRET_KEY": "<STRAIT_SECRET_KEY>",
                "STRAIT_API_URL": "<STRAIT_API_URL>",
                "STRAIT_DOCS_OFFLINE": "<STRAIT_DOCS_OFFLINE>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

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

### Gemini CLI

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

2. **Platform CLI**
```bash
gemini mcp add -e STRAIT_SECRET_KEY=<STRAIT_SECRET_KEY> -e STRAIT_API_URL=<STRAIT_API_URL> -e STRAIT_DOCS_OFFLINE=<STRAIT_DOCS_OFFLINE> strait npx -y @straitlink/mcp
```
Replace <…> with your own values

## When to use it
- create a deep link and retrieve its short URL
- find links by campaign or tag
- compare activity across two time periods
- bundle campaign QR codes into a ZIP
- check App Links and Universal Links setup

## Example prompts
- Create a deep link for this app page and return its short URL.
- Find the links in the `summer` campaign and compare their activity across two periods.
- Check the app domain's App Links and Universal Links setup.

## Similar
- [WarpLink](https://affpapa.org/en/nevibecode/mcp/warplink.md) — MCP server
- [referral-program](https://affpapa.org/en/nevibecode/skills/appeeky-referral-program.md) — skill · 1900 installs
- [Linkbreakers MCP](https://affpapa.org/en/nevibecode/mcp/linkbreakers-mcp.md) — MCP server
- [Grovs](https://affpapa.org/en/nevibecode/mcp/grovs.md) — MCP server · ★ 2 repo stars
- [Snipzr](https://affpapa.org/en/nevibecode/mcp/snipzr.md) — MCP server
- [rdyrct](https://affpapa.org/en/nevibecode/mcp/rdyrct.md) — MCP server · ★ 40 repo stars

---
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
