KosmoKrator

other

Prismic MCP Integration for Generic MCP Clients

Connect Prismic to Generic MCP Clients through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Prismic to Generic MCP Clients

Connect any stdio-compatible MCP client to local KosmoKrator integration tools.

Register kosmo mcp:serve as the command for a local stdio MCP server. The gateway is local, scoped to this integration, and starts with --write=deny so MCP clients can inspect read-capable tools without receiving write access by default.

Prismic MCP Config for Generic MCP Clients

Start with read-only write policy and expand only for trusted projects.

{
  "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

Scoped tools

Expose only Prismic instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Prismic Tools Visible to MCP clients

MCP clients sees stable MCP tool names generated from the Prismic integration catalog.

MCP toolSource functionTypeDescription
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.

Related Prismic Pages