@prismicio/mcp-server
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

@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:

  1. Open any slice file in your project
  2. 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:

  1. Click on "View" from the main toolbar
  2. Select "Output"
  3. Select "Cursor MCP" on the dropdown to filter logs
  4. Click to reload the MCP server from the Cursor settings to see new logs

Readme

Keywords

none

Package Sidebar

Install

npm i @prismicio/mcp-server

Weekly Downloads

124

Version

0.0.14

License

Apache-2.0

Unpacked Size

115 kB

Total Files

15

Last publish

Collaborators

  • chrrrs
  • samuelhorn
  • prismic
  • raph22
  • sre
  • arnaudlewis
  • michel.chau
  • gholgot
  • odim
  • prismic-ci
  • lihbr
  • bapmrl
  • angeloashmore
  • levimykel
  • nvld
  • dani-mp
  • boubiyeah
  • rafa17
  • filipeue
  • ruben-prismic
  • paulyvpg
  • jomifepe
  • srflp
  • xrutayisire
  • greenwalker90