Created
February 2, 2026 09:36
-
-
Save DevloperHS/0bd80665579d80fccac163192c5b6448 to your computer and use it in GitHub Desktop.
FIX: Connect MCP to Codex IDE Extension (config.toml workaround)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [projects."/home/devloper_hs/codex-tests"] | |
| trust_level = "untrusted" | |
| [mcp_servers.playwright] | |
| args = ["@playwright/mcp@latest"] | |
| command = "npx" | |
| enabled = false | |
| [mcp_servers.rube] | |
| enabled = true | |
| url = "https://rube.app/mcp" | |
| [mcp_servers.rube.http_headers] | |
| Authorization = "Bearer <auth-token>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I figured out a workaround, here is what you need to do: | |
| - Visit any ide, download [codex extension](https://marketplace.visualstudio.com/items?itemName=OpenAI.chatgpt) and login. | |
| - Now instead of creating a `.codex/config.toml` file, head to ⚙️ → MCP Settings → Open MCP Settings → + Add servers (Custom Servers) | |
| - In the new page select Streamable HTTP and enter the following details (as i am using rube mcp): | |
| - Name: name of MCP server (rube) | |
| - URL: https://rube.app/mcp | |
| - Headers: | |
| - Key: Authorization | |
| - Value: Bearer <your-rube-token> (copied from earlier) | |
| - click **Save** | |
| - Go back, refresh and click authenticate. Complete the authentication process and you are done! | |
| Below is how this setup ups in config.toml file! |
Author
Its not about rube, i just shared, how you can use it through config.toml file. You need to do it manually. But I think, now they might have fixed it. Rube was just part of some other step, but I shared how I did it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
But its marketplace doesn't have Playwright MCP.