Skip to content
Craft Wiki

Step 2: Codex and the ChatGPT desktop app

The Codex command-line tool, the Codex extension for code editors and the ChatGPT desktop app share one list of MCP servers. Add a Craft app once and they can all use it.

Install Codex by following OpenAI’s Codex guide, and sign in with your ChatGPT account.

Open a terminal and run this, with your own full path from Step 1.

On Windows, in PowerShell:

Terminal window
codex mcp add wordcraft -- "C:\Users\sam\AppData\Local\Programs\ArtCraft\WordCraft\wordcraft-cli.exe" mcp

On macOS or Linux:

Terminal window
codex mcp add wordcraft -- /Users/sam/Tools/wordcraft-cli mcp

wordcraft is a label; use your app’s name in lower case. Everything after -- is the command and its arguments from Step 1. For an app that needs a folder, add it at the end.

Terminal window
codex mcp list

Your app should be in the list. Restart the ChatGPT desktop app or your code editor if it was open, so it picks up the change.

Next: Try it out.

Codex keeps the list in a file called config.toml, in the .codex folder in your home folder. You can add an app there instead:

[mcp_servers.wordcraft]
command = 'C:\Users\sam\AppData\Local\Programs\ArtCraft\WordCraft\wordcraft-cli.exe'
args = ["mcp"]

Put a Windows path in single quotes, as above, so the backslashes don’t need doubling.