@vibeuniv/mcp-server 0.3.7 → 0.3.8

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,47 +1,46 @@
1
- # @vibestack/mcp-server
1
+ # @vibeuniv/mcp-server
2
2
 
3
- VibeStack MCP Server - Sync your vibe-coded projects for tech stack analysis and learning.
3
+ VibeUniv MCP Server Sync your vibe-coded projects for tech stack analysis and personalized learning.
4
4
 
5
- ## What is VibeStack?
5
+ ## What is VibeUniv?
6
6
 
7
- VibeStack helps vibe coders understand and learn the tech stacks of projects they've built with AI coding tools. Connect your coding environment to VibeStack and get personalized learning paths based on your actual projects.
7
+ VibeUniv helps vibe coders understand and learn the tech stacks of projects they've built with AI coding tools. Connect your coding environment to VibeUniv and get personalized learning paths based on your actual projects.
8
8
 
9
- ## Installation
9
+ - **Website:** [vibeuniv.com](https://vibeuniv.com)
10
+ - **API Key:** [vibeuniv.com/settings/api](https://vibeuniv.com/settings/api)
10
11
 
11
- ### Using npx (Recommended)
12
+ ## Quick Start
12
13
 
13
- ```bash
14
- npx @vibestack/mcp-server
15
- ```
14
+ ### 1. Get your API key
16
15
 
17
- ### Global Install
16
+ Sign up at [vibeuniv.com](https://vibeuniv.com) and generate an API key at **Settings > API Keys**.
18
17
 
19
- ```bash
20
- npm install -g @vibestack/mcp-server
21
- vibestack-mcp
22
- ```
18
+ ### 2. Add to your AI tool
23
19
 
24
- ## Configuration
20
+ Choose your tool below and add the configuration.
25
21
 
26
- ### Environment Variables
22
+ ### 3. Restart your AI tool
27
23
 
28
- | Variable | Required | Default | Description |
29
- |----------|----------|---------|-------------|
30
- | `VIBESTACK_API_KEY` | Yes | - | Your VibeStack API key. Get it at [vibestack.io/settings/api](https://vibestack.io/settings/api) |
31
- | `VIBESTACK_API_URL` | No | `https://vibestack.io/api/v1` | API base URL (for self-hosted instances) |
24
+ Fully restart (not just reload) your AI tool after adding the config.
25
+
26
+ ### 4. Start using
27
+
28
+ Say to your AI: **"vibeuniv에 이 프로젝트를 연동해줘"** or **"Sync this project to VibeUniv"**
29
+
30
+ ## Configuration
32
31
 
33
32
  ### Claude Code
34
33
 
35
- Add to your Claude Code MCP settings (`~/.claude/settings.json`):
34
+ Add to `~/.claude.json`:
36
35
 
37
36
  ```json
38
37
  {
39
38
  "mcpServers": {
40
- "vibestack": {
39
+ "vibeuniv": {
41
40
  "command": "npx",
42
- "args": ["-y", "@vibestack/mcp-server"],
41
+ "args": ["-y", "@vibeuniv/mcp-server@latest"],
43
42
  "env": {
44
- "VIBESTACK_API_KEY": "your-api-key-here"
43
+ "VIBEUNIV_API_KEY": "your-api-key-here"
45
44
  }
46
45
  }
47
46
  }
@@ -50,16 +49,16 @@ Add to your Claude Code MCP settings (`~/.claude/settings.json`):
50
49
 
51
50
  ### Cursor
52
51
 
53
- Add to your Cursor MCP settings (`.cursor/mcp.json`):
52
+ Add to `~/.cursor/mcp.json`:
54
53
 
55
54
  ```json
56
55
  {
57
56
  "mcpServers": {
58
- "vibestack": {
57
+ "vibeuniv": {
59
58
  "command": "npx",
60
- "args": ["-y", "@vibestack/mcp-server"],
59
+ "args": ["-y", "@vibeuniv/mcp-server@latest"],
61
60
  "env": {
62
- "VIBESTACK_API_KEY": "your-api-key-here"
61
+ "VIBEUNIV_API_KEY": "your-api-key-here"
63
62
  }
64
63
  }
65
64
  }
@@ -68,16 +67,16 @@ Add to your Cursor MCP settings (`.cursor/mcp.json`):
68
67
 
69
68
  ### Windsurf
70
69
 
71
- Add to your Windsurf MCP settings (`~/.windsurf/mcp.json`):
70
+ Add to `~/.codeium/windsurf/mcp_config.json`:
72
71
 
73
72
  ```json
74
73
  {
75
74
  "mcpServers": {
76
- "vibestack": {
75
+ "vibeuniv": {
77
76
  "command": "npx",
78
- "args": ["-y", "@vibestack/mcp-server"],
77
+ "args": ["-y", "@vibeuniv/mcp-server@latest"],
79
78
  "env": {
80
- "VIBESTACK_API_KEY": "your-api-key-here"
79
+ "VIBEUNIV_API_KEY": "your-api-key-here"
81
80
  }
82
81
  }
83
82
  }
@@ -86,106 +85,140 @@ Add to your Windsurf MCP settings (`~/.windsurf/mcp.json`):
86
85
 
87
86
  ### Cline (VS Code)
88
87
 
89
- Add to Cline MCP settings:
88
+ Open **Cline > MCP Servers > Edit Config** and add:
90
89
 
91
90
  ```json
92
91
  {
93
92
  "mcpServers": {
94
- "vibestack": {
93
+ "vibeuniv": {
95
94
  "command": "npx",
96
- "args": ["-y", "@vibestack/mcp-server"],
95
+ "args": ["-y", "@vibeuniv/mcp-server@latest"],
97
96
  "env": {
98
- "VIBESTACK_API_KEY": "your-api-key-here"
97
+ "VIBEUNIV_API_KEY": "your-api-key-here"
99
98
  }
100
99
  }
101
100
  }
102
101
  }
103
102
  ```
104
103
 
105
- ## Available Tools
106
-
107
- ### vibestack_sync_project
104
+ ### Kimi Code CLI
108
105
 
109
- Sync your current project's tech stack files to VibeStack.
106
+ Add to `~/.kimi/mcp.json`:
110
107
 
111
- ```
112
- Input:
113
- - project_name (optional): Name for the project
114
- - description (optional): Short project description
108
+ ```json
109
+ {
110
+ "mcpServers": {
111
+ "vibeuniv": {
112
+ "command": "npx",
113
+ "args": ["-y", "@vibeuniv/mcp-server@latest"],
114
+ "env": {
115
+ "VIBEUNIV_API_KEY": "your-api-key-here"
116
+ }
117
+ }
118
+ }
119
+ }
115
120
  ```
116
121
 
117
- ### vibestack_upload_files
122
+ ### Gemini CLI
118
123
 
119
- Upload specific files for detailed analysis.
124
+ Add to `~/.gemini/settings.json`:
120
125
 
121
- ```
122
- Input:
123
- - project_id: Your VibeStack project ID
124
- - file_paths: Array of file paths to upload
126
+ ```json
127
+ {
128
+ "mcpServers": {
129
+ "vibeuniv": {
130
+ "command": "npx",
131
+ "args": ["-y", "@vibeuniv/mcp-server@latest"],
132
+ "env": {
133
+ "VIBEUNIV_API_KEY": "your-api-key-here"
134
+ }
135
+ }
136
+ }
137
+ }
125
138
  ```
126
139
 
127
- ### vibestack_analyze
140
+ ### OpenAI Codex
128
141
 
129
- Trigger AI analysis of your project's tech stack.
142
+ Add to `~/.codex/config.toml`:
130
143
 
131
- ```
132
- Input:
133
- - project_id: Your VibeStack project ID
144
+ ```toml
145
+ [mcp_servers.vibeuniv]
146
+ command = "npx"
147
+ args = ["-y", "@vibeuniv/mcp-server@latest"]
148
+
149
+ [mcp_servers.vibeuniv.env]
150
+ VIBEUNIV_API_KEY = "your-api-key-here"
134
151
  ```
135
152
 
136
- ### vibestack_get_learning
153
+ ### Fallback: Global Install
137
154
 
138
- Get personalized learning recommendations based on detected tech stack.
155
+ If `npx` doesn't work (corporate firewalls, etc.):
139
156
 
140
- ```
141
- Input:
142
- - project_id: Your VibeStack project ID
157
+ ```bash
158
+ npm install -g @vibeuniv/mcp-server
143
159
  ```
144
160
 
145
- ### vibestack_log_session
161
+ Then replace `"command": "npx", "args": ["-y", "@vibeuniv/mcp-server@latest"]` with `"command": "vibeuniv-mcp"`.
146
162
 
147
- Log a coding session summary for progress tracking.
163
+ ## Environment Variables
148
164
 
149
- ```
150
- Input:
151
- - project_id: Your VibeStack project ID
152
- - summary: Summary of the coding session
153
- - files_changed (optional): List of changed files
154
- ```
165
+ | Variable | Required | Default | Description |
166
+ |----------|----------|---------|-------------|
167
+ | `VIBEUNIV_API_KEY` | Yes | — | Your VibeUniv API key |
168
+ | `VIBEUNIV_API_URL` | No | `https://vibeuniv.com/api/v1` | API base URL |
155
169
 
156
- ### vibestack_ask_tutor
170
+ > Backward compatibility: `VIBESTACK_API_KEY` and `VIBESTACK_API_URL` still work.
157
171
 
158
- Ask the AI tutor questions about your project's tech stack.
172
+ ## Available Tools (13)
159
173
 
160
- ```
161
- Input:
162
- - project_id: Your VibeStack project ID
163
- - question: Your question about the tech stack
164
- ```
174
+ ### Project Setup
165
175
 
166
- ## Usage Example
176
+ | Tool | Description |
177
+ |------|-------------|
178
+ | `vibeuniv_sync_project` | Sync current project to VibeUniv (auto-detect files) |
179
+ | `vibeuniv_upload_files` | Upload specific files for analysis |
167
180
 
168
- 1. **Sync your project:** Ask your AI assistant to "sync this project to VibeStack"
169
- 2. **Analyze the stack:** "Analyze this project's tech stack on VibeStack"
170
- 3. **Get learning path:** "What should I learn about this project's tech stack?"
171
- 4. **Ask questions:** "Ask VibeStack tutor: How does Next.js App Router work?"
181
+ ### Tech Stack Analysis
172
182
 
173
- ## Development
183
+ | Tool | Description |
184
+ |------|-------------|
185
+ | `vibeuniv_analyze` | Trigger tech stack analysis (returns instructions for local AI) |
186
+ | `vibeuniv_submit_tech_stacks` | Submit locally-analyzed tech stack results |
187
+ | `vibeuniv_submit_analysis` | Submit educational analysis of the project |
174
188
 
175
- ```bash
176
- # Install dependencies
177
- npm install
189
+ ### Learning Curriculum
178
190
 
179
- # Run in development mode
180
- VIBESTACK_API_KEY=your-key npm run dev
191
+ | Tool | Description |
192
+ |------|-------------|
193
+ | `vibeuniv_generate_curriculum` | Generate curriculum structure (Pass 1 — structure only) |
194
+ | `vibeuniv_generate_module_content` | Generate module content (Pass 2 — per-module sections) |
195
+ | `vibeuniv_create_curriculum` | Create a draft curriculum on the server |
196
+ | `vibeuniv_submit_module` | Submit a single module (auto-activates on last module) |
197
+ | `vibeuniv_submit_curriculum` | Submit complete curriculum at once (legacy) |
198
+ | `vibeuniv_get_learning` | Get existing learning path for a project |
181
199
 
182
- # Build
183
- npm run build
200
+ ### AI Tutor & Sessions
201
+
202
+ | Tool | Description |
203
+ |------|-------------|
204
+ | `vibeuniv_ask_tutor` | Ask the AI tutor about your project's tech stack |
205
+ | `vibeuniv_log_session` | Log a coding session summary |
184
206
 
185
- # Test with MCP Inspector
186
- npx @modelcontextprotocol/inspector node dist/index.js
207
+ ## How It Works
208
+
209
+ ```
210
+ User: "커리큘럼 생성해줘"
211
+
212
+ AI → vibeuniv_generate_curriculum → curriculum structure (~2KB)
213
+ AI → vibeuniv_create_curriculum → draft learning path
214
+ AI → vibeuniv_generate_module_content × N → section instructions per module
215
+ AI → vibeuniv_submit_module × N → submit each module (~5KB each)
216
+
217
+ Curriculum auto-activates → Learn at vibeuniv.com
187
218
  ```
188
219
 
220
+ All heavy lifting (content generation) happens locally in your AI tool. The server stores results only — zero server-side LLM cost.
221
+
189
222
  ## Auto-detected Files
190
223
 
191
224
  The file scanner automatically detects:
@@ -195,6 +228,24 @@ The file scanner automatically detects:
195
228
  - **Config:** tsconfig.json, next.config.*, vite.config.*, Dockerfile, etc.
196
229
  - **Documentation:** README.md (first 50 lines)
197
230
 
231
+ ## FAQ
232
+
233
+ ### Does updating the package reset my API key?
234
+
235
+ **No.** Your API key is stored in your tool's config file (e.g., `~/.claude.json`), not in the npm package. Using `npx @vibeuniv/mcp-server@latest` always runs the latest version without touching your config.
236
+
237
+ ### Do I need to update manually?
238
+
239
+ If you use `npx -y @vibeuniv/mcp-server@latest`, updates are **automatic**. If you used `npm install -g`, run the install command again to update.
240
+
241
+ ## Development
242
+
243
+ ```bash
244
+ npm install
245
+ npm run build
246
+ VIBEUNIV_API_KEY=your-key npm run dev
247
+ ```
248
+
198
249
  ## License
199
250
 
200
251
  MIT
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import { registerCreateCurriculum } from "./tools/create-curriculum.js";
17
17
  import { registerSubmitModule } from "./tools/submit-module.js";
18
18
  import { registerGenerateModuleContent } from "./tools/generate-module-content.js";
19
19
  async function main() {
20
- console.error("[vibeuniv] Starting VibeUniv MCP Server v0.3.7...");
20
+ console.error("[vibeuniv] Starting VibeUniv MCP Server v0.3.8...");
21
21
  const config = loadConfig();
22
22
  const client = new VibeUnivClient(config.apiKey, config.apiUrl);
23
23
  if (config.apiKey) {
@@ -25,7 +25,7 @@ async function main() {
25
25
  }
26
26
  const server = new McpServer({
27
27
  name: "vibeuniv-mcp-server",
28
- version: "0.3.7",
28
+ version: "0.3.8",
29
29
  });
30
30
  registerSyncProject(server, client);
31
31
  registerUploadFiles(server, client);
@@ -31,7 +31,7 @@ export class VibeUnivClient {
31
31
  const headers = {
32
32
  Authorization: `Bearer ${this.apiKey}`,
33
33
  "Content-Type": "application/json",
34
- "User-Agent": "vibeuniv-mcp-server/0.3.7",
34
+ "User-Agent": "vibeuniv-mcp-server/0.3.8",
35
35
  };
36
36
  const response = await fetch(url, {
37
37
  method,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibeuniv/mcp-server",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "VibeUniv MCP Server - Sync your vibe-coded projects for tech stack analysis and learning",
5
5
  "type": "module",
6
6
  "bin": {