@upassist/neos-mcp 2.4.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/dependabot.yml +18 -0
- package/.github/workflows/ci.yml +18 -0
- package/.github/workflows/dependabot-automerge.yml +19 -0
- package/CHANGELOG.md +20 -0
- package/README.md +3 -2
- package/dist/index.js +5067 -2335
- package/package.json +4 -4
- package/src/tools/createContentNode.ts +1 -1
- package/src/tools/createDocumentNode.ts +1 -1
- package/src/tools/getDocumentProperties.ts +1 -1
- package/src/tools/getPageContent.ts +1 -1
- package/src/tools/getSiteContext.ts +1 -0
- package/src/tools/listNodeTypes.ts +3 -1
- package/src/tools/listPages.ts +1 -1
- package/src/tools/updateNodeProperty.ts +6 -2
- package/src/types.ts +14 -0
- package/test/referenceValues.test.ts +85 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: npm
|
|
4
|
+
directory: /
|
|
5
|
+
schedule:
|
|
6
|
+
interval: monthly
|
|
7
|
+
open-pull-requests-limit: 5
|
|
8
|
+
groups:
|
|
9
|
+
npm-minor-patch:
|
|
10
|
+
update-types: [minor, patch]
|
|
11
|
+
- package-ecosystem: github-actions
|
|
12
|
+
directory: /
|
|
13
|
+
schedule:
|
|
14
|
+
interval: monthly
|
|
15
|
+
open-pull-requests-limit: 5
|
|
16
|
+
groups:
|
|
17
|
+
actions-minor-patch:
|
|
18
|
+
update-types: [minor, patch]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
jobs:
|
|
7
|
+
build:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v7
|
|
11
|
+
- uses: actions/setup-node@v7
|
|
12
|
+
with:
|
|
13
|
+
node-version: lts/*
|
|
14
|
+
cache: npm
|
|
15
|
+
- run: npm ci
|
|
16
|
+
- run: npm run typecheck
|
|
17
|
+
- run: npm run build
|
|
18
|
+
- run: npm test
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: Dependabot auto-merge
|
|
2
|
+
on: pull_request
|
|
3
|
+
permissions:
|
|
4
|
+
contents: write
|
|
5
|
+
pull-requests: write
|
|
6
|
+
jobs:
|
|
7
|
+
automerge:
|
|
8
|
+
if: github.actor == 'dependabot[bot]'
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- id: meta
|
|
12
|
+
uses: dependabot/fetch-metadata@v3
|
|
13
|
+
with:
|
|
14
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
15
|
+
- if: steps.meta.outputs.update-type == 'version-update:semver-patch' || steps.meta.outputs.update-type == 'version-update:semver-minor'
|
|
16
|
+
run: gh pr merge --auto --squash "$PR_URL"
|
|
17
|
+
env:
|
|
18
|
+
PR_URL: ${{ github.event.pull_request.html_url }}
|
|
19
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.5.1](https://github.com/UpAssist/neos-mcp-client/compare/2.5.0...2.5.1) (2026-11-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Dependencies
|
|
9
|
+
|
|
10
|
+
* bump `@hono/node-server` to 2.1.11 and `zod` to 4.6.7, closes [#16](https://github.com/UpAssist/neos-mcp-client/issues/16) [#18](https://github.com/UpAssist/neos-mcp-client/issues/18). No behaviour change: the tool schemas are identical to 2.5.0.
|
|
11
|
+
|
|
12
|
+
## [2.5.0](https://github.com/UpAssist/neos-mcp-client/compare/2.4.0...2.5.0) (2026-11-12)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* describe references in the tool descriptions ([2a0aedb](https://github.com/UpAssist/neos-mcp-client/commit/2a0aedbd3ad7503f0d62a9da27fbf06fa3f2f544)), closes [UpAssist/neos-mcp#14](https://github.com/UpAssist/neos-mcp/issues/14)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* allow an empty list for references in the types ([af7ed4c](https://github.com/UpAssist/neos-mcp-client/commit/af7ed4c4c29538316ce3a7992a8017e37c901e51))
|
|
23
|
+
* run the tests with a glob so npm test works on Node 22 and newer ([#8](https://github.com/UpAssist/neos-mcp-client/issues/8)) ([6a17c1c](https://github.com/UpAssist/neos-mcp-client/commit/6a17c1c89b7b7835397497e732f46feac3b6c91b)), closes [#7](https://github.com/UpAssist/neos-mcp-client/issues/7)
|
|
24
|
+
|
|
5
25
|
## [2.4.0](https://github.com/UpAssist/neos-mcp-client/compare/2.3.0...2.4.0) (2026-11-02)
|
|
6
26
|
|
|
7
27
|
|
package/README.md
CHANGED
|
@@ -9,9 +9,9 @@ This is the client-side component. It runs locally on your machine and translate
|
|
|
9
9
|
| MCP Server version | Bridge version | Neos CMS | Node.js |
|
|
10
10
|
|-------------------|------------------------|----------|---------|
|
|
11
11
|
| 2.x (`main`) | upassist/neos-mcp 1.x or 2.x | 8.3+ / 9.0+ | 18+ |
|
|
12
|
-
| 1.x (`neos-8
|
|
12
|
+
| 1.x (`neos-8`, no longer maintained) | upassist/neos-mcp 1.x | 8.3+ | 18+ |
|
|
13
13
|
|
|
14
|
-
> **v2 auto-detects** the bridge API version. A single MCP server v2 works with both Neos 8 and Neos 9 bridges.
|
|
14
|
+
> **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.
|
|
15
15
|
|
|
16
16
|
> **Multi-site** (`neos_list_sites` and the `site` parameter) needs a bridge with multi-site support (see the [bridge README](https://github.com/UpAssist/neos-mcp#multi-site): 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.
|
|
17
17
|
|
|
@@ -154,6 +154,7 @@ Property values are passed to the bridge unchanged and resolved there against th
|
|
|
154
154
|
|
|
155
155
|
- Image/asset properties: the asset `identifier` (e.g. from `neos_list_assets` or `neos_upload_asset`).
|
|
156
156
|
- 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](https://github.com/UpAssist/neos-mcp#property-resolution)).
|
|
157
|
+
- 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.
|
|
157
158
|
|
|
158
159
|
### Media
|
|
159
160
|
|