Use Marble’s Model Context Protocol server to let AI agents read and manage content in your workspace through the Marble API.Documentation Index
Fetch the complete documentation index at: https://docs.marblecms.com/llms.txt
Use this file to discover all available pages before exploring further.
You need a Marble API key. Write tools such as create, update, and delete
require a private API key.
Installation
The quickest way to add Marble to supported MCP clients is with theadd-mcp
CLI.
-g,
add-mcp writes project-level MCP config.
- Cursor
- VS Code
- Claude Code
- Codex
- Manual
Install in Cursor
Open Cursor with the Marble MCP server pre-filled.
Add your API key
Cursor installs the server with this header:Set
MCP_MARBLE_API_KEY in your environment before starting Cursor.Available Tools
Tool badges describe how clients may present or approve tool calls:READ-ONLY: reads data without changing your workspaceDESTRUCTIVE: may update or delete existing content
Posts
Posts
| Tool | Description | Badges |
|---|---|---|
get_posts | Get a paginated list of published posts with optional filtering. | READ-ONLY |
search_posts | Search posts by title and content. Use this when an agent needs to find content before editing or linking to it. | READ-ONLY |
get_post | Get a single post by ID or slug, with optional status and content format filtering. | READ-ONLY |
create_post | Create a new post. Category is required. If authors are not provided, the first workspace author is used. Requires a private API key. | |
update_post | Update an existing post by ID or slug. All fields are optional, and only provided fields are updated. Requires a private API key. | DESTRUCTIVE |
delete_post | Delete a post by ID or slug. Requires a private API key. | DESTRUCTIVE |
Categories
Categories
| Tool | Description | Badges |
|---|---|---|
get_categories | Get a paginated list of categories. | READ-ONLY |
get_category | Get a single category by ID or slug. | READ-ONLY |
create_category | Create a new category. Requires a private API key. | |
update_category | Update an existing category by ID or slug. Requires a private API key. | DESTRUCTIVE |
delete_category | Delete a category by ID or slug. Cannot delete a category that has posts assigned to it. Requires a private API key. | DESTRUCTIVE |
Tags
Tags
Authors
Authors
Media
Media
| Tool | Description | Badges |
|---|---|---|
get_media | Get a paginated list of media assets with optional type, search, and sort filters. | READ-ONLY |
get_media_asset | Get a single media asset by ID, including its CDN URL and metadata. | READ-ONLY |
upload_media_from_url | Upload media from a public URL into your Marble workspace. Requires a private API key. | |
update_media | Update media metadata such as name and alt text. Requires a private API key. | DESTRUCTIVE |
delete_media | Delete a media asset and its stored file. Requires a private API key. | DESTRUCTIVE |
Authentication
The MCP server accepts your Marble API key through one of these headers:Troubleshooting
If your client cannot connect, verify that:- The URL ends with
/mcp - The API key header is present
- Your key has the permissions needed for the tool you are calling
- Write operations use a private Marble API key