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.

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 助理管理 NomaCMS 專案中的集合、欄位、內容項目、素材和 Webhook。

可以做什麼
讀取並調整專案設定,包括新增語系和設定預設語系。建立、更新和重新排序集合及其欄位。列出、建立、更新、局部更新、發布、取消發布、軟刪除和批次管理內容項目,並查看版本歷史、連結翻譯。列出、上傳、批次更新中繼資料和刪除素材。建立、更新、刪除 Webhook 並查看遞送日誌。讀取內建的欄位類型、集合和查詢參考資源。
適用情境
適合在 NomaCMS 專案中維護內容時使用:讓助理起草、發布或批次更新項目,調整集合與欄位結構,管理媒體素材,或用自然語言設定 Webhook,而不必手動操作後台。
執行需求
以 stdio 在本機執行,通常透過 npx 呼叫 npm 套件。需要 NomaCMS 帳號,並以環境變數提供 NOMA_API_KEY 個人存取權杖和 NOMA_PROJECT_ID 專案 UUID。API 金鑰需具備所用工具對應的權限(read、create、update、delete、admin)。每個專案需個別設定一筆項目。
安裝前請注意
此 API 金鑰可寫入線上專案:項目可能被發布、取消發布、軟刪除或批次刪除,素材和 Webhook 可能被刪除,集合、欄位和語系設定可能被變更;admin 權限還能調整資料結構。建立 Webhook 會儲存一個由 NomaCMS 呼叫的網址和選用密鑰。請依需求最小化金鑰權限,並只保存在本機設定中。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 NomaCMS MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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):

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:

bash
claude mcp add nomacms \  -e NOMA_API_KEY=your-api-key \  -e NOMA_PROJECT_ID=your-project-uuid \  -- npx -y @nomacms/mcp-server

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 collections
  • get_collection — Get a collection with its full field schema
  • create_collection — Create a collection (with optional batch field creation)
  • update_collection — Update a collection's name and slug
  • reorder_collections — Reorder collections

Fields

  • create_field — Add a field to a collection
  • update_field — Update a field
  • reorder_fields — Reorder fields within a collection

Content Entries

  • list_entries — List entries with advanced filtering (where with 13 operators, OR groups, relation filtering), sorting, pagination, count, and first
  • get_entry — Get a single content entry
  • create_entry — Create a content entry
  • update_entry — Update a content entry
  • patch_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 atomically
  • bulk_update_entries — Update multiple entries atomically by UUID
  • bulk_delete_entries — Delete multiple entries atomically by UUID
  • link_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 entry
  • get_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 pagination
  • get_asset — Get an asset by UUID or filename
  • upload_asset — Upload a file as an asset
  • bulk_upload_assets — Upload multiple files atomically
  • bulk_update_asset_metadata — Update metadata for multiple assets atomically
  • delete_asset — Delete an asset

Webhooks

  • list_webhooks — List all webhooks for the project
  • get_webhook — Get a webhook by UUID
  • create_webhook — Create a webhook for content and auth events (name, url, events, sources; optional description, secret, payload, status, collection_ids)
  • update_webhook — Update a webhook by UUID (same fields as create)
  • delete_webhook — Delete a webhook by UUID
  • list_webhook_logs — List delivery logs for a webhook (uuid; optional paginate, 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: where filters 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:

AbilityTools
readlist/get collections, entries, assets, webhooks; webhook logs
createcreate entries, upload assets, create webhooks
updateupdate entries, link_entry_translation, update asset metadata, update webhooks
deletedelete entries, delete assets, delete webhooks
admincreate/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:

json
{  "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"      }    }  }}

License

MIT

來源:README.md,提交 273847e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分