Prerequisites
- Codex CLI installed
- CORE account - Sign up at core.heysol.ai
Step 1: Install Codex
If you haven’t already installed Codex, install it first. Once installed, proceed to the next step.Step 2: Check for config.toml file
First, check if the config file exists in your Codex directory:Step 3: Create config file (if needed)
If the file doesn’t exist, create it using this command:Step 4: Open config file in editor
Open the config.toml file in your editor:Step 5: Add CORE MCP server configuration
Add the following configuration to your config file:Step 6: Get API key from CORE dashboard
- Log into your CORE dashboard at core.heysol.ai
- Navigate to Settings (bottom left)
- Go to API Key → Generate new key → Name it “codex”
- Replace
{GET API KEY FROM CORE DASHBOARD}
in the config with your actual API key
Step 7: Authenticate the MCP
- Start Codex CLI
- The MCP server should now be available
- Follow any authentication prompts that appear
- Grant permissions when prompted to allow Codex access to your CORE memory
Step 8: Test the connection
Test your setup by asking Codex to summarize your codebase architecture and add it back to memory:Troubleshooting
Connection Issues:- Ensure you’re logged into your CORE account in the browser
- Check that the config.toml file is properly formatted
- Verify your API key is correct and hasn’t expired
- Restart Codex CLI if authentication seems stuck
- Make sure the Bearer token format is correct in your config
- Check that CORE permissions are properly granted
- Try regenerating your API key if authentication fails