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.
Say what should happen.
The workflow builds itself.
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
delete_itemDelete itemDELETEDeletes a single content item by identifier.get_itemGet itemGETReads a singleton model, or the first collection item matching a filter.get_item_by_idGet item by idGETReads a single collection item by identifier.get_treeGet treeGETReads the nested items of a tree model, optionally from one parent down.list_itemsList itemsGETLists every matching item of a collection as a plain array.list_items_batchList items batchGETFetches the items of several models at once, keyed by model name.list_items_pagedList items pagedGETLists one page of a collection's items and reports how many match in total.save_itemSave itemPOSTCreates or updates a content item through a single upsert call.
Asset, 2 operations
get_assetGet assetGETReads an asset record with its path, mime type, size and dimensions.render_asset_imageRender asset imageGETRenders 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.
