Imagine With Craft

How to Connect Craft to Gemini CLI with MCP

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

Craft
Gemini CLI

Adding an MCP Connector in Gemini CLI

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

Install Gemini CLI if you haven't already. The command in the next step adds the MCP server to your project scope by default. Two scopes are available:
  • Project scope (default): Available in the current project only
  • User scope: Available across all projects
Add --scope user to the command in the next step to use user scope instead.

Step 1

Run this command in your terminal to add the Craft MCP server. Replace craft with a short name you can identify the MCP server by.
gemini 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 Gemini 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