NomaCMS MCP Server

NomaCMS MCP Server

MCP server for NomaCMS. Manage collections, fields, content, and assets via AI agents.

Category
访问服务器

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

{
  "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-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 settingsLocalization 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:

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

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选