@maxisoft/instantcms-mcp 1.2.3 → 1.2.5
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/README.md
CHANGED
|
@@ -9,7 +9,7 @@ MCP-сервер и набор переносимых AI-workflows для раз
|
|
|
9
9
|
|
|
10
10
|
Сервер предоставляет структурированную базу API InstantCMS, безопасные генераторы, валидатор пакетов, диагностические инструменты и MCP resources. Runtime-данные синхронизированы с официальным репозиторием [`instantsoft/icms2`](https://github.com/instantsoft/icms2), последняя проверенная стабильная версия — **InstantCMS 2.18.2**.
|
|
11
11
|
|
|
12
|
-
Текущий релиз: [`v1.2.
|
|
12
|
+
Текущий релиз: [`v1.2.5`](https://github.com/instantcms-dev/instantcms-mcp/releases/tag/v1.2.5). MCP работает автономно: доступ к GitHub нужен только сопровождающим проекта для обновления базы знаний.
|
|
13
13
|
|
|
14
14
|
### Установка
|
|
15
15
|
|
|
@@ -17,11 +17,11 @@ MCP-сервер и набор переносимых AI-workflows для раз
|
|
|
17
17
|
npm install @maxisoft/instantcms-mcp
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
npm-пакет: `@maxisoft/instantcms-mcp`. Автоматическая публикация использует Trusted Publishing (GitHub Actions OIDC). Готовая сборка также доступна в GitHub Release ZIP:
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
curl -L -O https://github.com/instantcms-dev/instantcms-mcp/releases/download/v1.2.
|
|
24
|
-
unzip instantcms-mcp-v1.2.
|
|
23
|
+
curl -L -O https://github.com/instantcms-dev/instantcms-mcp/releases/download/v1.2.5/instantcms-mcp-v1.2.5.zip
|
|
24
|
+
unzip instantcms-mcp-v1.2.5.zip && cd instantcms-mcp-*/release
|
|
25
25
|
npm install --production
|
|
26
26
|
node dist/index.js
|
|
27
27
|
```
|
|
@@ -301,7 +301,9 @@ npm run build
|
|
|
301
301
|
|
|
302
302
|
Изменения в `main` принимаются через Pull Request. GitHub требует успешные `Build`, Node.js 18/20/22/24 и `InstantCMS upstream compatibility`, один approving review, разрешение обсуждений и линейную историю. Force-push и удаление `main` запрещены классической branch protection и repository ruleset `Protect main`.
|
|
303
303
|
|
|
304
|
-
Push тега `v*` запускает `.github/workflows/release.yml`:
|
|
304
|
+
Push тега `v*` или публикация GitHub Release запускает `.github/workflows/release.yml`: проверки, сборку, lint, создание ZIP и публикацию `@maxisoft/instantcms-mcp` в npm. Тег должен совпадать с версией в `package.json` и `package-lock.json`. Уже опубликованная версия пропускается; предварительные релизы публикуются с dist-tag `next`, стабильные — `latest`.
|
|
305
|
+
|
|
306
|
+
Публикация использует Node.js 24, npm 11 и Trusted Publishing без `NPM_TOKEN`. В настройках npm-пакета необходимо привязать GitHub repository `instantcms-dev/instantcms-mcp` и workflow filename **`release.yml`**, без пути `.github/workflows/`. Подробности и восстановление после ошибки: [NPM_TRUSTED_PUBLISHING_SETUP.md](NPM_TRUSTED_PUBLISHING_SETUP.md).
|
|
305
307
|
|
|
306
308
|
## Лицензия
|
|
307
309
|
|
|
@@ -27,7 +27,7 @@ describe('MCP integration', () => {
|
|
|
27
27
|
expect(listed.tools.some(tool => tool.name === 'scaffold_template_php_quality')).toBe(true);
|
|
28
28
|
expect(listed.tools).toHaveLength(100);
|
|
29
29
|
const result = await client.callTool({ name: 'get_server_capabilities', arguments: {} });
|
|
30
|
-
expect(result.structuredContent).toMatchObject({ server_version: '1.2.
|
|
30
|
+
expect(result.structuredContent).toMatchObject({ server_version: '1.2.5' });
|
|
31
31
|
}
|
|
32
32
|
finally {
|
|
33
33
|
await client.close();
|
|
@@ -88,7 +88,7 @@ const toolCatalog = [
|
|
|
88
88
|
];
|
|
89
89
|
function registerMetaTools(server) {
|
|
90
90
|
(0, define_tool_js_1.defineTool)(server, 'get_server_capabilities', 'Версии, профили и объём базы знаний MCP-сервера', {}, () => ({
|
|
91
|
-
server_version: '1.2.
|
|
91
|
+
server_version: '1.2.5',
|
|
92
92
|
tools_count: 100,
|
|
93
93
|
instantcms_profiles: version_profiles_js_1.instantCmsVersionProfiles,
|
|
94
94
|
knowledge: {
|
|
@@ -142,7 +142,7 @@ function registerMetaTools(server) {
|
|
|
142
142
|
(0, define_tool_js_1.defineTool)(server, 'compare_instantcms_versions', 'Сравнивает документированные профили InstantCMS', { from: zod_1.z.string(), to: zod_1.z.string() }, args => (0, version_profiles_js_1.compareVersionProfiles)(args.from, args.to));
|
|
143
143
|
(0, define_tool_js_1.defineTool)(server, 'get_project_health', 'Возвращает состояние встроенной базы и рекомендуемые проверки', {}, () => ({
|
|
144
144
|
status: 'ready',
|
|
145
|
-
server_version: '1.2.
|
|
145
|
+
server_version: '1.2.5',
|
|
146
146
|
tested_instantcms: '2.18.2',
|
|
147
147
|
checks: ['npm run check', 'npm run test:integration', 'npm run build', 'npm audit'],
|
|
148
148
|
}));
|
package/dist/server.js
CHANGED
|
@@ -15,7 +15,7 @@ const template_development_tools_js_1 = require("./registry/template-development
|
|
|
15
15
|
function createServer() {
|
|
16
16
|
const server = new mcp_js_1.McpServer({
|
|
17
17
|
name: 'instantcms-mcp',
|
|
18
|
-
version: '1.2.
|
|
18
|
+
version: '1.2.5',
|
|
19
19
|
description: 'MCP сервер для разработки дополнений и шаблонов InstantCMS 2',
|
|
20
20
|
});
|
|
21
21
|
(0, meta_tools_js_1.registerMetaTools)(server);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxisoft/instantcms-mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "MCP server and reusable AI workflows for InstantCMS 2 development",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -64,7 +64,8 @@
|
|
|
64
64
|
]
|
|
65
65
|
},
|
|
66
66
|
"publishConfig": {
|
|
67
|
-
"access": "public"
|
|
67
|
+
"access": "public",
|
|
68
|
+
"provenance": true
|
|
68
69
|
},
|
|
69
70
|
"dependencies": {
|
|
70
71
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
@@ -90,5 +91,9 @@
|
|
|
90
91
|
"tsx": "^4.23.12",
|
|
91
92
|
"typescript": "^5.9.3",
|
|
92
93
|
"typescript-eslint": "^8.68.0"
|
|
94
|
+
},
|
|
95
|
+
"repository": {
|
|
96
|
+
"type": "git",
|
|
97
|
+
"url": "git+https://github.com/instantcms-dev/instantcms-mcp.git"
|
|
93
98
|
}
|
|
94
99
|
}
|