Skip to content

Commit 6e5cb4f

Browse files
committed
feat: added configuration for MCP registry
1 parent 848ffc1 commit 6e5cb4f

File tree

7 files changed

+346
-300
lines changed

7 files changed

+346
-300
lines changed

.github/workflows/publish-docker-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Build & push Docker image
1313
with:
1414
image: antonytm/mcp-sitecore-linux
15-
tags: 1.2.1, latest
15+
tags: 1.3.0, latest
1616
registry: docker.io
1717
dockerfile: ./docker/linux/Dockerfile
1818
username: ${{ secrets.DOCKER_USERNAME }}

.github/workflows/publish-docker-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Build & push Docker image
1313
with:
1414
image: antonytm/mcp-sitecore-windows
15-
tags: 1.2.1, latest
15+
tags: 1.3.0, latest
1616
registry: docker.io
1717
dockerfile: ./docker/windows/Dockerfile
1818
platform: windows/amd64

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,5 @@ dist
134134
.yarn/build-state.yml
135135
.yarn/install-state.gz
136136
.pnp.*
137+
.mcpregistry_github_token
138+
.mcpregistry_registry_token

package-lock.json

Lines changed: 296 additions & 292 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@antonytm/mcp-sitecore-server",
3-
"version": "1.2.1",
3+
"mcpName": "io.github.Antonytm/mcp-sitecore-server",
4+
"version": "1.3.0",
45
"description": "A Model Context Protocol server for Sitecore",
56
"files": [
67
"dist",
@@ -24,13 +25,13 @@
2425
"start:stdio": "npm run build && cross-env TRANSPORT=stdio node dist/index.js",
2526
"run": "npm run build && node dist/run.js",
2627
"test": "npm run build && npm run bundle && vitest run",
27-
"docker:windows:build": "docker build -t antonytm/mcp-sitecore-windows:1.2.1 -t antonytm/mcp-sitecore-windows:latest --file .\\docker\\windows\\Dockerfile .",
28+
"docker:windows:build": "docker build -t antonytm/mcp-sitecore-windows:1.3.0 -t antonytm/mcp-sitecore-windows:latest --file .\\docker\\windows\\Dockerfile .",
2829
"docker:windows:run": "docker run -it --rm -p 4001:3001 antonytm/mcp-sitecore-windows:latest",
29-
"docker:windows:push": "docker push antonytm/mcp-sitecore-windows:1.2.1 && docker push antonytm/mcp-sitecore-windows:latest",
30+
"docker:windows:push": "docker push antonytm/mcp-sitecore-windows:1.3.0 && docker push antonytm/mcp-sitecore-windows:latest",
3031
"docker:windows": "npm run docker:windows:build && npm run docker:windows:push",
31-
"docker:linux:build": "docker build -t antonytm/mcp-sitecore-linux:1.2.1 -t antonytm/mcp-sitecore-linux:latest --file ./docker/linux/Dockerfile .",
32+
"docker:linux:build": "docker build -t antonytm/mcp-sitecore-linux:1.3.0 -t antonytm/mcp-sitecore-linux:latest --file ./docker/linux/Dockerfile .",
3233
"docker:linux:run": "docker run -it --rm -p 4001:3001 antonytm/mcp-sitecore-linux:latest",
33-
"docker:linux:push": "docker push antonytm/mcp-sitecore-linux:1.2.1 && docker push antonytm/mcp-sitecore-linux:latest",
34+
"docker:linux:push": "docker push antonytm/mcp-sitecore-linux:1.3.0 && docker push antonytm/mcp-sitecore-linux:latest",
3435
"docker:linux": "npm run docker:linux:build && npm run docker:linux:push"
3536
},
3637
"dependencies": {

server.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",
3+
"name": "io.github.Antonytm/mcp-sitecore-server",
4+
"description": "A Model Context Protocol server for Sitecore",
5+
"status": "active",
6+
"repository": {
7+
"url": "https://github.com/Antonytm/mcp-sitecore-server",
8+
"source": "github"
9+
},
10+
"version": "1.3.0",
11+
"packages": [
12+
{
13+
"registry_type": "npm",
14+
"registry_base_url": "https://registry.npmjs.org",
15+
"identifier": "@antonytm/mcp-sitecore-server",
16+
"version": "1.3.0",
17+
"transport": {
18+
"type": "stdio"
19+
},
20+
"environment_variables": [
21+
{
22+
"TRANSPORT": "stdio",
23+
"GRAPHQL_ENDPOINT": "https://xmcloudcm.localhost/sitecore/api/graph/",
24+
"GRAPHQL_SCHEMAS": "edge,master,core",
25+
"GRAPHQL_API_KEY": "{6D3F291E-66A5-4703-887A-D549AF83D859}",
26+
"GRAPHQL_HEADERS": "",
27+
"ITEM_SERVICE_DOMAIN": "sitecore",
28+
"ITEM_SERVICE_USERNAME": "admin",
29+
"ITEM_SERVICE_PASSWORD": "b",
30+
"ITEM_SERVICE_SERVER_URL": "https://xmcloudcm.localhost/",
31+
"POWERSHELL_DOMAIN": "sitecore",
32+
"POWERSHELL_USERNAME": "admin",
33+
"POWERSHELL_PASSWORD": "b",
34+
"POWERSHELL_SERVER_URL": "https://xmcloudcm.localhost/",
35+
}
36+
]
37+
}
38+
]
39+
}

tests/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const transportOptions: TransportOptions = {
1616

1717
const client = new Client({
1818
name: "mcp-sitecore-server",
19-
version: "1.2.1",
19+
version: "1.3.0",
2020
});
2121

2222
const transport = createTransport(transportOptions);

0 commit comments

Comments
 (0)