NomaCMS MCP Server

v1.2.2
io.github.NomaCMS/nomacms-mcp-server Checked 1 day ago Published 4 months ago

MCP server for NomaCMS.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_project Get Project

Get information about the current Noma project (name, uuid, default_locale, locales, etc.)

add_project_locale Add project locale

Add a locale code (e.g. tr, es) to the project. Requires admin API ability. Codes are lowercased. Call when setting up a multilingual site before creating translated content.

ParameterTypeDescription
locale *stringBCP 47 / short locale code, e.g. en, tr, es, de

set_default_project_locale Set default project locale

Set the project's default locale. Adds the locale to the list if it was missing. Requires admin API ability.

ParameterTypeDescription
locale *stringLocale code to use as default (e.g. en)

list_collections List Collections

List all collections in the project

get_collection Get Collection

Get a single collection with its full field schema by slug

ParameterTypeDescription
slug *stringThe collection slug (e.g. 'blog-posts')

create_collection Create Collection

Create a new collection. Optionally include field definitions to create the collection with its full schema in a single request.

ParameterTypeDescription
name *stringDisplay name (max 60 chars)
slug *stringURL-friendly identifier, kebab-case (max 60 chars)
fieldsarrayArray of field definitions to create with the collection
is_singletonbooleanIf true, collection can only have one entry

update_collection Update Collection

Update the name and slug of an existing collection

ParameterTypeDescription
name *stringNew display name
new_slug *stringNew slug
slug *stringCurrent slug of the collection to update

reorder_collections Reorder Collections

Update the display order of collections

ParameterTypeDescription
collections *arrayArray of { uuid, order } objects

create_field Create Field

Add a new field to a collection

ParameterTypeDescription
collection_slug *stringThe slug of the collection to add the field to
label *stringDisplay label (max 60 chars)
name *stringField identifier in kebab-case (max 60 chars)
type *stringField type: text, number, richtext, boolean, date, media, relation, select, longtext, group, etc.
descriptionstringField description
optionsobjectField-specific options (e.g. { repeatable: true } for group fields). For richtext: { editor: { type: 1, outputFormat: 'html' | 'markdown' } }. For relation: { relation: { collection: <target collectio…
parent_field_idnumberInternal ID of a group field to nest this field under
placeholderstringPlaceholder text
validationsobjectValidation rules (e.g. { required: { status: true, message: 'Required' } })

update_field Update Field

Update an existing field on a collection

ParameterTypeDescription
collection_slug *stringThe collection slug
field_uuid *stringThe UUID of the field to update
label *stringDisplay label
name *stringField identifier in kebab-case
type *stringField type
descriptionstringField description
optionsobjectField-specific options. For richtext: { editor: { type: 1, outputFormat: 'html' | 'markdown' } }. For relation: { relation: { collection, type: 1 | 2 }, includeDraft?: boolean }.
placeholderstringPlaceholder text
validationsobjectValidation rules

reorder_fields Reorder Fields

Update the display order of fields within a collection

ParameterTypeDescription
collection_slug *stringThe collection slug
fields *arrayArray of { uuid, order } objects

list_entries List Entries

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.

ParameterTypeDescription
collection_slug *stringThe collection slug
countbooleanIf true, return only the count of matching entries: { count: N }
excludestringComma-separated field names to exclude from response (e.g. 'content,excerpt')
firstbooleanIf true, return only the first matching entry as a single object instead of an array
limitnumberLimit the number of results (ignored if paginate is set)
localestringFilter by locale (e.g. 'en')
offsetnumberSkip N results (requires limit to be set)
paginatenumberEnable pagination with N items per page. Returns paginated response with meta data. Overrides limit/offset.
sortstringSort by field:direction, comma-separated for multiple. Examples: 'created_at:desc', 'title:asc,created_at:desc'. Supports core columns (id, created_at, updated_at, published_at) and custom field names…
statestringFilter by state: 'draft' or 'published'. Defaults to published entries.
whereobjectFilter conditions as a nested object. Supports operators: eq, lt, lte, gt, gte, not, like, in, not_in, null, not_null, between, not_between. Simple: { "state": "published" }. With operators: { "price"…

get_entry Get Entry

Get a single content entry by UUID. Response includes uuid, locale, published_at, and a `fields` object (custom field values — not a nested `data` key). Relation fields appear as nested entry objects (one-to-one) or arrays of entries (one-to-many), not as bare UUIDs.

ParameterTypeDescription
collection_slug *stringThe collection slug
uuid *stringThe entry UUID
excludestringComma-separated field names to exclude from `fields` (e.g. 'body,excerpt')
localestringLocale code for the entry to load
statestringdraft or published
timestampsbooleanIf true, include created_at and updated_at on the entry
translation_localestringIf set, return the linked translation in this locale instead of the entry identified by uuid (same translation group).

create_entry Create Entry

Create a new content entry in a collection

ParameterTypeDescription
collection_slug *stringThe collection slug
data *objectObject where keys are field names and values are the content (e.g. { title: 'My Post', slug: 'my-post' }). Richtext fields: use a markdown string, not Lexical/HTML objects. Relation fields: on write s…
localestringLocale code (e.g. 'en')
statestringPublication state: 'published' or 'draft' (default)
statusstringDeprecated alias for state: 'published' or 'draft'

update_entry Update Entry

Replace an existing content entry (HTTP PUT). Sends the full `data` payload; required fields (e.g. title, slug) must be included. Saves NEVER change the publish state — if the entry has a published version, the public API keeps serving that snapshot under state=published until you explicitly call `publish_entry`. Use `patch_entry` for partial updates and `publish_entry`/`unpublish_entry` to control visibility.

ParameterTypeDescription
collection_slug *stringThe collection slug
data *objectObject with field names and their new values; richtext fields are markdown strings. Relation fields: on write send the related entry's UUID string or numeric id only; one-to-one = one value, one-to-ma…
uuid *stringThe entry UUID
localestringLocale code

patch_entry Patch Entry

Partially update a content entry (HTTP PATCH). Only include fields you want to change (e.g. relations, one field). Saves NEVER change the publish state — call `publish_entry` explicitly to mint a new version. Prefer this over `update_entry` when you are not replacing the entire entry.

ParameterTypeDescription
collection_slug *stringThe collection slug
data *objectFields to merge; omit unchanged fields. Richtext values are markdown strings. Relation fields: on write send the related entry's UUID string or numeric id only; one-to-one = one value, one-to-many = a…
uuid *stringThe entry UUID
localestringLocale code

publish_entry Publish Entry

Mint a new immutable version from the entry's current draft and make it the live published version. After this call, state=published reads from the public API will return the new snapshot and `is_draft_dirty` is reset to false.

ParameterTypeDescription
collection_slug *stringThe collection slug
uuid *stringThe entry UUID

unpublish_entry Unpublish Entry

Clear the live published pointer for an entry. The entry becomes invisible under state=published in the public API, but all historical versions are retained and still accessible via `list_entry_versions` / `get_entry_version`.

ParameterTypeDescription
collection_slug *stringThe collection slug
uuid *stringThe entry UUID

delete_entry Delete Entry

Soft-delete a content entry (moves to trash). Can be restored from the admin panel.

ParameterTypeDescription
collection_slug *stringThe collection slug
uuid *stringThe entry UUID

link_entry_translation Link Entry Translation

Merge two entries in the same collection into one translation group (same as dashboard “link translation”). Both entries must exist, belong to this collection, and have **different** locales. There is no unlink via API — use the dashboard if you need to split a group. Requires an API key with **update** ability.

ParameterTypeDescription
collection_slug *stringThe collection slug
translation_entry_uuid *stringUUID of the second entry to link (must be a different locale than the first)
uuid *stringUUID of the first entry (the “anchor”; both entries are merged into one translation group)

bulk_create_entries Bulk Create Entries

Create multiple content entries atomically. If one item fails, the whole request is rolled back.

ParameterTypeDescription
collection_slug *stringThe collection slug
items *arrayArray of entries to create

bulk_update_entries Bulk Update Entries

Update multiple content entries atomically by UUID. If one item fails, all updates are rolled back. Saves never change publish state — call `publish_entry` per UUID to mint new versions after bulk updates.

ParameterTypeDescription
collection_slug *stringThe collection slug
items *arrayArray of entries to update

bulk_delete_entries Bulk Delete Entries

Delete multiple content entries atomically by UUID. If one delete fails, no entries are deleted.

ParameterTypeDescription
collection_slug *stringThe collection slug
uuids *arrayEntry UUIDs to delete
forcebooleanIf true, permanently delete instead of soft-delete

list_entry_versions List Entry Versions

List all published versions for a content entry (newest first). Each version is an immutable snapshot taken at publish time. Response includes version_number, label, description, published_at, created_by, and is_current_published for each version.

ParameterTypeDescription
collection_slug *stringThe collection slug
uuid *stringThe entry UUID

get_entry_version Get Entry Version

Fetch a single version's metadata and raw snapshot payload. The snapshot contains the saved field values in restoration format; for API-rendered content use `get_entry` with state='published'.

ParameterTypeDescription
collection_slug *stringThe collection slug
uuid *stringThe entry UUID
version_number *integerThe version number (1-based)

revert_entry_version Revert Entry Version

Restore the draft to a previous version's snapshot and publish it as a new version. The current unpublished draft is replaced. Returns the new version number.

ParameterTypeDescription
collection_slug *stringThe collection slug
uuid *stringThe entry UUID
version_number *integerThe version number to revert to (the snapshot to restore)

update_entry_version_label Update Entry Version Label

Update a version's editable label and/or description. The snapshot payload itself is immutable.

ParameterTypeDescription
collection_slug *stringThe collection slug
uuid *stringThe entry UUID
version_number *integerThe version number
descriptionstring | nullLonger note for this version (null clears it)
labelstring | nullHuman-friendly label for this version (null clears it)

list_assets List Assets

List assets in the project with optional pagination.

ParameterTypeDescription
pagenumberPage number
paginatenumberItems per page
per_pagenumberDeprecated alias for paginate

get_asset Get Asset

Get an asset by its UUID or by filename.

ParameterTypeDescription
identifier *stringAsset UUID or filename
by_namebooleanIf true, looks up by filename instead of UUID

upload_asset Upload Asset

Upload a local file as an asset. Provide the absolute file path.

ParameterTypeDescription
file_path *stringAbsolute path to the file to upload

bulk_upload_assets Bulk Upload Assets

Upload multiple local files as assets atomically. If one upload fails, all uploads are rolled back.

ParameterTypeDescription
file_paths *arrayAbsolute file paths to upload

bulk_update_asset_metadata Bulk Update Asset Metadata

Update metadata for multiple assets atomically by UUID. If one item fails, all updates are rolled back.

ParameterTypeDescription
items *arrayArray of metadata updates

delete_asset Delete Asset

Delete an asset by UUID

ParameterTypeDescription
uuid *stringThe asset UUID

list_webhooks List Webhooks

List all webhooks configured for the current project

get_webhook Get Webhook

Get a webhook by UUID

ParameterTypeDescription
uuid *stringWebhook UUID

create_webhook Create Webhook

Create a webhook for content and auth events

ParameterTypeDescription
events *arrayEvent names
name *stringWebhook display name
sources *arrayEvent sources (e.g. cms, api)
url *stringDestination URL
collection_idsarrayOptional collection ID filter
descriptionstringOptional description
payloadbooleanWhether to include payload details
secretstringOptional HMAC secret
statusbooleanWebhook active status

update_webhook Update Webhook

Update a webhook by UUID

ParameterTypeDescription
events *arrayEvent names
name *stringWebhook display name
sources *arrayEvent sources (e.g. cms, api)
url *stringDestination URL
uuid *stringWebhook UUID
collection_idsarrayOptional collection ID filter
descriptionstringOptional description
payloadbooleanWhether to include payload details
secretstringOptional HMAC secret
statusbooleanWebhook active status

delete_webhook Delete Webhook

Delete a webhook by UUID

ParameterTypeDescription
uuid *stringWebhook UUID

list_webhook_logs List Webhook Logs

List delivery logs for a webhook

ParameterTypeDescription
uuid *stringWebhook UUID
pagenumberPage number
paginatenumberItems per page