How to Use the Prismic MCP in Claude Code
Run Prismic queries from your terminal or CI/CD jobs with Claude Code for headless content operations.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Prismic MCP to Claude Code
Create your Vinkius account to connect Prismic to Claude Code — we handle the hosting, security, and runtime updates so you don't have to. No server setup required.
Key Capabilities
Automate content operations
This MCP Server connects Prismic to your command line. Write a shell script that uses Claude Code to call `list_documents_by_type` and pipe the JSON output to `jq` for processing. It’s perfect for content audits or data migrations. Set up a cron job to check for newly published articles every hour. Or build a GitHub Action that uses `get_repo_metadata` to check if a new custom type has been deployed, triggering a downstream build process.
Run raw predicate queries from the CLI
For complex jobs, you need more than simple lookups. This server exposes the `query_prismic_documents` tool, which lets you execute queries with raw Prismic predicates directly from Claude Code. Now you can build powerful, server-side filters into your scripts. Find all documents of a certain type, created by a specific author, that are also tagged 'featured', without having to fetch and filter everything on the client side.
Inspect your Prismic repo for CI/CD
Your automation pipeline needs to know the state of your CMS. Use Claude Code to call `get_repo_metadata` and grab the current master ref. This is the key to building a reliable cache invalidation system for your static site generator. Before running a build, have your script call `list_custom_types` and `list_i18n_languages` to verify that the expected content structures and locales are present. If they're not, the script can fail the build early.
Set up Prismic MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeprismic-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Prismic transactions." It will automatically discover and invoke the available Prismic tools.
claude mcp add --transport http prismic-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Prismic MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Prismic MCP today
We host it, we monitor it, we maintain it. You just paste one token.