Claude Code
Add it as a local configuration
Run this in a terminal. Set the PAT as an environment variable; do not put it in shell history.
export TODIA_MCP_TOKEN='YOUR_PAT'
claude mcp add-json todia '{"type":"http","url":"TODIA_MCP_URL","headers":{"Authorization":"Bearer ${TODIA_MCP_TOKEN}"}}'
Verify with claude mcp get todia or /mcp in Claude Code.
Codex
Add it to config.toml
Add this to ~/.codex/config.toml, or a trusted project’s .codex/config.toml.
[mcp_servers.todia]
url = "TODIA_MCP_URL"
bearer_token_env_var = "TODIA_MCP_TOKEN"
default_tools_approval_mode = "prompt"
Set the environment variable, restart Codex, and check codex mcp list or /mcp in the TUI.
GitHub Copilot
Add it to VS Code user MCP configuration
Run MCP: Open User Configuration from the Command Palette and use a password input for the PAT. Do not share a personal token in workspace configuration.
{
"inputs": [{
"type": "promptString", "id": "todia-token",
"description": "Todia personal access token", "password": true
}],
"servers": { "todia": {
"type": "http", "url": "TODIA_MCP_URL",
"headers": { "Authorization": "Bearer ${input:todia-token}" }
}}
}
Trust and start it from the MCP Servers view or MCP: List Servers, then use it from Agent mode chat.
Client interfaces and configuration formats can change. If setup fails, consult the product’s official MCP documentation.