Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PRISMIC_MCP_HOST | No | The host to bind for HTTP/streamable-http mode. | 127.0.0.1 |
| PRISMIC_MCP_PATH | No | The URL path for streamable HTTP mode. | /mcp |
| PRISMIC_MCP_PORT | No | The port to bind for HTTP/streamable-http mode. | 8000 |
| PRISMIC_LOG_LEVEL | No | Standard Python logging level (DEBUG, INFO, WARNING, ERROR). | INFO |
| PRISMIC_REPOSITORY | Yes | Prismic repository name. Required for most read/write tools to derive API URLs. | |
| PRISMIC_UPLOAD_ROOT | No | Required for prismic_add_media. This is an absolute filesystem path that defines the allowed directory for file uploads. | |
| PRISMIC_DISABLE_RAW_Q | No | When 'true', rejects raw 'q' predicates in document queries for safety. | false |
| PRISMIC_MCP_TRANSPORT | No | Transport mode: 'stdio', 'http', or 'streamable-http'. | stdio |
| PRISMIC_MAX_BATCH_SIZE | No | Maximum documents allowed in prismic_upsert_documents batch operations. | 50 |
| PRISMIC_WRITE_API_TOKEN | No | Required for Custom Types API tools, media tools, and Migration API write tools. | |
| PRISMIC_DOCUMENT_API_URL | No | Optional override for the Content API base URL. Derived from PRISMIC_REPOSITORY if not provided. | |
| PRISMIC_CONTENT_API_TOKEN | No | Optional API token for private repositories or reading non-master (preview/release) refs. | |
| PRISMIC_ASSET_API_BASE_URL | No | Optional override for the Asset API base URL. | https://asset-api.prismic.io |
| PRISMIC_RETRY_MAX_ATTEMPTS | No | Maximum attempts for transient write failures (429, 503, 504). | 5 |
| PRISMIC_WRITE_TYPE_ALLOWLIST | No | Comma-separated list of allowed custom types for writes. | |
| PRISMIC_MIGRATION_API_BASE_URL | No | Optional override for the Migration API base URL. | https://migration.prismic.io |
| PRISMIC_CUSTOM_TYPES_API_BASE_URL | No | Optional override for the Custom Types API base URL. | https://customtypes.prismic.io |
| PRISMIC_ENFORCE_TRUSTED_ENDPOINTS | No | If 'true', startup fails if endpoint overrides point to non-*.prismic.io hosts. | false |
| PRISMIC_MIGRATION_MIN_INTERVAL_SECONDS | No | Minimum spacing between write requests to Prismic. | 2.5 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| prismic_get_repository_context | Get active repository context for this MCP server. Returns repository and API base URL metadata (no secrets) so agents can identify which Prismic repository they are operating on. Recommended first call in a session to confirm repository and auth posture before running read/write workflows. |
| prismic_get_refs | Get repository refs from Content API root. Refs are repository-level version pointers (for example |
| prismic_get_types | Get repository custom types from Content API root. Returns content type metadata from the Content API |
| prismic_get_releases | Get release refs from Content API root. Returns non-master refs only, equivalent to filtering repository refs by
|
| prismic_get_custom_types | List full Custom Type models from Prismic Custom Types API. Uses
|
| prismic_get_custom_type | Get one Custom Type model and schema summary by ID. Uses
This is the recommended verification call after create/update operations. |
| prismic_insert_custom_type | Insert a new Custom Type model. Uses |
| prismic_update_custom_type | Update an existing Custom Type model. Uses
|
| prismic_get_shared_slices | List all Shared Slice models from Prismic Custom Types API. Uses |
| prismic_get_shared_slice | Get one Shared Slice model by ID. Uses |
| prismic_insert_shared_slice | Insert a new Shared Slice model. Uses |
| prismic_update_shared_slice | Update an existing Shared Slice model. Uses |
| prismic_get_documents | List documents with optional Prismic predicate filtering. Use
|
| prismic_get_document | Get one document by id or by type+uid with optional explicit ref. Use
|
| prismic_get_media | List media assets from Prismic Asset API. This maps directly to |
| prismic_add_media | Upload media via Prismic Asset API. Uploads |
| prismic_upsert_document | Create/update one document in the Prismic Migration API. Important behavior:
|
| prismic_upsert_documents | Batch create/update documents in the Prismic Migration API. Important behavior:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |