MCP servers and skills
T3 Code can add MCP servers to the agent sessions on an environment and hide skills from its
agents. Add, edit and remove servers in Settings → Tools, or ask an agent to add one: it asks you
for any key in a private card. Either way, a value marked Secret goes to T3 Code's secret store,
never into settings.json. You can also edit the environment's <t3-home>/userdata/settings.json
(~/.t3/userdata/settings.json by default) yourself. T3 Code reads the file as soon as it's saved.
Agent sessions get the change when they next start.
Found in your agents in Settings → Tools lists the servers Claude, Codex, Grok Build, Kiro,
Antigravity and fx load from their own config files on that environment. Add to T3 Code copies one
into T3 Code's list, so every agent gets it. ${NAME} references come along; keys and other values
written into the agent's config don't, so the form asks for them again. T3 Code never changes those
files. A server that signs in with OAuth needs signing in again in T3 Code.
If the file isn't valid JSON or holds a value T3 Code can't read, T3 Code runs on default settings until the file is fixed. The server log says what it couldn't read.
MCP servers
Servers go under mcpServers, keyed by name. A name starts with a lowercase letter and uses only
lowercase letters, digits, - and _, up to 48 characters. Otherwise the JSON from a server's docs
works as written. Never put a key or token in this file. Name an environment variable instead, as
${NAME}, ${NAME:-default} or ${env:NAME}:
{
"mcpServers": {
"playwright": { "command": "npx", "args": ["@playwright/mcp@latest"] },
"github": {
"url": "https://api.githubcopilot.com/mcp/",
"headers": { "Authorization": "Bearer ${GITHUB_TOKEN}" }
}
}
}T3 Code fills in variables when an agent session starts, from the environment T3 Code runs in. On
macOS and Linux it also reads them from your login shell, so an export in your shell profile works
for the desktop app too. A server that names a variable that isn't set is left out of the session,
and the server log says which variable.
A key an agent saved shows in the file as an empty value with "valueRedacted": true. Leave that
line as it is to keep the key. Keys are stored under the server's name, so after renaming a server,
ask an agent to set its keys again. T3 Code reads a value you write as written: a key typed into the
file reaches the server as written. Header values and OAuth client secrets show hidden in the app,
and the next settings save moves them to the secret store.
Most servers that sign in with OAuth need nothing more: the first agent session that uses one shows
a notice with a Sign in button. Some, such as Google's, only accept a client you registered with
them yourself. In Settings → Tools, edit the server and fill in OAuth client, or give that
client's ID and secret under oauth in the file, the secret as a ${NAME} variable or saved by an
agent like any other key:
{
"mcpServers": {
"gmail": {
"url": "https://gmailmcp.googleapis.com/mcp/v1",
"oauth": {
"clientId": "1234-abc.apps.googleusercontent.com",
"clientSecret": "${GMAIL_CLIENT_SECRET}"
}
}
}
}With Settings → Labs → MCP gateway on, T3 Code signs in to such servers itself, and every agent
that gets your servers reaches them through T3 Code, which keeps the sign-in out of the agent's
config. With it off, only Claude and Codex use oauth; other agents connect without it.
Set "enabled": false on a server to switch it off without removing it. The names t3-code and
t3-code-direct are taken by T3 Code's own servers.
These servers come on top of the ones each agent loads from its own config, which T3 Code never edits. Claude, Codex, Grok Build, OpenCode and the ACP agents (such as Kiro and Antigravity) get them. An ACP agent that doesn't support URL servers gets only the command ones, plus the servers T3 Code signed in to through the MCP gateway. OpenCode 1.x gets them only when T3 Code starts the OpenCode server, not on one set by URL. Muse Code and Pi aren't supported yet.
Skills
"disabledSkills": ["grill-me"] hides those skills from agents on the environment. Use each skill's
exact name. Only Claude, Codex and OpenCode apply it; other agents have no way to hide one skill, so they
can still use it.
Per project
Ask an agent to add a server for one project only, or to switch one off there. In the file,
projectSettingsOverrides, keyed by project id, changes these for one project:
{
"projectSettingsOverrides": {
"<project id>": {
"mcpServers": {
"linear": { "enabled": false },
"tracker": { "command": "tracker-mcp" }
},
"disabledSkills": { "grill-me": false, "prepare-pr": true }
}
}
}A server with a command or URL is added to the project, replacing an environment server of the same
name. One with only "enabled" switches an environment server off or on for the project. Under
disabledSkills, true hides a skill in the project and false brings back one the environment
hides.