t3-remote-mcp
Provides tools for working with GitHub pull requests linked to T3 Code threads: listing and reading pull requests and failing CI logs, rerunning CI checks, watching or unwatching pull requests, posting comments, and merging pull requests.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
t3-remote-mcp
t3-remote-mcp connects Claude on Apple Watch, iPhone, and web to a local T3 Code server.
It serves T3 Code over Streamable HTTP and OAuth 2.1 with short spoken replies.
Requirements
Node.js 22 or newer
pnpmA running local T3 Code server (
0.1.13or newer)Tailscale with Funnel enabled on your tailnet
A Claude account with custom connectors
Related MCP server: Watch Notes
Quickstart
Clone the repository and build the bridge:
git clone https://github.com/tranbao0/t3-remote-mcp.git
cd t3-remote-mcp
pnpm install
pnpm build1. Run guided setup
node dist/bin.js setupSetup saves your local T3 token, Tailscale Funnel origin, and approval passphrase in ~/.config/t3-remote-mcp/config.json.
Setup then prints your connector URL and your approval passphrase:
https://<your-host>.<your-tailnet>.ts.net/mcpClaude custom remote MCP connectors require HTTPS port 443; non-standard ports such as 8443 fail before OAuth. Save the approval passphrase for step 3.
2. Start the bridge
node dist/bin.js startThe bridge listens on http://127.0.0.1:4123 by default.
3. Add the connector in Claude
Open Claude.
Open Settings -> Connectors -> Add custom connector.
Paste the connector URL from step 1 (
https://<your-host>.<your-tailnet>.ts.net/mcp).Enter your approval passphrase on the approval screen.
Select Approve.
CLI Commands
Run commands with t3-remote-mcp when installed globally, or with node dist/bin.js from this repository.
Command | Description |
| Configure the local T3 token, Tailscale Funnel origin, and approval passphrase. |
| Start the local MCP bridge server. |
| Check config permissions, public origin port, local T3 reachability, Tailscale Funnel, and OAuth metadata endpoints. |
| Remove every stored sign-in grant; the passphrase stays the same and Claude must sign in again. |
| Install and enable a |
| Stop and remove the |
| Show the status of the background service on Linux and WSL, or print |
Voice Alerts on Apple Watch and iPhone
Pair the official T3 Code iPhone app (T3 Code - Remote Claude & more) to mirror alerts to Apple Watch while two-way voice runs in Claude.
Run
t3 connecton the machine that runs T3 Code.Open T3 Code - Remote Claude & more on your iPhone.
Pair the app with your T3 Code server.
Enable notifications for T3 Code in iPhone Settings.
Mirror T3 Code notifications in the Apple Watch app.
Available Voice Tools
Every tool returns short plain text for voice playback.
Tool | Access | Description |
| Read-only | Summarize threads that need attention, active runs, recent failures, and finished work. |
| Read-only | List your T3 Code projects. |
| Read-only | List threads across all projects or filter by project, status, or title. |
| Read-only | Read recent updates and pending questions in a thread. |
| Read-only | List pull requests linked to a thread, read pull request details, or inspect failing CI logs. |
| Write | Send a message to a thread in auto, queue, or steer mode. |
| Write | Answer a pending question in a thread. |
| Write | Start a new thread in a project or scratch workspace with optional branch, worktree, or model settings. |
| Write | Pin, settle, snooze, archive, mark unread, or flag a thread for reply. |
| Write | Rerun CI checks, watch or unwatch a pull request, or post a pull request comment. |
| Destructive | Stop an active run in a thread, or interrupt and restart the thread with a new message. |
| Destructive | Merge a pull request; Claude asks for confirmation first. |
Manual Setup Reference
Use these commands to configure the bridge manually or override saved settings.
Local T3 session token
Issue a local T3 session token:
t3 auth session issue --ttl 365d --label t3-remote-mcp --token-onlyPassing --token-only or --json keeps stdout clean when your t3 CLI version differs from the running T3 server.
Keep the default scopes so the session includes access:write, orchestration:read, orchestration:operate, settings:write, and source-control:write.
t3-remote-mcp uses this token (T3_ADMIN_TOKEN) to mint and renew 30-day full-access MCP tokens automatically.
You can also pass a direct mcp-client bearer token through T3_MCP_TOKEN.
When you omit T3_MCP_URL, the bridge reads the local T3 URL from ~/.t3/userdata/server-runtime.json (or $T3CODE_HOME/userdata/server-runtime.json).
Configuration and environment variables
The bridge reads saved settings from ~/.config/t3-remote-mcp/config.json (directory mode 0700, file mode 0600).
Environment variables override saved values from config.json:
Variable | Description |
| Public HTTPS origin on port 443 ( |
| Local bind host (default |
| Local bind port (default |
| Local T3 Code |
| Local T3 session token that mints and renews full-access MCP tokens. |
| Direct local T3 |
| Plaintext approval passphrase override for temporary or automated runs. |
Tailscale Funnel
Expose the local bridge port (default 4123) on HTTPS port 443:
tailscale funnel --bg --https=443 http://127.0.0.1:4123Set T3_REMOTE_PUBLIC_ORIGIN to https://<your-host>.<your-tailnet>.ts.net and use https://<your-host>.<your-tailnet>.ts.net/mcp as your connector URL.
Check your active Funnel routes:
tailscale funnel statusThe bridge builds its OAuth issuer, discovery metadata, and token audience from T3_REMOTE_PUBLIC_ORIGIN.
Start the bridge with node dist/bin.js start and verify your setup with node dist/bin.js doctor.
Security
OAuth 2.1 with PKCE: Clients authorize with
S256code challenges and single-use authorization codes.Discovery and registration: The bridge serves RFC 9728 protected resource metadata (
/.well-known/oauth-protected-resourceand/.well-known/oauth-protected-resource/mcp), RFC 8414 authorization server metadata (/.well-known/oauth-authorization-server), and RFC 7591 public-client dynamic registration.Audience binding: Access tokens follow RFC 8707 and bind strictly to your configured connector URL (
https://<your-host>.<your-tailnet>.ts.net/mcp).Short-lived tokens and rotation: Access tokens expire after 1 hour by default and refresh tokens rotate on each use. Reusing a rotated refresh token revokes the full token family.
Token revocation: Clients can revoke access or refresh tokens at
POST /oauth/revoke(RFC 7009).Passphrase gate and rate limiting: The bridge stores the approval passphrase as a salted
scrypthash, verifies it in constant time, protects the approval form with a CSRF token, and rate-limits repeated failed attempts.Restricted local storage: The bridge stores
config.json,oauth-store.json, andt3-credential.jsoninside a0700directory with0600file permissions, saves only SHA-256 hashes of OAuth tokens, and binds cached T3 credentials to the SHA-256 fingerprint of the configured T3 admin token.
End access
To end active connector grants while keeping the same passphrase, run node dist/bin.js revoke.
The running bridge rejects the old grants at once.
Claude must sign in again.
To replace the approval passphrase as well:
Run
node dist/bin.js setup.Choose a new approval passphrase when setup asks.
Restart the bridge.
Connect Claude again with the new passphrase.
If you replace the T3 token during setup, run t3 auth session list --json.
Then revoke each old session with t3 auth session revoke <session-id>.
License
MIT. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Let ChatGPT and Claude read and edit files, search and run commands on your own computer.
Share context and questions between Claude instances — VS Code, claude.ai web, and mobile.
Read your tracked time and projects, pause tracking or add a note, from Claude or ChatGPT.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables claude.ai, including free users, to act as a coding agent on your own machine, allowing file edits, shell commands, and git operations within explicitly chosen project folders. It provides a secure local MCP server exposed as a custom connector with OAuth-based consent.GPL 3.0
- AlicenseNot gradedqualityBmaintenanceLets you dictate or scribble ideas on an Apple Watch that are end-to-end encrypted and relayed to a running Claude Code session, which then acts on them autonomously while you're away. Delivered notes arrive as channel events or are polled into the session, with results summarized back to disk once each task is finished.1MIT
- AlicenseNot gradedqualityAmaintenanceSecurely bridges Claude.ai and Claude Desktop to self-hosted OpenClaw gateways over OAuth 2.1-authenticated Streamable HTTP, letting users chat with their assistant, queue and poll long-running tasks, and route requests across multiple isolated instances from one connection.614 npmMIT
- AlicenseNot gradedqualityAmaintenanceSecurely bridges Claude.ai and Claude Desktop with self-hosted AI assistant gateways via OAuth 2.1, enabling chat, health checks, multi-instance routing, and queued long-running task management.614 npmMIT