Imagine With Craft

How to Connect Craft to Codex CLI with MCP

Step-by-step guide to connect Craft documents to Codex CLI via MCP. Read, search, and update your notes directly from Codex CLI.

Craft
Codex CLI

Adding an MCP Connector in Codex CLI

Create a new connector in Codex CLI and use the MCP URL to connect the two services.

Step 1

Run this command in your terminal to add Craft as an MCP server. Replace craft with a descriptive name if you prefer.
codex mcp add --transport http craft https://mcp.craft.do/my/mcp

Step 2

A browser window will open showing the Craft authorization page. Select the space you want to connect and click "Approve" to grant access.

You can now ask Codex CLI about your documents, and even have them updated. Try something like this to get started:

Click an example to copy the prompt to your clipboard

Some Ideas to Get You Started

Browse App Templates