# Prismic — how to use (mcp.ai)

Connect your Prismic account and use 5 tools for website builders straight from your AI agent. Connect with your own API key. Prismic is a headless CMS that enables developers and content teams to manage and deliver content seamlessly across various platforms.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_prismic?ms=1787291280000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `prismic_content_api_get_documents_with_fulltext_search`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/prismic`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/prismic/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/prismic/content/api/get/documents/with/fulltext/search` — Search Prismic documents using full-text search. Searches across all text fields in documents for the specified terms. The search is case-insensitive and matches based on root words. Automatically ret
  - body: { q: string, lang?: string, page?: integer, fetch?: string, pageSize?: integer, orderings?: string, fetchLinks?: string }
- `POST https://api.mcp.ai/api/prismic/content/api/query/documents` — Tool to query Prismic documents using predicates and pagination. Use when you need to fetch multiple documents from a repository after obtaining a ref.
  - body: { q?: string, ref: string, lang?: string, page?: integer, after?: string, fetch?: string, pageSize?: integer, orderings?: string, fetchLinks?: string, graphQuery?: string, access_token?: string, integrationFieldsRef?: string }
- `POST https://api.mcp.ai/api/prismic/repository/api/get/info` — Retrieves comprehensive metadata about a Prismic repository including available refs (content versions), custom types, languages, tags, bookmarks, and API forms. This is typically the first API call m
- `POST https://api.mcp.ai/api/prismic/tags/api/get/all/tags` — Tool to retrieve all tags from Prismic repository. Use when you need the full list of tags for filtering or categorization.
- `POST https://api.mcp.ai/api/prismic/types/api/get/types` — Retrieves all custom types (content models) defined in the Prismic repository. Custom types define the structure of content in Prismic. This action returns metadata about each custom type including it
  - body: { page?: integer, sort?: string, limit?: integer }

## Example prompts
- "What can I do in Prismic?"
- "Show me a summary of my Prismic account"

## More
- Page: https://mcp.ai/prismic
- Agent spec (llms.txt): https://mcp.ai/prismic/llms.txt
- Postman collection: https://mcp.ai/prismic/postman.json
