Cockpit CMS integration
Cockpit CMS content API for a self-hosted instance: list the items of a collection with Mongo-style filtering, sorting and field projection, read a single item by identifier or by filter, read a singleton, create or update an item through one upsert call, delete an item, fetch several models in one request, walk a tree model, and read an asset record or render a resized image. The credential carries the instance host and an API key created in Cockpit, whose role decides which models are readable and writable.
Common Cockpit CMS use cases
- paging through a large collection
- pulling published articles for a site build
- building a navigation menu from a tree model
- producing a thumbnail for an article listing
- publishing a generated article into a collection
- reading global site settings held in a singleton
- loading everything one page needs in a single call
- reading one article by identifier before rendering it
- removing an entry that should never have been published
- reading the dimensions of an image referenced by an article
What you can do with Cockpit CMS
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Item, 8 operations
- DELETEdelete_item
Deletes a single content item by identifier.
- GETget_item
Reads a singleton model, or the first collection item matching a filter.
- GETget_item_by_id
Reads a single collection item by identifier.
- GETget_tree
Reads the nested items of a tree model, optionally from one parent down.
- GETlist_items
Lists every matching item of a collection as a plain array.
- GETlist_items_batch
Fetches the items of several models at once, keyed by model name.
- GETlist_items_paged
Lists one page of a collection's items and reports how many match in total.
- POSTsave_item
Creates or updates a content item through a single upsert call.
Asset, 2 operations
- GETget_asset
Reads an asset record with its path, mime type, size and dimensions.
- GETrender_asset_image
Renders a resized version of an image asset and returns the image bytes.
Use Cockpit CMS from Claude Code, Cursor or Codex
Connect Cockpit CMS in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Cockpit CMS operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Cockpit CMS
Create your workspace
Sign up free. Nothing to install.
Connect Cockpit CMS once
Add your Cockpit CMS connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Cockpit CMS integration FAQ
- What can you do with the Cockpit CMS integration?
- LiveContext exposes 10 operations on Cockpit CMS, covering item and asset. Common uses include paging through a large collection, pulling published articles for a site build and building a navigation menu from a tree model.
Popular integrations
Instagram API with Instagram Login (graph.instagram.com). Manage a Business/Creator Instagram account…
Messaging platform API for building bots and integrations. Send messages, manage chats and channels, handle…
Google email service API for sending, receiving, and managing emails. Access messages, threads, labels,…
Google's video platform API for accessing video, channel, playlist, and comment data
Social media platform API for posting, reading, and managing Twitter/X content. Post tweets, read timelines,…
Social media platform API for content creators and businesses. Access user info, manage videos, get…
Professional networking platform API for managing profiles, connections, and content. Share posts, manage…
AI API from xAI (Elon Musk's AI company) powering Grok models. Access state-of-the-art language models with…