
NomaCMS MCP Server
io.github.NomaCMS由 GitHub 账号 NomaCMS 发布v1.2.2更新于 Oct 24, 2026
MCP server for NomaCMS. Manage collections, fields, content, assets, and webhooks via AI agents.
概览
本地 MCP 服务器,让 AI 助手管理 NomaCMS 项目中的集合、字段、内容条目、素材和 Webhook。
- 可以做什么
- 读取并调整项目设置,包括添加语言和设置默认语言。创建、更新和重新排序集合及其字段。列出、创建、更新、局部更新、发布、取消发布、软删除和批量管理内容条目,并查看版本历史、关联翻译。列出、上传、批量更新元数据和删除素材。创建、更新、删除 Webhook 并查看投递日志。读取内置的字段类型、集合和查询参考资源。
- 适用场景
- 适合在 NomaCMS 项目中维护内容时使用:让助手起草、发布或批量更新条目,调整集合与字段结构,管理媒体素材,或用自然语言配置 Webhook,而不必手动操作后台。
- 运行要求
- 以 stdio 在本地运行,通常通过 npx 调用 npm 包。需要 NomaCMS 账户,并以环境变量提供 NOMA_API_KEY 个人访问令牌和 NOMA_PROJECT_ID 项目 UUID。API 密钥需具备所用工具对应的权限(read、create、update、delete、admin)。每个项目需单独配置一条记录。
安装
在 SourceWeft 中
- 打开 控制台中的 NomaCMS MCP Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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.
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):
Usage with Claude Code
Add the MCP server using the Claude Code CLI:
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:
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:
License
MIT
来源:README.md,提交 273847e
工具
0版本历史
1- v1.2.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分