Skip to main content
Glama

@upassist/neos-mcp

MCP server that connects AI assistants to Neos CMS. Works with Claude Code, Cursor, and any other tool that supports the Model Context Protocol.

This is the client-side component. It runs locally on your machine and translates MCP tool calls into HTTP requests to the UpAssist.Neos.Mcp bridge running inside your Neos installation.

Compatibility

MCP Server version

Bridge version

Neos CMS

Node.js

2.x (main)

upassist/neos-mcp 1.x or 2.x

8.3+ / 9.0+

18+

1.x (neos-8, no longer maintained)

upassist/neos-mcp 1.x

8.3+

18+

v2 auto-detects the bridge API version. A single MCP server v2 works with both Neos 8 and Neos 9 bridges. Use v2 for Neos 8 as well: all new client features (neos_upload_asset, multi-site, content dimensions) only land in v2 and are not backported to 1.x. What each feature needs from the bridge is listed below.

Multi-site (neos_list_sites and the site parameter) needs a bridge with multi-site support (see the bridge README: upassist/neos-mcp 2.3+ for Neos 9, 1.2+ for Neos 8). Older bridges ignore site and always work on the default site; neos_list_sites fails with a 404 there. To avoid publishing every site by accident, neos_publish_changes with site first checks that the bridge supports multi-site and refuses to publish otherwise.

Content dimensions (the dimensions parameter and neos_create_node_variant) need a bridge with dimension support: upassist/neos-mcp 2.4+ for Neos 9, 1.3+ for Neos 8. With dimensions the client first checks that the bridge reports its dimensions and refuses otherwise, because an older bridge would silently use the default dimensions (and write there).

neos_upload_asset (client 2.1+) needs a bridge with the uploadAsset endpoint: upassist/neos-mcp 2.1+ (Neos 9) or 1.1+ (Neos 8). Against an older bridge the other tools keep working and the upload call fails with a 404.

Related MCP server: Directus MCP Server

Requirements

Installation

Via npm (recommended):

npm install -g @upassist/neos-mcp

Or clone from source:

git clone https://github.com/UpAssist/neos-mcp-client.git ~/Tools/neos-mcp-client
cd ~/Tools/neos-mcp-client
npm install
npm run build

Configuration

The MCP server connects to your Neos instance using two environment variables:

Variable

Description

Example

NEOS_MCP_URL

Base URL of the Neos site

http://localhost:8081

NEOS_MCP_TOKEN

Bearer token (must match NEOS_MCP_BRIDGE_TOKEN in Neos .env)

a3f1c9...

Generating a token

Pick a secure shared secret. The same token goes in two places:

# Generate a random token
openssl rand -hex 32
  1. Neos side — add to your Neos .env file as NEOS_MCP_BRIDGE_TOKEN

  2. MCP client side — add to your editor config as NEOS_MCP_TOKEN (see below)

Claude Code

Per project (recommended) — add a .mcp.json to your Neos project root:

{
  "mcpServers": {
    "neos-local": {
      "command": "neos-mcp",
      "env": {
        "NEOS_MCP_URL": "http://localhost:8081",
        "NEOS_MCP_TOKEN": "your-token"
      }
    }
  }
}

Important: Add .mcp.json to .gitignore — it contains your token.

You can define multiple environments in the same file (e.g. local + production):

{
  "mcpServers": {
    "neos-local": {
      "command": "neos-mcp",
      "env": {
        "NEOS_MCP_URL": "http://localhost:8081",
        "NEOS_MCP_TOKEN": "your-local-token"
      }
    },
    "neos-production": {
      "command": "neos-mcp",
      "env": {
        "NEOS_MCP_URL": "https://www.example.com",
        "NEOS_MCP_TOKEN": "your-production-token"
      }
    }
  }
}

Global (all projects) — add the same mcpServers block to ~/.claude.json.

Cursor

Add to Cursor's MCP settings (Settings > MCP Servers):

{
  "neos-mcp": {
    "command": "neos-mcp",
    "env": {
      "NEOS_MCP_URL": "http://localhost:8081",
      "NEOS_MCP_TOKEN": "your-token"
    }
  }
}

Available tools

Once connected, your AI assistant can use these tools:

Reading

Tool

Description

neos_list_sites

List all sites of the Neos instance and which one is the default

neos_get_site_context

Get site structure, node types, and page tree. Call this first.

neos_list_pages

List all pages in a workspace

neos_get_page_content

Get all content nodes on a specific page

neos_get_document_properties

Get page-level properties (title, SEO, etc.)

neos_list_node_types

List available node types and their properties

Writing

Tool

Description

neos_setup_workspace

Create the MCP workspace (auto-created on first write)

neos_update_node_property

Update a property on an existing node

neos_create_content_node

Create a new content element inside a page

neos_create_document_node

Create a new page

neos_move_node

Move or reorder a node

neos_delete_node

Remove a node

neos_create_node_variant

Create a variant of a node in another content dimension (e.g. a translation, when the dimension is a language), as a copy or empty

Property values are passed to the bridge unchanged and resolved there against the NodeType's property type:

  • Image/asset properties: the asset identifier (e.g. from neos_list_assets or neos_upload_asset).

  • Link properties (Neos\Neos\Domain\Link\Link, edited with the LinkEditor): a URI string such as node://<nodeAggregateId>, asset://<id> or https://…, or an object { "href": "…", "title": "…", "target": "_blank" }. An empty string clears the link. A node:// target must exist in the workspace, otherwise the bridge rejects the write. Needs a Neos 9 bridge with Link property support (see the bridge README).

  • References (for example selected brands or a contact person): write a nodeAggregateId for a reference and an array of them for references; the array replaces the previous list, in that order. An empty value clears them. On Neos 9 references are no node properties: neos_list_node_types and neos_get_site_context list them per node type under references with type, label and targetNodeTypes, and neos_list_pages, neos_get_page_content and neos_get_document_properties show the current targets under references. This needs bridge 2.5.0 or later, which also rejects unknown targets and targets of another node type; setting references works with every Neos 9 bridge since 2.3.0. On Neos 8 references are regular properties of type reference/references, and there is no separate references block.

Media

Tool

Description

neos_list_assets

Browse images and files from the Media Manager

neos_list_asset_tags

List available asset tags

neos_upload_asset

Upload a file (local path, URL or base64) to the Media Manager, incl. title, caption, tags and collections. Identical files are deduplicated.

Uploading files

neos_upload_asset takes exactly one source:

Parameter

Description

file_path

Absolute path of a local file, read by this MCP server

url

HTTP(S) URL, downloaded by this MCP server (the Neos bridge never fetches remote URLs)

base64_content

Raw base64 content (a data: URI prefix is allowed); requires filename

Optional: filename (overrides the name taken from the path or URL), title, caption, copyright_notice, tags, asset_collections (missing tags and collections are created) and allow_duplicate.

  • The result contains the asset identifier, which you can pass to neos_update_node_property (or the create tools) for image/asset properties.

  • If a file with identical content already exists, that asset is returned with duplicate: true and the title, caption, tags and collections you passed are not applied to it. Set allow_duplicate to force a new asset.

  • The file travels as base64 in one request, so it is about 33% larger on the wire. The size limit is set by the bridge's PHP (post_max_size) and web server configuration. Large files are better added through the Media Manager.

  • Requires a bridge that has the uploadAsset endpoint (see the bridge README). It works with both the Neos 8 and the Neos 9 bridge.

  • A rejected token comes back as a bridge error 401 or 403.

Review and publish

Tool

Description

neos_get_preview_url

Generate a 24-hour preview link (no Neos login needed)

neos_list_pending_changes

See what has been changed

neos_publish_changes

Publish all changes to live

Multi-site

A Neos instance can host several sites. Without further input the tools work on the instance's default site. neos_list_sites shows all sites; pass a site node name as site to:

  • neos_get_site_context and neos_list_pages: context and page tree of that site,

  • neos_list_pending_changes: only the changes of that site (without site, each change shows its site),

  • neos_publish_changes: publish only that site's changes. Without site, the changes of all sites go live.

Tools that work by node id (page content, create, update, move, delete) reach nodes of every site; preview links use the domain of the page's own site. One token covers all sites of an instance.

Content dimensions

A site can have content dimensions, such as a language or a country; several dimensions can be combined. neos_get_site_context lists them under dimensions, with the default value and the fallback chain of each value (for example en_UK shows en_US). Without further input the tools work in the default dimensions. Pass dimensions, for example {"language": "nl"}, to neos_list_pages, neos_get_page_content, neos_get_document_properties and to all writing tools to work in another dimension. Dimensions you leave out keep their default.

  • Nodes in the results show the dimensions they are stored in and fallback: true when they are only visible here through a dimension fallback.

  • A node that only exists in another dimension (shown through a fallback) cannot be changed or moved in the requested dimension: the bridge answers with a 409. Create a variant first with neos_create_node_variant (mode: "copy" starts from the source content, mode: "empty" without properties and content). The parent has to exist in the target dimension, so create variants top-down.

  • neos_delete_node with dimensions removes only the variant in those dimensions. On Neos 8 a node that is only shown through a fallback is refused; on Neos 9 it is removed from the requested dimension (and its specializations) and stays in the dimension it is stored in.

  • neos_get_preview_url with dimensions returns a link to the page in those dimensions, including the URL prefix the site uses for them.

  • neos_list_pending_changes shows the dimensions of each change and can be limited to some. neos_publish_changes without dimensions publishes the changes of all dimensions; with dimensions only the changes made in those. Neos 9 publishes whole nodes, so a node that also changed in another dimension is skipped and reported under skippedNodes; Neos 8 publishes the variants of the requested dimensions separately, so a new variant can go live before its counterpart in another dimension.

Entity management

If the Neos installation exposes custom Doctrine entities (see bridge documentation), these tools are also available:

Tool

Description

neos_entity_discover

List all exposed entities with their schemas

neos_entity_list

List/filter entities

neos_entity_show

Get a single entity by UUID

neos_entity_create

Create a new entity

neos_entity_update

Update entity properties

neos_entity_delete

Delete an entity

neos_entity_action

Run a named action (publish, archive, etc.)

How it works

AI Assistant (Claude Code, Cursor, etc.)
    |
    |  MCP protocol (stdio)
    |
@upassist/neos-mcp           <-- this package
    |
    |  HTTP + Bearer token
    |
UpAssist.Neos.Mcp bridge (Neos CMS)
    |
    |  ContentRepository API
    |
Neos CMS database (mcp workspace -> live)
  1. Your AI assistant communicates with this MCP server via stdio

  2. Each tool call is translated into an HTTP request to the Neos bridge

  3. All write operations go to a staging workspace (not directly to live)

  4. Changes can be previewed via generated URLs before publishing

  5. Publishing requires an explicit call — the AI never auto-publishes

Development

# Run in dev mode (hot reload via tsx)
npm run dev

# Type check
npm run typecheck

# Run the unit tests
npm test

# Build for production
npm run build

# Run built version
npm start

Tests

npm test bundles test/*.test.ts with esbuild and runs them with Node's built-in test runner. The tests start the real MCP server in-process (via the SDK's in-memory transport) and replace fetch, so they check the exact HTTP requests sent to the bridge without needing a Neos instance. For a true end-to-end check, point NEOS_MCP_URL at a Neos instance with the bridge installed and call the tool through any MCP client.

Adding a new tool

  1. Create a file in src/tools/ (e.g. myNewTool.ts)

  2. Export a register function that calls server.tool() with name, description, Zod schema, and handler

  3. Use callBridge() to make the HTTP request to the Neos bridge

  4. Import and call the register function in src/server.ts

import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { z } from 'zod';
import { callBridge } from '../bridge.js';

export function registerMyNewTool(server: McpServer): void {
  server.tool(
    'neos_my_new_tool',
    'Description of what this tool does',
    {
      some_param: z.string().describe('What this parameter does'),
    },
    async ({ some_param }) => {
      const data = await callBridge('myNewAction', 'POST', { someParam: some_param });
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    }
  );
}

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Connects creative applications like Blender and Adobe Creative Suite to AI models through the Model Context Protocol, enabling AI-driven creation, manipulation, and automation within these tools.
      10
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An extension that implements the Model Context Protocol for Directus, enabling AI tools and LLMs to interact with Directus content through natural language for content editing, data analysis, and asset management.
      8 npm
      8
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects AI assistants to Home Assistant, enabling them to discover and control smart home entities, services, areas, devices, and cameras via the Model Context Protocol.
      4
      BSD 3-Clause