Skip to content

OpenAI Codex

OpenAI Codex CLI runs commands in the terminal. It doesn’t support MCP servers directly, but it can use the MDtoLink CLI.

Terminal window
npm install -g mdtolink

Then authenticate:

Terminal window
mdtolink login

Codex can run MDtoLink commands directly:

Terminal window
mdtolink publish README.md
Terminal window
mdtolink list
Terminal window
mdtolink unpublish my-notes

Add these to your Codex instructions so it knows the commands are available.