other
Prismic MCP Integration for Codex
Connect Prismic to Codex through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Prismic to Codex
Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.
Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with
--write=deny so Codex can inspect read-capable tools without receiving write access by default.
Prismic MCP Config for Codex
Keep write access denied or ask-based unless the workspace is trusted.
{
"mcpServers": {
"kosmokrator-prismic": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=prismic",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=prismic --write=deny Why Use KosmoKrator Here
Expose only Prismic instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Prismic Tools Visible to Codex
Codex sees stable MCP tool names generated from the Prismic integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__prismic__prismic_list_documents | prismic.prismic_list_documents | Read | Search and list documents from the Prismic repository. Supports filtering with Prismic query predicates, pagination, ordering, and language selection. |
integration__prismic__prismic_get_document | prismic.prismic_get_document | Read | Retrieve a single document from the Prismic repository by its unique document ID. |
integration__prismic__prismic_list_types | prismic.prismic_list_types | Read | List all custom types defined in the Prismic repository. Returns type IDs and names that can be used for document queries. |
integration__prismic__prismic_get_tags | prismic.prismic_get_tags | Read | List all tags defined in the Prismic repository. Tags can be used to filter documents in search queries. |
integration__prismic__prismic_list_refs | prismic.prismic_list_refs | Read | List all refs (releases and drafts) for the Prismic repository. The master ref points to the published content; other refs point to drafts or releases in progress. |
integration__prismic__prismic_list_languages | prismic.prismic_list_languages | Read | List all languages configured in the Prismic repository. Returns language codes and names that can be used for querying content in specific locales. |
integration__prismic__prismic_get_current_user | prismic.prismic_get_current_user | Read | Verify the Prismic API connection is working by performing a minimal document search. Returns connection status and repository information. |