io.github.umbraco/Umbraco-CMS-MCP-Dev

السجل الرسمي الذكاء الاصطناعي والوكلاء

A developer focused model context protocol (MCP) server for Umbraco CMS

ماذا يمكنك أن تفعل مع io.github.umbraco/Umbraco-CMS-MCP-Dev؟

  • MCP development patterns and conventions
  • TypeScript implementation guidelines
  • Comprehensive testing standards with builders and helpers
  • Project-specific context and architecture
  • API integration patterns with Umbraco Management API

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @umbraco-cms/mcp-dev
Claude Code
claude mcp add umbraco-cms-mcp-dev -e 'UMBRACO_CLIENT_ID=<your umbraco_client_id>' -e 'UMBRACO_CLIENT_SECRET=<your umbraco_client_secret>' -e 'UMBRACO_BASE_URL=<UMBRACO_BASE_URL>' -e 'UMBRACO_INCLUDE_TOOL_COLLECTIONS=<UMBRACO_INCLUDE_TOOL_COLLECTIONS>' -e 'UMBRACO_READONLY=<UMBRACO_READONLY>' -- npx -y @umbraco-cms/mcp-dev@18.0.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "umbraco-cms-mcp-dev": {
            "command": "npx",
            "args": [
                "-y",
                "@umbraco-cms/mcp-dev@18.0.1"
            ],
            "env": {
                "UMBRACO_CLIENT_ID": "<your umbraco_client_id>",
                "UMBRACO_CLIENT_SECRET": "<your umbraco_client_secret>",
                "UMBRACO_BASE_URL": "<UMBRACO_BASE_URL>",
                "UMBRACO_INCLUDE_TOOL_COLLECTIONS": "<UMBRACO_INCLUDE_TOOL_COLLECTIONS>",
                "UMBRACO_READONLY": "<UMBRACO_READONLY>"
            }
        }
    }
}

متغيرات البيئة

  • UMBRACO_CLIENT_ID إلزامي سري Umbraco API user client ID
  • UMBRACO_CLIENT_SECRET إلزامي سري Umbraco API user client secret
  • UMBRACO_BASE_URL إلزامي Base URL of your Umbraco instance
  • UMBRACO_INCLUDE_TOOL_COLLECTIONS Comma-separated list of tool collections to include (e.g., document,media,document-type)
  • UMBRACO_READONLY Enable readonly mode to disable all write operations (create, update, delete). Only read and query tools remain available.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Umbraco MCP
  2. Intro
  3. Quick Start
  4. Documentation
  5. Hosted Deployment
  6. Contributing with AI Tools

Umbraco MCP

An MCP (Model Context Protocol) server for Umbraco CMS that unlocks AI-powered content management. It provides comprehensive access to the Umbraco Management API, enabling your AI agent to perform back office tasks through natural conversation - freeing you from the UI and making complex, repetitive workflows that would be tedious or impossible manually become effortless.

Intro

The MCP server authenticates using an Umbraco API user, ensuring secure, permission-based access to the Umbraco Management API. This means you maintain complete control over what your AI agent can do through Umbraco's standard user permission system - no special security model required.

Quick Start

1. Create an Umbraco API User

First, create an Umbraco API user with appropriate permissions. You can find instructions in Umbraco's documentation.

2. Install in Claude Desktop

Download and install the Claude Desktop app, then add the MCP server to your configuration:

  1. Open Claude Desktop Settings > Developer > Edit Config
  2. Add this configuration to your claude_desktop_config.json:
{
  "mcpServers": {
    "umbraco-mcp": {
      "command": "npx",
      "args": ["@umbraco-cms/mcp-dev@17"],
      "env": {
        "NODE_TLS_REJECT_UNAUTHORIZED": "0",
        "UMBRACO_CLIENT_ID": "your-api-user-id",
        "UMBRACO_CLIENT_SECRET": "your-api-secret",
        "UMBRACO_BASE_URL": "https://localhost:{port}",
        "UMBRACO_INCLUDE_TOOL_COLLECTIONS": "document,media,document-type,data-type"
      }
    }
  }
}
  1. Fully restart Claude Desktop (including in the system tray on Windows)

Tip: Pin @umbraco-cms/mcp-dev to your site's Umbraco major (e.g. @17 above, or @18 for an Umbraco 18.x site) rather than @latest. Tool schemas track the Management API of the package's own major, so a mismatched major can fail confusingly mid-task once a tool's shape has drifted. The server checks the connected site's version on startup and warns on a mismatch, but pinning avoids it altogether.

Documentation

For complete installation instructions, configuration options, tool listings, and usage examples, see the full documentation:

Umbraco MCP Documentation

Hosted Deployment

The Cloudflare Worker entry point (src/worker.ts) supports two deployment modes, selected at request time by the @umbraco-cms/mcp-hosted library:

  • Single-tenant (default) — the worker authenticates against the UMBRACO_BASE_URL configured in wrangler.toml. This is the existing behavior and requires no extra configuration.
  • Multi-tenant Umbraco Cloud — set UMBRACO_CLOUD_ROUTING_ENABLED = "true" under [vars] in wrangler.toml. Requests to /at/{alias}/... resolve the upstream Umbraco Cloud project for {alias} and issue access tokens scoped to that resource per the MCP resource-indicator spec. Each Umbraco Cloud project served by the worker must register an OpenIddict client with id umbraco-cms-developer-mcp-hosted.

siteRouting is wired unconditionally; the per-request toggle is the env var.

Contributing with AI Tools

This project is optimized for development with AI coding assistants. We provide instruction files for popular AI tools to help maintain consistency with our established patterns and testing standards.

Using rulesync

The project includes rulesync configuration files that can automatically generate instruction files for 19+ AI development tools. Generate configuration files for your preferred AI tools:

# Generate only for Claude Code
npx rulesync generate --claudecode

# Generate only for Cursor
npx rulesync generate --cursor

# Generate only for Vs Code Copilot
npx rulesync generate --copilot
Other AI Tools

rulesync supports 19+ AI development tools including GitHub Copilot, Cline, Aider, and more. Check the rulesync repository for the complete list of supported tools.

The instruction files cover:

  • MCP development patterns and conventions
  • TypeScript implementation guidelines
  • Comprehensive testing standards with builders and helpers
  • Project-specific context and architecture
  • API integration patterns with Umbraco Management API

الأسئلة الشائعة

ما هو io.github.umbraco/Umbraco-CMS-MCP-Dev؟

A developer focused model context protocol (MCP) server for Umbraco CMS

كيف أثبّت io.github.umbraco/Umbraco-CMS-MCP-Dev؟

يعمل على جهازك. في Claude Code: claude mcp add umbraco-cms-mcp-dev -e 'UMBRACO_CLIENT_ID=<your umbraco_client_id>' -e 'UMBRACO_CLIENT_SECRET=<your umbraco_client_secret>' -e 'UMBRACO_BASE_URL=<UMBRACO_BASE_URL>' -e 'UMBRACO_INCLUDE_TOOL_COLLECTIONS=<UMBRACO_INCLUDE_TOOL_COLLECTIONS>' -e 'UMBRACO_READONLY=<UMBRACO_READONLY>' -- npx -y @umbraco-cms/mcp-dev@18.0.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.umbraco/Umbraco-CMS-MCP-Dev إلى مفتاح API؟

نعم. يتطلب UMBRACO_CLIENT_ID, UMBRACO_CLIENT_SECRET, UMBRACO_BASE_URL، وتضبطها في إعداداته.

هل io.github.umbraco/Umbraco-CMS-MCP-Dev مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.umbraco/Umbraco-CMS-MCP-Dev؟

ينشره umbraco. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.