raycast-t3 icon raycast-t3 · v0.1.1 · macOS

From hotkey to thread.

Unofficial An unofficial Raycast extension for T3 Code. Not affiliated with, endorsed by, or maintained by T3 Tools, Inc.

Launch, search, and steer T3 Code threads across your Mac and linked environments straight from Raycast — local-first with zero browser sign-in, one-keystroke presets, and an approval-required default ceiling.

  • Local loopback PKCE OAuth
  • approval-required default
  • 8 focused commands
  • Zero telemetry

Interactive Preview

Try the command palette workflow

Explore how the extension structures threads, presets, and linked machines. Everything below uses fictional local data and makes zero network requests.

Fictional Local Preview · Offline
Saved Presets (↑ / ↓)

Opus · Backend API (Local Mac)

Never auto-runs
Environment
studio-mac (Local Desktop)
Project
acme-api
Model & Effort
Claude Opus · high effort
Permission Ceiling
approval-required
Workspace
Git worktree from origin/main
Desktop Target
t3code://threads/thr_api_01
Draft Prompt Audit auth token refresh race under concurrent WebSocket reconnects
Use ↑ / ↓ or click a preset, type a prompt, then press Enter to preview or ⌘S to save a Quicklink preset.

Architecture

How local-first pairing works

Leave the remote server field blank on macOS and the extension pairs directly with your local T3 Code Desktop instance — no browser popups, no copy-pasted tokens, and full reach into linked environments.

Local-First vs Optional Remote Connection Architecture Comparison diagram showing the default Local Desktop flow (server-runtime.json, lsof PID verification, bundled t3 CLI one-time pairing, loopback PKCE OAuth, Keychain plus Linked Environments, and t3code:// Desktop launch) alongside the optional Remote Server flow (explicit HTTPS address to browser PKCE OAuth and origin-isolated Keychain storage). Local Desktop (Default · Zero Browser Sign-In) LOOPBACK ONLY · AUTO-RENEWING · DEFAULT CEILING 1. server-runtime.json Read-only discovery of local port & PID 2. lsof PID Check Verifies loopback listener ownership 3. ~/.t3/bin/t3 Pairing Mints short-lived one-time code 4. Loopback PKCE OAuth Silent local exchange · approval-required 5. Keychain + Linked Envs Mode+origin scoped · reaches peer boxes 6. t3code:// Desktop Handoff straight to native T3 Code app Remote Server (Optional) EXPLICIT HTTPS ONLY · 30-DAY GRANT 1. Explicit HTTPS Address T3 Connect or Tailscale URL (no HTTP) 2. Browser PKCE OAuth One-time approval in T3 Code browser UI 3. Remote MCP + Client Isolated Keychain entry · Web or Desktop

Local Desktop (Default)

Reads ~/.t3/userdata/server-runtime.json read-only, verifies the listening PID via lsof, mints a one-time pairing code through ~/.t3/bin/t3, and exchanges it over loopback PKCE OAuth. Every linked machine on your local server becomes immediately reachable.

Remote Server (Optional)

Prefer pointing Raycast at a remote T3 Connect or Tailscale HTTPS server? Paste the https:// address in Preferences and complete a standard browser PKCE OAuth approval. Plain http:// LAN addresses are rejected.

Command Surface

8 commands built for keyboard speed

Every action talks to T3 Code’s official MCP endpoint — covering threads, presets, projects, machines, schedules, workflows, appearance, and instant disconnect.

Start Thread

⌘S

Pick environment, project (or Scratch), model, effort options, permission ceiling, plan mode, worktree, and base branch. Press ⌘S to save any combination as a one-keystroke Quicklink preset.

Search Threads

Full-text

Browse active, pinned, snoozed, or settled threads. Open in Desktop, read summaries, queue messages, answer agent questions, interrupt, rename, change model, or archive.

Projects

Manage

Start a thread inside any project, inspect its threads or scheduled tasks, and add, clone, rename, pin, archive, or remove projects.

Environments

Linked

Monitor your local Mac and every linked machine with live CPU, memory, and disk load — then jump directly into a new thread on that host.

Scheduled Tasks

Cron

Run tasks immediately, pause or resume schedules, and edit, create, or delete recurring agent jobs without leaving Raycast.

Workflows

Runs

Follow multi-step workflow runs, inspect step output, answer pending workflow questions, resume, cancel, or trigger fresh runs.

Set Theme

UI

Switch your T3 Code server’s color theme and toggle light or dark appearance right from the command palette.

Disconnect

Revoke

Revoke and forget this Mac’s OAuth grant and persist a disconnected state until you explicitly choose Reconnect.

Install in 30 Seconds

Build from the tagged release

No opaque install scripts or curl | sh. Clone the pinned release tag, verify dependencies from the lockfile with npm ci, and install directly into Raycast.

macOS Terminal · Tag-Pinned (v0.1.1)
git clone --branch v0.1.1 --depth 1 https://github.com/saphid/raycast-t3.git && cd raycast-t3 && npm ci && npm run install:local

Builds the Raycast bundle locally and installs it into your local Raycast extensions directory. Inspect the full source on GitHub before running.

1

Open Start Thread

Trigger Raycast and run Start Thread. Leave the remote address preference blank to auto-pair with your local T3 Code Desktop over loopback PKCE.

2

Pick Target & Confirm

Choose a project (or Scratch), model, and ceiling (defaults to approval-required), enter your prompt, and press ⌘↵ to open the thread in T3 Code Desktop.

3

Save a One-Keystroke Preset

Press ⌘S on any setup you use often to save a Quicklink preset. Bind a Raycast hotkey or alias to jump straight to that configuration with the cursor in the prompt.

Upgrading from an earlier prototype?

raycast-t3 uses its own extension identity, stricter ceiling defaults, and origin-isolated Keychain keys. After installing v0.1.1, re-save your Quicklink presets with ⌘S and revoke any older prototype grant inside T3 Code under Settings → Sharing & access.

Security & Trust Model

Conservative defaults, verifiable boundaries

The extension is designed so launching an agent from a hotkey never silently escalates privileges or writes to your live T3 Code database.

Default Ceiling

approval-required by default

Local auto-auth defaults to approval-required rather than unrestricted access. Permission approvals cannot be granted over MCP — they always stay inside T3 Code itself.

Local Verification

lsof listener ownership check

Before initiating local pairing, the extension verifies via lsof that the loopback port reported in server-runtime.json is actually owned by the expected T3 Code PID.

Integrity

Digest-bound ceiling markers

Local permission ceilings are paired with digest-bound markers so unexpected preference or state drift is caught before reusing an existing local grant.

Kill Switch

Persistent Disconnect & explicit Reconnect

Running Disconnect revokes the OAuth token and writes a persistent disconnected sentinel. Local auto-auth never silently re-pairs until you explicitly choose Reconnect.

Credential Isolation

Strict mode + origin Keychain keys

Credentials live in macOS Keychain scoped strictly by connection mode (local vs. remote) and exact server origin, preventing cross-server token reuse.

Minimal Footprint

Zero writes to ~/.t3/userdata

This extension never writes to your live T3 Code database, never bundles third-party analytics, and ships zero telemetry — both in the extension and on this static site.