Skip to content

Commit c4c8b21

Browse files
authored
Merge pull request #20 from umbraco/release/16.0.0-beta
Release 16.0.0-beta.1
2 parents 71f3e1e + 206e7fa commit c4c8b21

File tree

185 files changed

+59
-6470
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+59
-6470
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Matthew-Wise
3+
Copyright (c) 2025-present Umbraco
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Umbraco MCP ![GitHub License](https://img.shields.io/github/license/matthew-wise/umbraco-mcp?style=plastic&link=https%3A%2F%2Fgithub.com%2FMatthew-Wise%2Fumbraco-mcp%3Ftab%3DMIT-1-ov-file%23readme)
1+
# Umbraco MCP ![GitHub License](https://img.shields.io/github/license/umbraco/Umbraco-CMS-MCP-Dev?style=plastic&link=https%3A%2F%2Fgithub.com%2Fumbraco%2FUmbraco-CMS-MCP-Dev%2Fblob%2Fmain%2FLICENSE)
22

33
An MCP (Model Context Protocol) server for [Umbraco CMS](https://umbraco.com/)
44
it provides access to key parts of the Management API enabling you to do back office tasks with your agent.
@@ -34,7 +34,7 @@ Once you have this information head back into Claude desktop app and head to Set
3434
"mcpServers": {
3535
"umbraco-mcp": {
3636
"command": "npx",
37-
"args": ["@umbraco-mcp/umbraco-mcp-cms@alpha"],
37+
"args": ["@umbraco-cms/mcp-dev@beta"],
3838
"env": {
3939
"NODE_TLS_REJECT_UNAUTHORIZED": "0",
4040
"UMBRACO_CLIENT_ID": "umbraco-back-office-mcp",
@@ -62,7 +62,7 @@ Restart Claude and try it out with a simple prompt such as `Tell me the GUID of
6262
Use the Claude Code CLI to add the Umbraco MCP server:
6363

6464
```bash
65-
claude mcp add umbraco-mcp npx @umbraco-mcp/umbraco-mcp-cms@alpha
65+
claude mcp add umbraco-mcp npx @umbraco-cms/mcp-dev@beta
6666
```
6767

6868
Or configure environment variables and scope:
@@ -71,7 +71,7 @@ Or configure environment variables and scope:
7171
npm install -g @anthropic-ai/claude-code
7272

7373
# Add with environment variables
74-
claude mcp add umbraco-mcp --env UMBRACO_CLIENT_ID="your-id" --env UMBRACO_CLIENT_SECRET="your-secret" --env UMBRACO_BASE_URL="https://your-domain.com" --env NODE_TLS_REJECT_UNAUTHORIZED="0" --env UMBRACO_INCLUDE_TOOL_COLLECTIONS="culture,document,media" -- npx @umbraco-mcp/umbraco-mcp-cms@alpha
74+
claude mcp add umbraco-mcp --env UMBRACO_CLIENT_ID="your-id" --env UMBRACO_CLIENT_SECRET="your-secret" --env UMBRACO_BASE_URL="https://your-domain.com" --env NODE_TLS_REJECT_UNAUTHORIZED="0" --env UMBRACO_INCLUDE_TOOL_COLLECTIONS="culture,document,media" -- npx @umbraco-cms/mcp-dev@beta
7575

7676
# Verify installation
7777
claude mcp list
@@ -99,7 +99,7 @@ Follow the MCP [install guide](https://code.visualstudio.com/docs/copilot/custom
9999
"umbraco-mcp": {
100100
"type": "stdio",
101101
"command": "npx",
102-
"args": ["@umbraco-mcp/umbraco-mcp-cms@alpha"],
102+
"args": ["@umbraco-cms/mcp-dev@beta"],
103103
"env": {
104104
"UMBRACO_CLIENT_ID": "<API user name>",
105105
"UMBRACO_CLIENT_SECRET": "<API client secret>",
@@ -127,7 +127,7 @@ Add the following to the config file and update the env variables.
127127
"mcpServers": {
128128
"umbraco-mcp": {
129129
"command": "npx",
130-
"args": ["@umbraco-mcp/umbraco-mcp-cms@alpha"],
130+
"args": ["@umbraco-cms/mcp-dev@beta"],
131131
"env": {
132132
"UMBRACO_CLIENT_ID": "<API user name>",
133133
"UMBRACO_CLIENT_SECRET": "<API client secret>",

build/azure-pipelines.yml

Lines changed: 46 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -47,29 +47,49 @@ stages:
4747
targetPath: '$(Build.ArtifactStagingDirectory)'
4848
artifact: 'npm-package'
4949

50-
# - stage: PublishPackage
51-
# displayName: 'Publish to NPM'
52-
# dependsOn: BuildAndTest
53-
# condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
54-
# jobs:
55-
# - job: Publish
56-
# displayName: 'Publish to NPM'
57-
# steps:
58-
# - task: NodeTool@0
59-
# displayName: 'Use Node.js $(nodeVersion)'
60-
# inputs:
61-
# versionSpec: '$(nodeVersion)'
62-
#
63-
# - script: npm ci
64-
# displayName: 'Install dependencies'
65-
#
66-
# - script: npm run build
67-
# displayName: 'Build package'
68-
#
69-
# - script: |
70-
# npm pack
71-
# files=( ./*.tgz )
72-
# npm publish "${files[0]}" --tag alpha
73-
# env:
74-
# NPM_TOKEN: $(NPM_TOKEN)
75-
# displayName: 'Pack and publish to NPM'
50+
- stage: Deploy_Npm
51+
displayName: Npm release
52+
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
53+
dependsOn:
54+
- BuildAndTest
55+
jobs:
56+
- job: Publish
57+
displayName: Push to NPM
58+
steps:
59+
- checkout: none
60+
- download: current
61+
artifact: 'npm-package'
62+
- bash: echo "@umbraco-cms:registry=https://registry.npmjs.org" >> .npmrc
63+
workingDirectory: $(Pipeline.Workspace)/npm-package
64+
displayName: Add scoped registry to .npmrc
65+
- task: npmAuthenticate@0
66+
displayName: Authenticate with npm
67+
inputs:
68+
workingFile: $(Pipeline.Workspace)/npm-package/.npmrc
69+
customEndpoint: "NPM - Umbraco Backoffice"
70+
- script: |
71+
# Setup temp npm project to load in defaults from the local .npmrc
72+
npm init -y
73+
74+
# Find the first .tgz file in the current directory
75+
files=( ./*.tgz )
76+
77+
# Extract version from package.json in the tarball
78+
tar -tf "${files[0]}" | grep package/package.json | head -1 | xargs tar -xf "${files[0]}" --strip-components=1
79+
version=$(node -p "require('./package.json').version")
80+
81+
# Determine tag based on version
82+
if [[ "${version}" == *"alpha"* ]]; then
83+
tag="alpha"
84+
elif [[ "${version}" == *"beta"* ]]; then
85+
tag="beta"
86+
elif [[ "${version}" == *"rc"* ]]; then
87+
tag="rc"
88+
else
89+
tag="latest"
90+
fi
91+
92+
echo "Publishing version ${version} with tag ${tag}"
93+
npm publish "${files[0]}" --tag $tag
94+
displayName: Push to npm with dynamic tagging
95+
workingDirectory: $(Pipeline.Workspace)/npm-package

orval.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { UmbManagementApiOrvalConfig } from "./src/orval/umb-management-api.js";
2-
import { UmbWorkflowApiOrvalConfig } from "./src/orval/umb-workflow-api.js";
32

43
export default {
5-
...UmbManagementApiOrvalConfig,
6-
...UmbWorkflowApiOrvalConfig,
4+
...UmbManagementApiOrvalConfig
75
};

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@umbraco-mcp/umbraco-mcp-cms",
3-
"version": "0.1.0-alpha.7",
2+
"name": "@umbraco-cms/mcp-dev",
3+
"version": "16.0.0-beta.1",
44
"type": "module",
55
"description": "A model context protocol (MCP) server for Umbraco CMS",
66
"main": "index.js",
@@ -30,7 +30,7 @@
3030
],
3131
"repository": {
3232
"type": "git",
33-
"url": "git+https://github.com/Matthew-Wise/umbraco-mcp.git"
33+
"url": "git+https://github.com/umbraco/Umbraco-CMS-MCP-Dev"
3434
},
3535
"keywords": [
3636
"Umbraco",
@@ -43,9 +43,9 @@
4343
"author": "",
4444
"license": "MIT",
4545
"bugs": {
46-
"url": "https://github.com/Matthew-Wise/umbraco-mcp/issues"
46+
"url": "https://github.com/umbraco/Umbraco-CMS-MCP-Dev/issues"
4747
},
48-
"homepage": "https://github.com/Matthew-Wise/umbraco-mcp#readme",
48+
"homepage": "https://github.com/umbraco/Umbraco-CMS-MCP-Dev#readme",
4949
"dependencies": {
5050
"@modelcontextprotocol/sdk": "^1.9.0",
5151
"@types/uuid": "^10.0.0",

src/helpers/auth/umbraco-auth-policies.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export const sections = {
1111
packages: "Umb.Section.Packages",
1212
settings: "Umb.Section.Settings",
1313
translation: "Umb.Section.Translation",
14-
workflow: "Umb.Section.Workflow",
1514
users: "Umb.Section.Users"
1615
}
1716

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { UmbracoMcpServer } from "./server/umbraco-mcp-server.js";
66
import { UmbracoToolFactory } from "./umb-management-api/tools/tool-factory.js";
77
import { ResourceFactory } from "./umb-management-api/resources/resource-factory.js";
88

9-
import { UmbracoWorkflowToolFactory } from "./umb-workflow/tools/tool-factory.js";
109
import { UmbracoManagementClient } from "@umb-management-client";
1110

1211
const main = async () => {
@@ -18,7 +17,6 @@ const main = async () => {
1817

1918
ResourceFactory(server);
2019
UmbracoToolFactory(server, user);
21-
await UmbracoWorkflowToolFactory(server);
2220

2321
// Start receiving messages on stdin and sending messages on stdout
2422
const transport = new StdioServerTransport();

src/orval/client/mutators/umbraco-workflow.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/orval/umb-workflow-api.ts

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)