Strait — Claude Code MCP server: features and setup
The Strait MCP server for Claude Code manages deep links and reports link activity. It can also create QR codes and handle webhooks.
MIT updated 2026-11-13
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/mcpWhat Strait 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.
What it helps with
- 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 for the agent
- Create a deep link for this app page and return its short URL.
- Find the links in the
summercampaign and compare their activity across two periods. - Check the app domain's App Links and Universal Links setup.
How to install Strait
1Platform CLI
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/mcpReplace <…> with your own values
2Platform CLI: remote server
claude mcp add --transport http strait https://strait.link/mcp1Platform CLI: remote server
codex mcp add strait --url https://strait.link/mcp2Platform CLI
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/mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"strait": {
"url": "https://strait.link/mcp"
}
}
}{
"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
Config file
{
"servers": {
"strait": {
"type": "http",
"url": "https://strait.link/mcp"
}
}
}{
"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
1Platform CLI: remote server
gemini mcp add -t http strait https://strait.link/mcp2Platform CLI
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/mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Strait
How do I install Strait in Claude Code?
To connect to the hosted server, run claude mcp add --transport http strait https://strait.link/mcp.
What does Strait do?
It creates and searches deep links, generates QR codes, reports link analytics, and manages link domains and webhooks.
What does Strait need to run?
Most tools need the STRAIT_SECRET_KEY secret. The local server runs through npx -y @straitlink/mcp; several checks and documentation search work without a key.