Connect Spec This MCP server to OpenAI Codex using HTTP transport
Add the following to your ~/.codex/config.toml file:
[mcp_servers.spec-this] type = "http" url = "http://localhost:3000/api/mcp"
Important: Use mcp_servers (with underscore, not hyphen).
You can customize timeout settings if needed:
[mcp_servers.spec-this] type = "http" url = "http://localhost:3000/api/mcp" startup_timeout = 10 tool_timeout = 60
startup_timeout - Time in seconds to wait for server startup (default: 10)
tool_timeout - Time in seconds to wait for tool responses (default: 60)
The Codex configuration file is located at:
~/.codex/config.toml%USERPROFILE%\.codex\config.tomlNote: Configuration is shared between the CLI and the IDE extension.
After adding the configuration:
"Can you list my Spec This plans?"
For more details on Codex MCP configuration, see the Codex MCP Documentation.