Codex MCP tool_timeout_sec defaults to 60: does Sume jobs_wait fit?
Codex config.toml tool_timeout_sec defaults to 60 and startup_timeout_sec to 10. Sume jobs_wait holds up to 55 seconds, so the defaults fit by a thin margin.

Codex reads MCP servers from config.toml. For a streamable HTTP server the keys include url, bearer_token_env_var, http_headers, env_http_headers and auth. startup_timeout_sec defaults to 10 and tool_timeout_sec to 60 (read 2026-10-03). Sume's jobs_wait holds a single call for at most 55 seconds, so the 60 second default leaves five seconds of slack. That is enough, but raise it if your network is slow, and always re-call jobs_wait rather than resubmitting a paid create.
Authenticate with an env var so the key stays out of the file: bearer_token_env_var = "SUME_API_KEY".
Config
[mcp_servers.sume]
url = "https://mcp.sume.com/mcp"
bearer_token_env_var = "SUME_API_KEY"
startup_timeout_sec = 20
tool_timeout_sec = 90
enabled_tools = ["mcp_health", "tools_list", "tools_schema", "jobs_wait"]Numbers side by side
| Setting | Value | Source |
|---|---|---|
| startup_timeout_sec default | 10 | Codex docs |
| tool_timeout_sec default | 60 | Codex docs |
| jobs_wait maximum hold | 55 seconds | Sume docs |
| script_run timeout_seconds | 5 to 55 | Sume docs |
Limit what Codex can call
enabled_tools is an allowlist and disabled_tools is applied after it; default_tools_approval_mode accepts auto, prompt, writes and approve. Pair a read-only allowlist with approval for writes if the agent should not start paid generation unattended.
Sources
More in Integrations
- Comfy MCP and Sume MCP in one Claude Code session
Connect Comfy's cloud MCP and Sume's hosted MCP to one Claude Code session: add both servers, read the auth and billing of each, and route work between them.
- Google lifestyle_image_link vs additional_image_link
Put the AI scene in lifestyle_image_link, angles in additional_image_link, and host stable URLs. Limits, a Sume request and a feed snippet.
- Mercado Libre photo size: 1200x1200 and the pictures API
Mercado Libre wants 1200 x 1200 JPG or PNG up to 10 MB and shows a zoom widget past 800 px. Generate that size with Sume, upload it, link it to the item.
- Mercado Libre poor_quality_thumbnail: fix the cover photo
A poor_quality_thumbnail tag means Mercado Libre flagged the cover photo. Read the reason with the moderations API, then regenerate a clean cover with Sume.
Written by Sume