t3-code-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | HTTP listener host | 127.0.0.1 |
| MCP_PORT | No | HTTP listener port | 8787 |
| MCP_READ_ONLY | No | Reject mutations when true | false |
| MCP_TRANSPORT | No | stdio by default; use http for a remote MCP connection | stdio |
| T3_ACCESS_TOKEN | Yes | Required T3 credential, kept on the gateway server | |
| T3_MCP_DATA_DIR | No | Operation journal directory | ./data |
| MCP_BEARER_TOKEN | No | Required to serve authenticated /mcp requests over HTTP (if MCP_TRANSPORT=http) | |
| T3_HTTP_BASE_URL | No | T3 HTTP address | http://127.0.0.1:3773 |
| T3_ENVIRONMENT_ID | No | Optional expected environment ID for identity checks | |
| T3_STALE_AFTER_MS | No | Freshness threshold | 30000 |
| T3_ENVIRONMENT_LABEL | No | Optional fallback label when discovery is unavailable |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| t3_connection_statusA | Inspect the configured T3 environment, connection health, freshness, capabilities, and scopes. |
| t3_projects_listA | Find projects by case-insensitive title, workspace path, or ID substring. Filtering happens before pagination. |
| t3_project_createA | Register a remote workspace as a T3 project. Set createWorkspaceRootIfMissing to request creation of a missing directory. This does not clone a repository. Requires orchestration control scope and an idempotencyKey. |
| t3_threads_listA | Find threads by project and case-insensitive title, branch, or ID substring. status filters server-backed open, snoozed, settled, or archived state; UI-local inactivity/PR auto-settle rules are unavailable. Open includes pinned work and is not synonymous with running. Without a specific status, includeArchived controls archive visibility. |
| t3_thread_createA | Create a thread in an existing T3 project. Supply modelSelection when the project has no default. The returned branch and worktree reflect the request; check the mutation status for acceptance. |
| t3_thread_getB | Return a compact thread summary, latest response, active run, pending flags, and workspace. |
| t3_thread_messagesB | Read paginated thread history. Message text is bounded by maxChars and reports truncation explicitly. |
| t3_thread_sendA | Send a new or follow-up message to an idle existing thread, start one T3 agent turn, and return after command intent is accepted. Busy threads are rejected; queueing and steering are not enabled. Never reuse an idempotencyKey for different input. |
| t3_run_getB | Reconcile a gateway run handle against T3 state. A disconnected result is not evidence that the run failed. |
| t3_run_waitA | Poll for a relevant run change for a bounded interval. A timeout only means no change was observed; it does not cancel the run. |
| t3_run_interruptA | Request interruption of one accepted T3 run. The interruption itself is journaled and is never replayed automatically. |
| t3_thread_interruptA | Request stopping the active turn in a thread, including one started outside this gateway. Read the thread first and supply latestTurn.turnId as expectedTurnId. Stale observations are rejected before dispatch, but T3 interrupts by session and cannot guarantee atomic turn targeting. This does not archive or delete the thread; poll thread_get to confirm it stopped. |
| t3_pending_actions_listB | Surface pending approval and user-input flags, plus stable action details when the T3 projection exposes them. |
| t3_pending_action_respondA | Respond to a T3 approval or user-input request using its stable requestId. The gateway forwards the supplied response and does not independently verify human confirmation. |
| t3_thread_archiveB | Archive a thread without deleting its remote workspace files. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |