url and an X-API-Key header.
You need an API key (format
sk_live_...) to connect. Generate one from
Settings > API Access, or see Authentication.Setup
1
Run the CLI command
2
Verify the connection
Run
/mcp in a Codex session to see so-me-studio listed with its tools.Alternative: config.toml
Edit~/.codex/config.toml directly (or .codex/config.toml in a trusted project):
config.toml
With
env_http_headers, the value is the name of an environment variable, not the key
itself. Export SO_ME_API_KEY with your actual sk_live_... key in your shell so Codex can
read it at startup.http_headers:
config.toml
Scopes
Troubleshooting
Missing X-API-Key / 401
Missing X-API-Key / 401
If you used
env_http_headers, confirm the referenced environment variable is exported in
the same shell that launches Codex and contains an active sk_live_... key.405 Method Not Allowed
405 Method Not Allowed
The Social media studio server runs in stateless Streamable HTTP mode (
POST only). Keep the
transport set to http — do not configure an SSE endpoint.