elmapicms-mcp-server
OfficialThis server provides tools to manage ElmapiCMS projects via MCP, including:
Project: Get info, manage locales (add, set default).
Collections: List, get, create (with initial fields), update, reorder.
Fields: Create, update, reorder fields with various types (text, number, richtext, boolean, date, media, relation, select, group, etc.).
Content entries: Extensive control — list with advanced filtering (13 operators, OR groups, relations), sorting, and pagination; get, create, update (full/partial), publish, unpublish, discard drafts, soft-delete, bulk operations (create, update, delete), link translations, and version history management (list, get, revert, update labels).
Assets: List, get, upload (single/bulk), update metadata, delete.
Webhooks: Full CRUD and delivery log access.
Resources: Consult guides on field types, collections, and query syntax.
ElmapiCMS MCP Server
An MCP (Model Context Protocol) server that connects AI agents like Cursor and Claude Code to your ElmapiCMS instance. Manage collections, fields, content entries, assets, and webhooks programmatically through natural language.
Configuration
Variable | Description |
| Instance API root (e.g. |
| Project Sanctum token from Project settings → API Tokens |
| Project UUID from the project home page or Project settings → API Access |
Related MCP server: SitecoreMCP
Usage with Cursor
Add this to your Cursor MCP settings (~/.cursor/mcp.json):
{
"mcpServers": {
"elmapicms": {
"command": "npx",
"args": ["-y", "@elmapicms/mcp-server"],
"env": {
"ELMAPI_BASE_URL": "https://your-domain.com/api",
"ELMAPI_API_KEY": "your-project-api-token",
"ELMAPI_PROJECT_ID": "your-project-uuid"
}
}
}
}Usage with Claude Code
claude mcp add elmapicms \
-e ELMAPI_BASE_URL=https://your-domain.com/api \
-e ELMAPI_API_KEY=your-project-api-token \
-e ELMAPI_PROJECT_ID=your-project-uuid \
-- npx -y @elmapicms/mcp-serverLocal Development (Laravel Herd / .test domains)
If your instance uses a self-signed certificate (e.g. Laravel Herd), you may need:
"env": {
"ELMAPI_BASE_URL": "https://myproject.test/api",
"ELMAPI_API_KEY": "your-project-api-token",
"ELMAPI_PROJECT_ID": "your-project-uuid",
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
}Prefer fixing local CA trust (e.g. node --use-system-ca) over disabling TLS verification in production configs.
Available Tools (40)
Project
get_project— Get project information (default_locale,locales, etc.)add_project_locale— Add a locale code to the project (requires admin)set_default_project_locale— Set the default locale (requires admin)
Removing locales is intentionally not exposed here (use Project settings → Localization in the dashboard, or the REST/SDK APIs).
Collections
list_collections— List all collectionsget_collection— Get a collection with its full field schemacreate_collection— Create a collection (with optional batch field creation)update_collection— Update a collection's name and slugreorder_collections— Reorder collections
Fields
create_field— Add a field to a collectionupdate_field— Update a fieldreorder_fields— Reorder fields within a collection
Content Entries
list_entries— List entries with advanced filtering (wherewith 13 operators, OR groups, relation filtering), sorting, pagination, count, and firstget_entry— Get a single content entrycreate_entry— Create a content entryupdate_entry— Update a content entrypatch_entry— Partially update an entry (HTTP PATCH; merge only the fields you send)publish_entry— Publish the draft as a new immutable version (update)unpublish_entry— Clear the live published pointer; versions retained (update)discard_entry_draft— Discard unpublished draft changes (update)delete_entry— Soft-delete a content entry (moves to trash)bulk_create_entries— Create multiple entries atomicallybulk_update_entries— Update multiple entries atomically by UUIDbulk_delete_entries— Delete multiple entries atomically by UUIDlink_entry_translation— Link two entries (different locales) into the same translation group (POST …/link-translation; requires update)list_entry_versions— List version history for an entryget_entry_version— Fetch one version by number (includes snapshot payload)revert_entry_version— Restore draft from a prior snapshot and publish (update)update_entry_version_label— Edit label/description on a version; snapshot unchanged (update)
Content API shape: Each entry has uuid, locale, published_at, and fields (custom field values). Field names are kebab-case. Richtext write format follows editor.mode: HTML string or { html, json } for lexical; markdown string when mode is markdown. MCP create_field / create_collection (and richtext update_field) default omitted editor.mode to markdown. Pass mode: 'lexical' for Lexical. Never write markdown into a lexical field. Read shape follows editor.outputFormat. Relation fields return nested entry objects (or arrays for one-to-many) on read; on write send only the related entry’s UUID or numeric id (never the full nested object from a previous get_entry). get_entry supports translation_locale, exclude, timestamps, and state query parameters.
Save ≠ publish: create_entry / update_entry / patch_entry save the draft only. state=published list/get keep serving the last snapshot until you call publish_entry.
Asset URLs: The API returns url, thumbnail_url, and original_url as stable links (optional ?variant=thumbnail or ?variant=original).
Assets
list_assets— List assets with paginationget_asset— Get an asset by UUID or filenameupload_asset— Upload a file as an assetbulk_upload_assets— Upload multiple files atomicallybulk_update_asset_metadata— Update metadata for multiple assets atomicallydelete_asset— Delete an asset
Webhooks
list_webhooks— List all webhooks for the projectget_webhook— Get a webhook by UUIDcreate_webhook— Create a webhook for content and auth events (name,url,events,sources; optionaldescription,secret,payload,status,collection_ids)update_webhook— Update a webhook by UUID (same fields as create)delete_webhook— Delete a webhook by UUIDlist_webhook_logs— List delivery logs for a webhook (uuid; optionalpaginate,page)
Resources
The server exposes three reference resources that AI agents can read for context:
Field Types Reference (
elmapicms://field-types) — Complete reference of all 16 field types, their options, validations, and common patterns.Collections Guide (
elmapicms://collections-guide) — Guide for working with collections, singletons, reserved slugs, and best practices.Query Reference (
elmapicms://query-reference) — Full documentation for content queries:wherefilters with 13 operators, OR groups, relation filtering, sorting, pagination, and examples.
API token abilities
Your project API token needs the appropriate abilities for the tools you want to use:
Ability | Tools |
| list/get collections, entries, assets, webhooks; webhook logs |
| create entries, upload assets, create webhooks |
| update entries, publish/unpublish/discard draft, |
| delete entries, delete assets, delete webhooks |
| create/update/reorder collections and fields; add/set default project locales (MCP does not expose locale removal) |
Create the token in the ElmapiCMS dashboard under Project settings → API Tokens. Copy the Project ID from the project home page or Project settings → API Access when you configure this server.
Using Multiple Projects
Each MCP entry connects to a single ElmapiCMS project. To work with multiple projects, add separate entries in your MCP config with different env values.
License
MIT
Available Tools
18 toolscreate_collectionCreate CollectionA
Create a new collection. Optionally include field definitions to create the collection with its full schema in a single request.
Inputs: name (required), slug (required), is_singleton, fields.
create_entryCreate EntryB
Create a new content entry in a collection
Inputs: collection_slug (required), data (required), status, locale.
create_fieldCreate FieldB
Add a new field to a collection
Inputs: collection_slug (required), type (required), label (required), name (required), +5 more.
delete_assetDelete AssetB
Delete an asset by UUID
Inputs: uuid (required).
delete_entryDelete EntryA
Soft-delete a content entry (moves to trash). Can be restored from the admin panel.
Inputs: collection_slug (required), uuid (required).
get_assetGet AssetA
Get an asset by its UUID or by filename
Inputs: identifier (required), by_name.
get_collectionGet CollectionA
Get a single collection with its full field schema by slug
Inputs: slug (required).
get_entryGet EntryB
Get a single content entry by UUID
Inputs: collection_slug (required), uuid (required), locale.
get_projectGet ProjectB
Get information about the current ElmapiCMS project
Inputs: no named parameters.
list_assetsList AssetsC
List assets in the project with optional pagination
Inputs: page, per_page.
list_collectionsList CollectionsA
List all collections in the project
Inputs: no named parameters.
list_entriesList EntriesC
List content entries for a collection with advanced filtering, sorting, and pagination. Use the 'where' parameter for powerful queries. Read the 'query-reference' resource for full documentation on operators and examples.
Inputs: collection_slug (required), where, locale, state, +7 more.
reorder_collectionsReorder CollectionsB
Update the display order of collections
Inputs: collections (required).
reorder_fieldsReorder FieldsB
Update the display order of fields within a collection
Inputs: collection_slug (required), fields (required).
update_collectionUpdate CollectionC
Update the name and slug of an existing collection
Inputs: slug (required), name (required), new_slug (required).
update_entryUpdate EntryC
Update an existing content entry
Inputs: collection_slug (required), uuid (required), data (required), status, +1 more.
update_fieldUpdate FieldC
Update an existing field on a collection
Inputs: collection_slug (required), field_uuid (required), type (required), label (required), +5 more.
upload_assetUpload AssetB
Upload a local file as an asset. Provide the absolute file path.
Inputs: file_path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
All 18 tools target distinct resources and actions (e.g., create_collection vs create_entry vs create_field), with no overlapping purposes. Each tool has a clear and separate role.
All tool names follow a consistent verb_noun pattern in lowercase snake_case (e.g., create_collection, list_entries, upload_asset), with no deviations or style mixing.
With 18 tools, the count is slightly above the ideal 3-15 range but still reasonable for a full-featured CMS server. Each tool serves a specific function without bloat.
CRUD coverage is strong for entries and assets, but notable gaps exist: no delete_collection or delete_field tools, and no update_asset. Reorder operations are included but are less critical.
Maintenance
Related MCP Connectors
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
An MCP server that provides agents access to the KeldynAI platform
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- FlicenseCqualityNot gradedmaintenanceAn MCP server that enables AI assistants like Cursor and Claude to interact with the Storyblok Management API. It allows users to manage stories, tags, components, assets, and workflows through natural language commands.7420 npm-
- AlicenseCqualityDmaintenanceA SitecoreMCP version that can be used in enterprises100Apache 2.0
- AlicenseBqualityCmaintenanceOpen-source MCP server that turns any CMS backend into an AI-agent-ready content management system. It provides tools for content CRUD, idea management, and publication tracking, with safety features requiring human approval for publishing.52MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server wrapping the Cursor CLI agent, enabling Claude Code and other MCP clients to delegate tasks to Cursor's AI agent for file writing, bash commands, and codebase queries.-