Skip to main content
Connect AI assistants and developer tools to your Craft content through MCP (Model Context Protocol).

What is MCP?

MCP (Model Context Protocol) is a standard that allows external applications to connect to a specific source of information. In Craft, MCP gives these tools controlled access to your selected content so they can read, process, and work with it safely. With MCP enabled, external tools can:
  • Read the content of your Craft documents
  • Generate summaries, insights, or transformations
  • Assist you with writing or restructuring content
  • Use your documents as a live knowledge source
  • Search across your selected documents

How MCP Works in Craft

Create an MCP Connection from the Connections tab in the sidebar to share the right parts of your workspace with external tools. When you create a connection, choose what it includes:
  • Connect Daily Notes & Tasks: your daily notes and tasks
  • Connect Selected Documents: one or more documents you pick
  • Connect All Documents: every document in the space
Each connection lets you define access permissions and visibility, so you stay in control of what’s shared. Once created, Craft automatically generates a unique MCP endpoint for that connection. You can then add this endpoint to any MCP-compatible tool to connect it securely to your chosen documents – keeping everything else in your workspace private.
The Connections tab in the sidebar, showing the MCP and API connection sections
A connection with access to all documents in a space supports:
  • Search across all documents with tag and date filtering
  • Daily notes and tasks are fully accessible via MCP
  • Create, update, and delete documents programmatically
  • Collection management including schema creation and editing
  • Advanced search with regex support and timezone-aware date filters
To create new documents or Collections through MCP, the connection must be set to Connect All Documents (not a custom list of specific documents) with write permissions enabled. A connection limited to specific documents or set to read-only can read, search, and append, but cannot create new content.

Set up your AI tool

Follow the steps for ChatGPT, Claude, Cursor, and other tools in Setup guides. The tool can access only the content included in the connection, with the permissions you set.

What You Can Do With MCP

With MCP enabled, you can:
  • Ask AI assistants to analyze or summarize your documents
  • Generate or rewrite content based on your Craft documents
  • Use developer tools to build custom workflows or scripts using your Craft content
  • Interact with your documents from coding environments like VS Code, Cursor, or Devin Desktop
  • Search and filter documents programmatically
  • Extend Craft with your own MCP-compatible tools or automations

Using MCP with Multiple Spaces

ChatGPT plugin: You can connect multiple Craft spaces. Open the Craft plugin page in ChatGPT and, under Connected accounts, select Connect another account. In the Craft authorization flow, sign in if prompted, select the additional space, and approve access. Repeat for each space you want to add. Despite the button’s name, you can select another space from the same Craft account. Manual MCP connections: Each connection is linked to a single space. Create a separate MCP connection for each space you want to add:
1
Open the space you want to connect
2
Go to the Connections tab in the sidebar and create an MCP connection for that space
3
Copy the MCP endpoint and add it to your external tool as a separate MCP server
4
Repeat for each additional space you want to connect
For manual MCP connections, add each space’s link separately in your external tool.
MCP connections only work for cloud-synced Craft spaces. External Location spaces (stored locally, for example in an iCloud folder) don’t have a server endpoint, so Create MCP Connection won’t work for them.

Troubleshooting

For a manual MCP connection that stops working, try the following steps. For the ChatGPT plugin, review the connection in ChatGPT under Settings > Plugins and reconnect if prompted.
1

Reconnect

Try disconnecting and reconnecting the MCP server in your client app.
2

Recreate the connector

If reconnecting didn’t help, remove the MCP connector from your client app and set it up again using the same link.
3

Recreate the link in Craft

If the issue persists, delete the MCP connection in Craft’s Connections tab and create a new one. Then add the new link to your client app.
Some MCP clients ship updates very frequently, which can occasionally break existing connections. These steps resolve most issues, though in rare cases you may need to wait for a fix from the client app.

MCP Security

Learn about MCP security features and access controls