@makitt.io/mds-mcp-server 0.1.1 → 0.1.3

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
@@ -1,9 +1,9 @@
1
1
  # @makitt.io/mds-mcp-server
2
2
 
3
3
  MCP (Model Context Protocol) server for `@makitt/mds`. AI 가 mds 의 catalog +
4
- playbook 을 자동 query — fabrication 0 최종 layer.
4
+ playbook 을 자동 query — fabrication 0 보장의 최종 layer.
5
5
 
6
- > **Registry**: npmjs.org (표준 public npm registry). `.npmrc` 별도 setup 없이 install.
6
+ > **Registry**: npmjs.org (표준 public npm registry). `.npmrc` 별도 setup 없이 install 가능.
7
7
 
8
8
  ## 무엇을 하는가
9
9
 
@@ -20,7 +20,7 @@ Claude Code / Cursor 같은 AI 도구가 다음을 자동 query:
20
20
  |---|---|
21
21
  | `mds_components_list` | 모든 mds 컴포넌트 list (layer 필터 가능) |
22
22
  | `mds_components_get` | 특정 컴포넌트의 full spec (props / types / JSDoc) |
23
- | `mds_components_search` | 컴포넌트 name / description / prop text search |
23
+ | `mds_components_search` | 컴포넌트 name / description / prop 대한 text search |
24
24
  | `mds_playbook_list` | 9 Playbook 영역 list |
25
25
  | `mds_playbook_get` | 특정 Playbook 의 full content (markdown) |
26
26
  | `mds_playbook_search` | 모든 Playbook 의 decision matrix / 안티패턴 text search |
@@ -85,7 +85,7 @@ pnpm build # tsc + scripts/copy-data.mjs
85
85
  - `tsc` — TypeScript compile (`dist/index.js`)
86
86
  - `copy-data.mjs` — `../mds/dist/catalog.json` + `../mds/docs/playbook/` 을 `dist/data/` 로 복사
87
87
 
88
- → self-contained package. `files: ["dist", "README.md"]` 가 npm publish 포함.
88
+ → self-contained package. `files: ["dist", "README.md"]` 가 npm publish 포함됨.
89
89
 
90
90
  ## Transport
91
91
 
@@ -93,11 +93,11 @@ stdio (Claude Code / Cursor 표준).
93
93
 
94
94
  ## Publish (maintainer 용)
95
95
 
96
- npm registry (`registry.npmjs.org`) `@makitt.io/mds-mcp-server` publish.
96
+ npm registry (`registry.npmjs.org`) `@makitt.io/mds-mcp-server` publish.
97
97
 
98
98
  ### 첫 setup — Granular Access Token (공용 계정 권장)
99
99
 
100
- 공용 npm 계정 (예: `techtaka-makitt`) publish 자동 — 매번 2FA OTP race 적합. **Granular Access Token + bypass 2FA** 1회 setup + 이후 publish 자동.
100
+ 공용 npm 계정 (예: `techtaka-makitt`) publish 흐름을 자동화 — 매번 2FA OTP race 에는 부적합. **Granular Access Token + bypass 2FA** 1회 setup 하면 이후 publish 자동.
101
101
 
102
102
  1. **token 생성** — https://www.npmjs.com/settings/<username>/tokens/granular-access-tokens/new
103
103
  - **Token name**: `mds-mcp-server publish` (또는 유의미한 라벨)
@@ -106,14 +106,14 @@ npm registry (`registry.npmjs.org`) 의 `@makitt.io/mds-mcp-server` 의 publish.
106
106
  - **Packages and scopes**:
107
107
  - "Only select packages and scopes" → **`@makitt.io`** scope 추가
108
108
  - Permissions: **Read and write**
109
- - **Bypass 2FA**: ✓ enable (publish OTP 필요)
110
- - Generate token → 값 복사 (한 표시)
111
- 2. **token 공용 vault share** — 1Password / LastPass / Bitwarden 등 team 공유 entry. 채팅 / 코드 직접 X
112
- 3. **각 maintainer 의 local setup** — `~/.npmrc` 직접 entry (또는 `npm config set`):
109
+ - **Bypass 2FA**: ✓ enable (publish OTP 요구하지 않음)
110
+ - Generate token → 값 복사 (한 번만 표시)
111
+ 2. **token 공용 vault share** — 1Password / LastPass / Bitwarden 등 team 공유 entry 에 보관. 채팅 / 코드에 직접 노출 금지
112
+ 3. **각 maintainer 의 local setup** — `~/.npmrc` 직접 entry 추가 (또는 `npm config set`):
113
113
  ```bash
114
114
  npm config set //registry.npmjs.org/:_authToken=<token>
115
115
  ```
116
- → `~/.npmrc` 추가. git ignore 됨 (사용자 home dir).
116
+ → `~/.npmrc` 추가됨. git ignore 됨 (사용자 home dir).
117
117
 
118
118
  ### Publish 흐름
119
119
 
@@ -121,7 +121,7 @@ npm registry (`registry.npmjs.org`) 의 `@makitt.io/mds-mcp-server` 의 publish.
121
121
  cd packages/mds-mcp-server
122
122
  pnpm build # tsc + copy-data (catalog.json + playbook md → dist/data/)
123
123
  npm publish --dry-run # tarball 검증 (file list / size / name / version)
124
- npm publish # 실제 publish (bypass 2FA token 자동)
124
+ npm publish # 실제 publish (bypass 2FA token 으로 자동 처리)
125
125
  ```
126
126
 
127
127
  ### Version bump
@@ -136,14 +136,14 @@ npm version major # 0.1.0 → 1.0.0 (breaking)
136
136
 
137
137
  ### 보안
138
138
 
139
- - ❌ token 채팅 / git commit / chat log leak — 즉시 npmjs.com settings **Revoke**
139
+ - ❌ token 채팅 / git commit / chat log 등으로 leak — 즉시 npmjs.com settings 에서 **Revoke**
140
140
  - ❌ 무한 expiration token — 1 year 이내
141
- - ❌ "Read and write" 모든 scope — `@makitt.io` specific scope 만
142
- - ✓ Bypass 2FA enable — 공용 계정 publish OTP race 의 안
141
+ - ❌ "Read and write" 모든 scope 허용 — `@makitt.io` specific scope 만 허용
142
+ - ✓ Bypass 2FA enable — 공용 계정 publish OTP race 방지
143
143
 
144
144
  ## 향후 (Step 6 follow-up)
145
145
 
146
146
  - `mds_lint_check(code)` — 사용자 코드의 mds rule 위반 자동 검출
147
- - `mds_skills_list` — AI fill skill registry (ai-fill.md)
147
+ - `mds_skills_list` — AI fill skill registry (ai-fill.md)
148
148
  - `mds_responsive_check(component, viewport)` — 컴포넌트의 responsive 동작 spec
149
- - `mds_examples_get(component)` — 컴포넌트 사용 예 (story args + apps/web 실 사용 모음)
149
+ - `mds_examples_get(component)` — 컴포넌트 사용 예 (story args + apps/web 실 사용 모음)