Jesse MCP β connect in Codex β
Make sure Jesse is running and your .env is set up so the MCP server starts and prints a URL (see MCP server setup if you have not done that yet).
These steps assume you use Codex with custom MCP support. Jesse exposes a running Streamable HTTP MCP server; Codex does not need to launch Jesse with a STDIO command.
Register Jesse in Codex β
- Open Codex MCP settings and choose Connect to a custom MCP.
- Set Name to
jesse. - Select Streamable HTTP.
- Use the URL Jesse printed in the terminal. It should end with
/mcp(oftenhttp://localhost:9002/mcpunless you changedMCP_PORT). - Leave Command to launch, Arguments, Environment variables, and Environment variable passthrough empty.
- Leave Working directory empty unless Codex requires one. If it does, use your Jesse project root.
- Save the MCP server.
If something fails, turn on MCP_LOG_IN_TERMINAL in .env while you debugβsee Environment variables for MCP.
Agent rules (optional but recommended) β
Jesse automatically writes and maintains AGENTS.md at the project root every time you run jesse run, so Codex can read the rules without you pasting anything. See MCP agent rules for details on what's in the file, how the auto-sync works, and how to add your own notes without losing them on upgrade.
Test the connection β
After saving the MCP server, ask Codex:
Use the Jesse MCP server and list the available tools.If Codex cannot find the server, confirm Jesse is still running and that the URL matches the terminal output.
Same machine, same network story
If Codex runs on Windows and Jesse runs inside WSL (or the other way around), localhost can refer to different machines. If you see connection errors, run Jesse and Codex in the same environment so they share one loopback network.
