@roottale/cms-mcp 0.22.0 → 0.23.0
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/CHANGELOG.md +9 -2
- package/dist/index.js +1 -1
- package/docs/getting-started.md +8 -0
- package/examples/nextjs/app/layout.tsx +19 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
# @roottale/cms-mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 0.23.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e927a42: 드라이런 검증에서 발견된 문서 갭 보완 — examples/nextjs 에 app/layout.tsx
|
|
8
|
+
추가(styles import 포함), getting-started 에 tsconfig `@/*` paths alias 안내 추가
|
|
9
|
+
|
|
10
|
+
> cms-\* linked 그룹과 버전을 함께 올린다. 변경 시 `pnpm changeset` 으로
|
|
4
11
|
> 업데이트 로그를 남기면 Version Packages PR 이 본 파일에 자동 반영한다.
|
|
5
12
|
|
|
6
13
|
## 0.22.0
|
|
7
14
|
|
|
8
|
-
- 최초 릴리스 — RootTale CMS 연동 MCP 서버 (stdio). cms
|
|
15
|
+
- 최초 릴리스 — RootTale CMS 연동 MCP 서버 (stdio). cms-\* 라인(renderer-next
|
|
9
16
|
0.22.0)에 버전 정렬.
|
|
10
17
|
- `blog.md`에 고정 페이지 렌더러 `RootTalePage` (renderer-next 0.22.0) 반영
|
|
11
18
|
- 통합 문서 번들 (`docs/`): 개요, 시작하기, 블로그, 발행 웹훅, 상담문의,
|
package/dist/index.js
CHANGED
|
@@ -256,7 +256,7 @@ function registerTools(server2) {
|
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
// src/server.ts
|
|
259
|
-
var VERSION = true ? "0.
|
|
259
|
+
var VERSION = true ? "0.23.0" : "dev";
|
|
260
260
|
var SERVER_INSTRUCTIONS = `
|
|
261
261
|
roottale-cms-mcp\uB294 RootTale CMS\uB97C \uC678\uBD80 \uC0AC\uC774\uD2B8(\uC8FC\uB85C Next.js)\uC5D0 \uC5F0\uB3D9\uD558\uAE30 \uC704\uD55C
|
|
262
262
|
\uD1B5\uD569 \uBB38\uC11C\xB7\uC608\uC2DC \uCF54\uB4DC\xB7\uACF5\uAC1C API \uC870\uD68C tool\uC744 \uC81C\uACF5\uD569\uB2C8\uB2E4.
|
package/docs/getting-started.md
CHANGED
|
@@ -53,6 +53,14 @@ pnpm add @roottale/cms-client @roottale/cms-renderer-next
|
|
|
53
53
|
import "@roottale/cms-renderer-next/styles";
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
예시 코드는 `@/lib/blog` 형태의 import를 사용합니다 — `create-next-app` 기본
|
|
57
|
+
설정이면 그대로 동작하고, tsconfig를 직접 구성했다면 paths alias가 필요합니다:
|
|
58
|
+
|
|
59
|
+
```jsonc
|
|
60
|
+
// tsconfig.json > compilerOptions
|
|
61
|
+
"paths": { "@/*": ["./*"] } // 또는 ["./src/*"]
|
|
62
|
+
```
|
|
63
|
+
|
|
56
64
|
## 4. 첫 조회 — 동작 확인
|
|
57
65
|
|
|
58
66
|
```ts
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// root layout — 렌더러 스타일은 여기서 1회 import (getting-started.md).
|
|
2
|
+
import "@roottale/cms-renderer-next/styles";
|
|
3
|
+
|
|
4
|
+
export const metadata = {
|
|
5
|
+
title: "예시 사이트",
|
|
6
|
+
description: "RootTale CMS 연동 예시",
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default function RootLayout({
|
|
10
|
+
children,
|
|
11
|
+
}: {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}) {
|
|
14
|
+
return (
|
|
15
|
+
<html lang="ko">
|
|
16
|
+
<body>{children}</body>
|
|
17
|
+
</html>
|
|
18
|
+
);
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roottale/cms-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "RootTale CMS integration MCP server — bundled integration docs, Next.js example code, and public API lookup tools. Run with: npx @roottale/cms-mcp",
|
|
6
6
|
"bin": {
|
|
@@ -14,12 +14,6 @@
|
|
|
14
14
|
"README.md",
|
|
15
15
|
"CHANGELOG.md"
|
|
16
16
|
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"build": "tsup",
|
|
19
|
-
"type-check": "tsc --noEmit",
|
|
20
|
-
"test": "vitest run --passWithNoTests",
|
|
21
|
-
"start": "node dist/index.js"
|
|
22
|
-
},
|
|
23
17
|
"dependencies": {
|
|
24
18
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
25
19
|
"zod": "^3.23.8"
|
|
@@ -46,5 +40,11 @@
|
|
|
46
40
|
"type": "git",
|
|
47
41
|
"url": "git+https://github.com/RootTale/roottale-platform.git",
|
|
48
42
|
"directory": "packages/cms-mcp"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsup",
|
|
46
|
+
"type-check": "tsc --noEmit",
|
|
47
|
+
"test": "vitest run --passWithNoTests",
|
|
48
|
+
"start": "node dist/index.js"
|
|
49
49
|
}
|
|
50
|
-
}
|
|
50
|
+
}
|