Codex config.toml for MCP. For a remote MCP server.

The lines to add to Codex's config.toml for a remote MCP server, with the token read from an environment variable, never written in the file.

  1. Pick your agent
  2. Paste your key
  3. Copy the config
MCP config generator
Your agent

Made in the app under Agents. It stays in this page: nothing is sent.

Vertiscale's phones: one server for all of them, the key says which ones the agent may use. Any other remote MCP server works too.

Put the key in your environment

export VERTISCALE_KEY="vs_live_your_key"

The fileconfig.toml

~/.codex/config.toml (shared by the Codex CLI, the IDE extension and the desktop app)

[mcp_servers.vertiscale_phones]
url = "https://app.vertiscale.io/api/mcp"
bearer_token_env_var = "VERTISCALE_KEY"

Then

  1. Put the key in the VERTISCALE_KEY environment variable (the command above, or your shell profile).
  2. Add the lines to config.toml, then run codex mcp list to check.
  3. Ask: "list my phones".

Codex reads the token from the environment, so the key never sits in the file.

Good to know

How do I connect Claude Code to an MCP server with an API key?

Run claude mcp add --transport http with the server's address and --header "Authorization: Bearer <key>", or put the same server in .mcp.json with "type": "http". Then type /mcp inside Claude Code to check it is connected.

Can Claude Desktop use a remote MCP server with a key?

Its config file starts local programs, so the usual way is mcp-remote: npx runs it, it opens the connection to the remote server and passes your Authorization header. It needs Node.js 18 or newer.

Is my key sent anywhere?

No. The key you type is only written into the text on this page, in your browser. Keep it out of shared files: Codex and Claude Code can read it from an environment variable instead.

How it works
  1. One server. Every phone is reached through one MCP server address; your key says which phones the agent may use.
  2. The agent's own format. Claude Code: a command or .mcp.json with type http. Cursor: mcp.json with url and headers. Codex: config.toml with the key in an environment variable. Gemini CLI: httpUrl in settings.json. Claude Desktop: mcp-remote, since its file starts local programs.
  3. Check it works. Each agent has its own way to list servers (/mcp, Settings > MCP, codex mcp list). Then ask it to list your phones.
What it doesn't do
  • For Vertiscale's phones you need a key, made in the app under Agents; another server gives you its own token.
  • The key you paste is only written into the text on this page; nothing is sent.
  • Formats as each agent documents them on 11 Nov 2026; they can change.
Read more

An iPhone for your AI agent. One for each group of accounts.

Each Vertiscale iPhone has its own residential connection and one warmed-up TikTok account. Your agent opens the apps, posts and reads the numbers.

See the phones $59 a month, less from 5 iPhones.