Prismic MCP Server
by Prismic
The Prismic MCP (Model Context Protocol) server provides AI-powered code assistance for Prismic Slice development. It helps developers generate and implement code for Prismic slices and fields within supported code editors.
Last updated: N/A
@prismicio/mcp-server
npm version Github Actions CI License
Getting started
Prerequisites
You need a code editor powered by AI that supports MCP servers (Cursor, Windsurf, VS Code, etc.).
You can check the list of supported code editors here: https://modelcontextprotocol.io/clients
Step 1: Configure the MCP Server
Add Prismic MCP server to your code editor's configuration:
{
"mcpServers": {
"Prismic MCP": {
"command": "npx",
"args": ["-y", "@prismicio/mcp-server"]
}
}
}
Step 2: Use the recommended model
For optimal results, select claude-3.7-sonnet
model in your AI chat interface.
Step 3: Start using Prismic MCP
🚀 Try it now:
- Open any slice file in your project
- Ask your AI assistant:
Code this Slice
You can also request help with specific field implementations, such as:
How do I implement an ImageField?
Show me how to use RichTextField in this slice
FAQ
How to solve "Client closed" with "No tools available" when setting up Prismic MCP server in Cursor?
Ensure npx
is correctly working by running npx -v
and reload Cursor.
You can also debug the problem by opening the Output view to see the logs:
- Click on "View" from the main toolbar
- Select "Output"
- Select "Cursor MCP" on the dropdown to filter logs
- Click to reload the MCP server from the Cursor settings to see new logs