Documentation Index
Fetch the complete documentation index at: https://docs.uplink.build/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites:
- Node.js 18 or higher
- An Uplink account (sign up on Uplink Console)
- An MCP-capable AI client (Claude Code, Cursor, Windsurf, etc.)
- The Uplink Connect app on a mobile device (for pairing)
Step 1: Install the CLI
The@uplink-code/cli package ships both the uplink command (for signing in) and the credentials helpers the MCP server uses to authenticate.
Step 2: Install the MCP server
uplink-mcp binary, which any MCP client can spawn over stdio.
Step 3: Sign in
uplink login opens your browser to Uplink Console, captures your session tokens via a localhost callback, and writes them to ~/.config/uplink/credentials.json (mode 0600). The MCP server reads from this file at startup.
Verify the sign-in:
Step 4: Configure your AI client
Claude Code
Add the Uplink MCP server to~/.claude.json (or run via claude mcp add):
uplink_* tools become available.
Cursor
Add to~/.cursor/mcp.json:
Other MCP clients
Any client that supports the standard stdio MCP transport works — point it at theuplink-mcp binary with no arguments.
Configuration
The MCP server reads these environment variables when present:| Variable | Purpose | Default |
|---|---|---|
UPLINK_API_HOST | Override the Uplink API base URL (for local dev / staging) | https://api.uplink.build |
UPLINK_TOKEN | Override the access token from the credentials file (for CI / non-interactive use) | reads ~/.config/uplink/credentials.json |
| Variable | Purpose | Default |
|---|---|---|
UPLINK_CONSOLE_URL | Override the console URL uplink login opens | https://console.uplink.build |
Refreshing credentials
Access tokens expire after ~1 hour. The MCP server auto-refreshes them on the next API call using the stored refresh token, persisting the new tokens back to the credentials file. You shouldn’t need to re-runuplink login until the refresh token itself expires (typically days to weeks).
To sign out:
First session
In your AI client, ask: “Start an Uplink session”. The model should:- Call
uplink_connect— returns a 6-digit pairing code. - Surface the code to you, e.g.
Pair with code: 123-456 (expires in 30s). - Call
uplink_wait_for_device— blocks until you type the code into the Connect app.
Optional: docs lookups from your AI client
The Uplink MCP server already ships its SDK reference as resources the model reads before writing scripts, so this isn’t required. But if you want your AI client to be able to search the full Uplink docs directly, you can add the Mintlify docs MCP alongside it:Requires the Bun runtime. This is a third-party server (
mintlify-mcp) that reads any Mintlify-hosted docs site — it’s independent of the Uplink MCP server and not needed for device automation.