
NomaCMS MCP Server
β 1from NomaCMS
MCP server for NomaCMS. Manage collections, fields, content, and assets via AI agents.
NomaCMS MCP Server
An MCP (Model Context Protocol) server that connects AI agents like Cursor and Claude Code to your NomaCMS project. Manage collections, fields, content entries, assets, and webhooks programmatically through natural language.
Available Tools (39)
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 NomaCMS dashboard if you must remove a locale).
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)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 ability)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). Richtext values are markdown strings on write; on read they are either raw markdown or rendered HTML depending on the fieldβs editor.outputFormat (markdown vs html). 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.
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 (
nomacms://field-types) β Complete reference of all 16 field types, their options, validations, and common patterns. - Collections Guide (
nomacms://collections-guide) β Guide for working with collections, singletons, reserved slugs, and best practices. - Query Reference (
nomacms://query-reference) β Full documentation for content queries:wherefilters with 13 operators, OR groups, relation filtering, sorting, pagination, and examples.
API key abilities
Your API key needs the appropriate abilities for the tools you want to use:
| Ability | Tools |
|---|---|
read | list/get collections, entries, assets, webhooks; webhook logs |
create | create entries, upload assets, create webhooks |
update | update entries, link_entry_translation, update asset metadata, update webhooks |
delete | delete entries, delete assets, delete webhooks |
admin | create/update/reorder collections and fields; add/set default project locales (MCP does not expose locale removal) |
Create the key in the NomaCMS dashboard under User settings β API keys. 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 NomaCMS project. To work with multiple projects, add separate entries in your MCP config:
{
"mcpServers": {
"nomacms-blog": {
"command": "npx",
"args": ["-y", "@nomacms/mcp-server"],
"env": {
"NOMA_API_KEY": "blog-project-api-key",
"NOMA_PROJECT_ID": "blog-project-uuid"
}
},
"nomacms-store": {
"command": "npx",
"args": ["-y", "@nomacms/mcp-server"],
"env": {
"NOMA_API_KEY": "store-project-api-key",
"NOMA_PROJECT_ID": "store-project-uuid"
}
}
}
}claude mcp add nomacms \
-e NOMA_API_KEY=your-api-key \
-e NOMA_PROJECT_ID=your-project-uuid \
-- npx -y @nomacms/mcp-serverBefore it works, you'll need: NOMA_API_KEYNOMA_PROJECT_ID
Configuration
NOMA_API_KEY: API key from User settings β API keys β see API key abilities.NOMA_PROJECT_ID: Your project's UUID β you can find it on the project home page or under Project settings β API Access
Usage with Cursor
Add this to your Cursor MCP settings (~/.cursor/mcp.json):
{
"mcpServers": {
"nomacms": {
"command": "npx",
"args": ["-y", "@nomacms/mcp-server"],
"env": {
"NOMA_API_KEY": "your-api-key",
"NOMA_PROJECT_ID": "your-project-uuid"
}
}
}
}Usage with Claude Code
Add the MCP server using the Claude Code CLI:
claude mcp add nomacms \
-e NOMA_API_KEY=your-api-key \
-e NOMA_PROJECT_ID=your-project-uuid \
-- npx -y @nomacms/mcp-serverNo common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITβ you can use, modify, and redistribute it under that license's terms.
License
MIT