Quick Start: Codex¶
Use the same local stdio command in your Codex MCP server configuration:
{
"mcpServers": {
"mcp-v8": {
"command": "mcp-v8",
"args": ["--directory-path", "/tmp/mcp-v8-heaps"]
}
}
}
If you want a fresh isolate for every run:
{
"mcpServers": {
"mcp-v8": {
"command": "mcp-v8",
"args": ["--stateless"]
}
}
}
Once connected, ask Codex to run a short JavaScript snippet and confirm the output.
If you want Codex to connect to a running Streamable HTTP MCP endpoint instead
of launching mcp-v8 locally, configure it in config.toml:
[mcp_servers.mcp-v8]
url = "http://localhost:3000/mcp"
For the server-side model, see Connect as an MCP Server.