@venizia/ignis-docs 0.0.1-4 → 0.0.1-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/mcp-server/dist/common/config.d.ts +58 -21
- package/mcp-server/dist/common/config.d.ts.map +1 -1
- package/mcp-server/dist/common/config.js +67 -12
- package/mcp-server/dist/common/config.js.map +1 -1
- package/mcp-server/dist/helpers/docs.helper.d.ts +5 -5
- package/mcp-server/dist/helpers/docs.helper.d.ts.map +1 -1
- package/mcp-server/dist/helpers/docs.helper.js +31 -27
- package/mcp-server/dist/helpers/docs.helper.js.map +1 -1
- package/mcp-server/dist/helpers/github.helper.d.ts +37 -0
- package/mcp-server/dist/helpers/github.helper.d.ts.map +1 -0
- package/mcp-server/dist/helpers/github.helper.js +100 -0
- package/mcp-server/dist/helpers/github.helper.js.map +1 -0
- package/mcp-server/dist/helpers/index.d.ts +1 -0
- package/mcp-server/dist/helpers/index.d.ts.map +1 -1
- package/mcp-server/dist/helpers/index.js +1 -0
- package/mcp-server/dist/helpers/index.js.map +1 -1
- package/mcp-server/dist/index.js +60 -32
- package/mcp-server/dist/index.js.map +1 -1
- package/mcp-server/dist/tools/base.tool.d.ts +6 -10
- package/mcp-server/dist/tools/base.tool.d.ts.map +1 -1
- package/mcp-server/dist/tools/base.tool.js +3 -5
- package/mcp-server/dist/tools/base.tool.js.map +1 -1
- package/mcp-server/dist/tools/{get-doc-content.tool.d.ts → docs/get-document-content.tool.d.ts} +4 -4
- package/mcp-server/dist/tools/docs/get-document-content.tool.d.ts.map +1 -0
- package/mcp-server/dist/tools/{get-doc-content.tool.js → docs/get-document-content.tool.js} +12 -11
- package/mcp-server/dist/tools/docs/get-document-content.tool.js.map +1 -0
- package/mcp-server/dist/tools/{get-doc-metadata.tool.d.ts → docs/get-document-metadata.tool.d.ts} +4 -4
- package/mcp-server/dist/tools/docs/get-document-metadata.tool.d.ts.map +1 -0
- package/mcp-server/dist/tools/{get-doc-metadata.tool.js → docs/get-document-metadata.tool.js} +11 -10
- package/mcp-server/dist/tools/docs/get-document-metadata.tool.js.map +1 -0
- package/mcp-server/dist/tools/docs/get-package-overview.tool.d.ts +50 -0
- package/mcp-server/dist/tools/docs/get-package-overview.tool.d.ts.map +1 -0
- package/mcp-server/dist/tools/docs/get-package-overview.tool.js +221 -0
- package/mcp-server/dist/tools/docs/get-package-overview.tool.js.map +1 -0
- package/mcp-server/dist/tools/docs/index.d.ts +7 -0
- package/mcp-server/dist/tools/docs/index.d.ts.map +1 -0
- package/mcp-server/dist/tools/docs/index.js +23 -0
- package/mcp-server/dist/tools/docs/index.js.map +1 -0
- package/mcp-server/dist/tools/{list-categories.tool.d.ts → docs/list-categories.tool.d.ts} +2 -2
- package/mcp-server/dist/tools/docs/list-categories.tool.d.ts.map +1 -0
- package/mcp-server/dist/tools/{list-categories.tool.js → docs/list-categories.tool.js} +7 -6
- package/mcp-server/dist/tools/docs/list-categories.tool.js.map +1 -0
- package/mcp-server/dist/tools/{list-docs.tool.d.ts → docs/list-documents.tool.d.ts} +4 -4
- package/mcp-server/dist/tools/docs/list-documents.tool.d.ts.map +1 -0
- package/mcp-server/dist/tools/{list-docs.tool.js → docs/list-documents.tool.js} +10 -9
- package/mcp-server/dist/tools/docs/list-documents.tool.js.map +1 -0
- package/mcp-server/dist/tools/{search-docs.tool.d.ts → docs/search-documents.tool.d.ts} +4 -4
- package/mcp-server/dist/tools/docs/search-documents.tool.d.ts.map +1 -0
- package/mcp-server/dist/tools/{search-docs.tool.js → docs/search-documents.tool.js} +19 -18
- package/mcp-server/dist/tools/docs/search-documents.tool.js.map +1 -0
- package/mcp-server/dist/tools/github/index.d.ts +5 -0
- package/mcp-server/dist/tools/github/index.d.ts.map +1 -0
- package/mcp-server/dist/tools/github/index.js +21 -0
- package/mcp-server/dist/tools/github/index.js.map +1 -0
- package/mcp-server/dist/tools/github/list-project-files.tool.d.ts +28 -0
- package/mcp-server/dist/tools/github/list-project-files.tool.d.ts.map +1 -0
- package/mcp-server/dist/tools/github/list-project-files.tool.js +98 -0
- package/mcp-server/dist/tools/github/list-project-files.tool.js.map +1 -0
- package/mcp-server/dist/tools/github/search-code.tool.d.ts +42 -0
- package/mcp-server/dist/tools/github/search-code.tool.d.ts.map +1 -0
- package/mcp-server/dist/tools/github/search-code.tool.js +194 -0
- package/mcp-server/dist/tools/github/search-code.tool.js.map +1 -0
- package/mcp-server/dist/tools/github/verify-dependencies.tool.d.ts +55 -0
- package/mcp-server/dist/tools/github/verify-dependencies.tool.d.ts.map +1 -0
- package/mcp-server/dist/tools/github/verify-dependencies.tool.js +167 -0
- package/mcp-server/dist/tools/github/verify-dependencies.tool.js.map +1 -0
- package/mcp-server/dist/tools/github/view-source-file.tool.d.ts +26 -0
- package/mcp-server/dist/tools/github/view-source-file.tool.d.ts.map +1 -0
- package/mcp-server/dist/tools/github/view-source-file.tool.js +91 -0
- package/mcp-server/dist/tools/github/view-source-file.tool.js.map +1 -0
- package/mcp-server/dist/tools/index.d.ts +3 -7
- package/mcp-server/dist/tools/index.d.ts.map +1 -1
- package/mcp-server/dist/tools/index.js +17 -13
- package/mcp-server/dist/tools/index.js.map +1 -1
- package/package.json +22 -4
- package/wiki/get-started/best-practices/api-usage-examples.md +42 -0
- package/wiki/get-started/best-practices/architectural-patterns.md +42 -1
- package/wiki/get-started/best-practices/code-style-standards.md +41 -0
- package/wiki/get-started/best-practices/contribution-workflow.md +40 -6
- package/wiki/get-started/best-practices/data-modeling.md +126 -0
- package/wiki/get-started/core-concepts/dependency-injection.md +13 -1
- package/wiki/get-started/mcp-docs-server.md +130 -32
- package/wiki/get-started/philosophy.md +198 -25
- package/wiki/references/base/application.md +5 -5
- package/wiki/references/base/controllers.md +3 -1
- package/wiki/references/base/dependency-injection.md +6 -5
- package/wiki/references/helpers/inversion.md +21 -11
- package/wiki/references/src-details/core.md +15 -1
- package/wiki/references/src-details/docs.md +19 -9
- package/wiki/references/src-details/mcp-server.md +185 -234
- package/mcp-server/dist/tools/get-doc-content.tool.d.ts.map +0 -1
- package/mcp-server/dist/tools/get-doc-content.tool.js.map +0 -1
- package/mcp-server/dist/tools/get-doc-metadata.tool.d.ts.map +0 -1
- package/mcp-server/dist/tools/get-doc-metadata.tool.js.map +0 -1
- package/mcp-server/dist/tools/list-categories.tool.d.ts.map +0 -1
- package/mcp-server/dist/tools/list-categories.tool.js.map +0 -1
- package/mcp-server/dist/tools/list-docs.tool.d.ts.map +0 -1
- package/mcp-server/dist/tools/list-docs.tool.js.map +0 -1
- package/mcp-server/dist/tools/search-docs.tool.d.ts.map +0 -1
- package/mcp-server/dist/tools/search-docs.tool.js.map +0 -1
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
## What You'll Need
|
|
6
6
|
|
|
7
7
|
Before starting, ensure you have:
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
- **Bun** (recommended) or **Node.js** installed (for running the MCP server)
|
|
9
10
|
- **An AI tool** that supports MCP (Claude Code CLI, VS Code with MCP extensions, etc.)
|
|
10
11
|
|
|
11
12
|
## Quick Start (5 minutes)
|
|
@@ -14,37 +15,37 @@ Before starting, ensure you have:
|
|
|
14
15
|
|
|
15
16
|
Pick which AI assistant you're using:
|
|
16
17
|
|
|
17
|
-
| Tool
|
|
18
|
-
|
|
18
|
+
| Tool | Best For |
|
|
19
|
+
| ------------------------------------- | ---------------------------------------- |
|
|
19
20
|
| [Claude Code](#claude-code-cli-setup) | Terminal users, developers (Recommended) |
|
|
20
|
-
| [Gemini CLI](#gemini-cli-setup)
|
|
21
|
-
| [VS Code](#vs-code-setup)
|
|
22
|
-
| [Cursor](#cursor-setup)
|
|
23
|
-
| [Windsurf](#windsurf-setup)
|
|
24
|
-
| [JetBrains IDEs](#jetbrains-setup)
|
|
21
|
+
| [Gemini CLI](#gemini-cli-setup) | Google AI users |
|
|
22
|
+
| [VS Code](#vs-code-setup) | VS Code with MCP extensions |
|
|
23
|
+
| [Cursor](#cursor-setup) | AI-first code editor |
|
|
24
|
+
| [Windsurf](#windsurf-setup) | Codeium's AI editor |
|
|
25
|
+
| [JetBrains IDEs](#jetbrains-setup) | IntelliJ, PyCharm, WebStorm |
|
|
25
26
|
|
|
26
27
|
### Step 2: Install the MCP Server
|
|
27
28
|
|
|
28
29
|
Choose one installation method:
|
|
29
30
|
|
|
30
|
-
#### Option A:
|
|
31
|
+
#### Option A: Bun (Recommended)
|
|
31
32
|
|
|
32
33
|
```bash
|
|
33
34
|
# Global installation
|
|
34
|
-
|
|
35
|
+
bun add -g @venizia/ignis-docs
|
|
35
36
|
|
|
36
|
-
# Or
|
|
37
|
-
|
|
37
|
+
# Or run without installation
|
|
38
|
+
bun x -p @venizia/ignis-docs@latest ignis-docs-mcp
|
|
38
39
|
```
|
|
39
40
|
|
|
40
|
-
#### Option B:
|
|
41
|
+
#### Option B: NPM
|
|
41
42
|
|
|
42
43
|
```bash
|
|
43
44
|
# Global installation
|
|
44
|
-
|
|
45
|
+
npm install -g @venizia/ignis-docs
|
|
45
46
|
|
|
46
|
-
# Or use
|
|
47
|
-
|
|
47
|
+
# Or use npx (no installation needed)
|
|
48
|
+
npx -y @venizia/ignis-docs
|
|
48
49
|
```
|
|
49
50
|
|
|
50
51
|
#### Option C: Yarn
|
|
@@ -52,6 +53,9 @@ bunx @venizia/ignis-docs
|
|
|
52
53
|
```bash
|
|
53
54
|
# Global installation
|
|
54
55
|
yarn global add @venizia/ignis-docs
|
|
56
|
+
|
|
57
|
+
# Or use npx (no installation needed)
|
|
58
|
+
npx -y @venizia/ignis-docs
|
|
55
59
|
```
|
|
56
60
|
|
|
57
61
|
#### Option D: pnpm
|
|
@@ -59,6 +63,37 @@ yarn global add @venizia/ignis-docs
|
|
|
59
63
|
```bash
|
|
60
64
|
# Global installation
|
|
61
65
|
pnpm add -g @venizia/ignis-docs
|
|
66
|
+
|
|
67
|
+
# Or use pnpm dlx (no installation needed)
|
|
68
|
+
pnpm dlx @venizia/ignis-docs
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Branch Configuration (Optional)
|
|
72
|
+
|
|
73
|
+
By default, the MCP server fetches source code from the `main` branch. To use a different branch:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
# Global install - pass branch as argument
|
|
77
|
+
ignis-docs-mcp develop
|
|
78
|
+
|
|
79
|
+
# Using bun x
|
|
80
|
+
bun x -p @venizia/ignis-docs@latest ignis-docs-mcp develop
|
|
81
|
+
|
|
82
|
+
# Using npx
|
|
83
|
+
npx -y @venizia/ignis-docs develop
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
In your MCP config, add the branch as an argument:
|
|
87
|
+
|
|
88
|
+
```json
|
|
89
|
+
{
|
|
90
|
+
"mcpServers": {
|
|
91
|
+
"ignis-docs": {
|
|
92
|
+
"command": "bun",
|
|
93
|
+
"args": ["x", "-p", "@venizia/ignis-docs@latest", "ignis-docs-mcp"]
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
62
97
|
```
|
|
63
98
|
|
|
64
99
|
### Step 3: Configure Your AI Tool
|
|
@@ -72,6 +107,7 @@ Choose your tool below and follow the specific instructions.
|
|
|
72
107
|
### Prerequisites
|
|
73
108
|
|
|
74
109
|
1. **Install Claude Code CLI** (if not already installed):
|
|
110
|
+
|
|
75
111
|
```bash
|
|
76
112
|
# macOS/Linux
|
|
77
113
|
curl -fsSL https://code.claude.ai/install.sh | sh
|
|
@@ -126,11 +162,13 @@ Add this configuration:
|
|
|
126
162
|
**Option B: Using global install:**
|
|
127
163
|
|
|
128
164
|
First install globally:
|
|
165
|
+
|
|
129
166
|
```bash
|
|
130
167
|
npm install -g @venizia/ignis-docs
|
|
131
168
|
```
|
|
132
169
|
|
|
133
170
|
Then configure:
|
|
171
|
+
|
|
134
172
|
```json
|
|
135
173
|
{
|
|
136
174
|
"mcpServers": {
|
|
@@ -141,14 +179,27 @@ Then configure:
|
|
|
141
179
|
}
|
|
142
180
|
```
|
|
143
181
|
|
|
144
|
-
**Option C: Using
|
|
182
|
+
**Option C: Using bun x (Recommended):**
|
|
145
183
|
|
|
146
184
|
```json
|
|
147
185
|
{
|
|
148
186
|
"mcpServers": {
|
|
149
187
|
"ignis-docs": {
|
|
150
|
-
"command": "
|
|
151
|
-
"args": ["@venizia/ignis-docs"]
|
|
188
|
+
"command": "bun",
|
|
189
|
+
"args": ["x", "-p", "@venizia/ignis-docs@latest", "ignis-docs-mcp"]
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
**Option D: Using bun x with specific branch:**
|
|
196
|
+
|
|
197
|
+
```json
|
|
198
|
+
{
|
|
199
|
+
"mcpServers": {
|
|
200
|
+
"ignis-docs": {
|
|
201
|
+
"command": "bun",
|
|
202
|
+
"args": ["x", "-p", "@venizia/ignis-docs@latest", "ignis-docs-mcp", "develop"]
|
|
152
203
|
}
|
|
153
204
|
}
|
|
154
205
|
}
|
|
@@ -164,11 +215,13 @@ Can you search the Ignis docs for "dependency injection"?
|
|
|
164
215
|
```
|
|
165
216
|
|
|
166
217
|
**Expected behavior:**
|
|
218
|
+
|
|
167
219
|
- Claude Code should use the `searchDocs` tool
|
|
168
220
|
- You'll see a message like: `[Using tool: searchDocs]`
|
|
169
221
|
- Results from Ignis documentation appear
|
|
170
222
|
|
|
171
223
|
**If it doesn't work:**
|
|
224
|
+
|
|
172
225
|
- Check the config file has valid JSON: `cat ~/.config/claude-code/config.json | python -m json.tool`
|
|
173
226
|
- Check MCP server is accessible: `npx @venizia/ignis-docs` (should show "MCP Server running...")
|
|
174
227
|
- Check logs: `claude --debug` to see MCP initialization logs
|
|
@@ -198,6 +251,7 @@ Once working, try these queries:
|
|
|
198
251
|
### Prerequisites
|
|
199
252
|
|
|
200
253
|
1. **Install Google AI CLI tools:**
|
|
254
|
+
|
|
201
255
|
```bash
|
|
202
256
|
# Option 1: Using pip (Python)
|
|
203
257
|
pip install google-generativeai
|
|
@@ -240,6 +294,7 @@ mkdir -p ~/.config/gemini
|
|
|
240
294
|
Create `~/.config/gemini/mcp_servers.json`:
|
|
241
295
|
|
|
242
296
|
**Recommended: Using npx**
|
|
297
|
+
|
|
243
298
|
```json
|
|
244
299
|
{
|
|
245
300
|
"mcpServers": {
|
|
@@ -253,12 +308,14 @@ Create `~/.config/gemini/mcp_servers.json`:
|
|
|
253
308
|
```
|
|
254
309
|
|
|
255
310
|
**Alternative: Global install**
|
|
311
|
+
|
|
256
312
|
```bash
|
|
257
313
|
# First install globally
|
|
258
314
|
npm install -g @venizia/ignis-docs
|
|
259
315
|
```
|
|
260
316
|
|
|
261
317
|
Then configure:
|
|
318
|
+
|
|
262
319
|
```json
|
|
263
320
|
{
|
|
264
321
|
"mcpServers": {
|
|
@@ -288,12 +345,14 @@ npx @venizia/ignis-docs
|
|
|
288
345
|
**⚠️ Note:** MCP support in Gemini CLI is limited. Alternative approaches:
|
|
289
346
|
|
|
290
347
|
**Option A: Use Google AI Python SDK with custom MCP wrapper**
|
|
348
|
+
|
|
291
349
|
```python
|
|
292
350
|
# This requires writing custom integration code
|
|
293
351
|
# See: https://github.com/modelcontextprotocol/python-sdk
|
|
294
352
|
```
|
|
295
353
|
|
|
296
354
|
**Option B: Use via Claude Code CLI instead**
|
|
355
|
+
|
|
297
356
|
- Gemini CLI MCP support is experimental
|
|
298
357
|
- Claude Code has better MCP support out of the box
|
|
299
358
|
- Recommendation: Use [Claude Code CLI setup](#claude-code-cli-setup) for Ignis docs
|
|
@@ -301,11 +360,13 @@ npx @venizia/ignis-docs
|
|
|
301
360
|
#### Troubleshooting
|
|
302
361
|
|
|
303
362
|
**❌ "Command not found: gemini"**
|
|
363
|
+
|
|
304
364
|
- Google doesn't have an official "gemini" CLI command
|
|
305
365
|
- Use `gcloud ai` or Python SDK instead
|
|
306
366
|
- Consider using Claude Code CLI for better MCP support
|
|
307
367
|
|
|
308
368
|
**❌ MCP server not loading**
|
|
369
|
+
|
|
309
370
|
- Gemini CLI MCP support is experimental
|
|
310
371
|
- Check if your Gemini CLI version supports MCP:
|
|
311
372
|
```bash
|
|
@@ -323,6 +384,7 @@ VS Code supports MCP through various extensions. The setup process is similar to
|
|
|
323
384
|
### Prerequisites
|
|
324
385
|
|
|
325
386
|
Install an MCP-compatible extension from the VS Code marketplace:
|
|
387
|
+
|
|
326
388
|
- **[Continue](https://marketplace.visualstudio.com/items?itemName=Continue.continue)** - AI assistant with MCP support
|
|
327
389
|
- **[Cline](https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev)** - Claude-powered autonomous coding agent
|
|
328
390
|
- Or any other VS Code extension that supports the Model Context Protocol
|
|
@@ -332,14 +394,17 @@ Install an MCP-compatible extension from the VS Code marketplace:
|
|
|
332
394
|
The configuration location depends on which extension you're using:
|
|
333
395
|
|
|
334
396
|
**For Continue extension:**
|
|
397
|
+
|
|
335
398
|
- **macOS/Linux:** `~/.continue/config.json`
|
|
336
399
|
- **Windows:** `%USERPROFILE%\.continue\config.json`
|
|
337
400
|
|
|
338
401
|
**For Cline extension:**
|
|
402
|
+
|
|
339
403
|
- **macOS/Linux:** `~/.cline/config.json`
|
|
340
404
|
- **Windows:** `%USERPROFILE%\.cline\config.json`
|
|
341
405
|
|
|
342
406
|
**For other MCP extensions:**
|
|
407
|
+
|
|
343
408
|
- Check the extension's documentation for the config file location
|
|
344
409
|
|
|
345
410
|
### Add MCP Server Configuration
|
|
@@ -347,6 +412,7 @@ The configuration location depends on which extension you're using:
|
|
|
347
412
|
Open the config file for your extension and add the Ignis docs server:
|
|
348
413
|
|
|
349
414
|
**If you installed globally:**
|
|
415
|
+
|
|
350
416
|
```json
|
|
351
417
|
{
|
|
352
418
|
"mcpServers": {
|
|
@@ -358,6 +424,7 @@ Open the config file for your extension and add the Ignis docs server:
|
|
|
358
424
|
```
|
|
359
425
|
|
|
360
426
|
**If using npx (recommended for most users):**
|
|
427
|
+
|
|
361
428
|
```json
|
|
362
429
|
{
|
|
363
430
|
"mcpServers": {
|
|
@@ -369,13 +436,14 @@ Open the config file for your extension and add the Ignis docs server:
|
|
|
369
436
|
}
|
|
370
437
|
```
|
|
371
438
|
|
|
372
|
-
**If using
|
|
439
|
+
**If using bun x (Recommended):**
|
|
440
|
+
|
|
373
441
|
```json
|
|
374
442
|
{
|
|
375
443
|
"mcpServers": {
|
|
376
444
|
"ignis-docs": {
|
|
377
|
-
"command": "
|
|
378
|
-
"args": ["@venizia/ignis-docs"]
|
|
445
|
+
"command": "bun",
|
|
446
|
+
"args": ["x", "-p", "@venizia/ignis-docs@latest", "ignis-docs-mcp"]
|
|
379
447
|
}
|
|
380
448
|
}
|
|
381
449
|
}
|
|
@@ -388,6 +456,7 @@ Reload the window: `Cmd/Ctrl + Shift + P` → "Developer: Reload Window"
|
|
|
388
456
|
### Verify it's working
|
|
389
457
|
|
|
390
458
|
Open your AI assistant in VS Code and ask:
|
|
459
|
+
|
|
391
460
|
```
|
|
392
461
|
Can you search the Ignis docs for "dependency injection"?
|
|
393
462
|
```
|
|
@@ -397,6 +466,7 @@ The assistant should use the MCP tools to access and return documentation.
|
|
|
397
466
|
## Cursor Setup
|
|
398
467
|
|
|
399
468
|
### Prerequisites
|
|
469
|
+
|
|
400
470
|
- Install the MCP extension from Cursor's extension marketplace
|
|
401
471
|
|
|
402
472
|
### Configuration
|
|
@@ -418,11 +488,13 @@ The assistant should use the MCP tools to access and return documentation.
|
|
|
418
488
|
## Windsurf Setup
|
|
419
489
|
|
|
420
490
|
### Prerequisites
|
|
491
|
+
|
|
421
492
|
- Download and install [Windsurf](https://codeium.com/windsurf) by Codeium
|
|
422
493
|
|
|
423
494
|
### Configuration
|
|
424
495
|
|
|
425
496
|
**Config File:**
|
|
497
|
+
|
|
426
498
|
- **macOS:** `~/Library/Application Support/Windsurf/mcp_config.json`
|
|
427
499
|
- **Windows:** `%APPDATA%\Windsurf\mcp_config.json`
|
|
428
500
|
- **Linux:** `~/.config/Windsurf/mcp_config.json`
|
|
@@ -438,6 +510,7 @@ The assistant should use the MCP tools to access and return documentation.
|
|
|
438
510
|
```
|
|
439
511
|
|
|
440
512
|
**If using npx:**
|
|
513
|
+
|
|
441
514
|
```json
|
|
442
515
|
{
|
|
443
516
|
"mcpServers": {
|
|
@@ -454,12 +527,14 @@ The assistant should use the MCP tools to access and return documentation.
|
|
|
454
527
|
## JetBrains Setup
|
|
455
528
|
|
|
456
529
|
### Prerequisites
|
|
530
|
+
|
|
457
531
|
- IntelliJ IDEA, PyCharm, WebStorm, or any JetBrains IDE with AI Assistant plugin
|
|
458
532
|
- Install the [MCP Support Plugin](https://plugins.jetbrains.com/plugin/mcp-support) (check JetBrains marketplace)
|
|
459
533
|
|
|
460
534
|
### Configuration
|
|
461
535
|
|
|
462
536
|
**Config File Location:**
|
|
537
|
+
|
|
463
538
|
- **macOS:** `~/Library/Application Support/JetBrains/<IDE>/mcp_config.json`
|
|
464
539
|
- **Windows:** `%APPDATA%\JetBrains\<IDE>\mcp_config.json`
|
|
465
540
|
- **Linux:** `~/.config/JetBrains/<IDE>/mcp_config.json`
|
|
@@ -477,6 +552,7 @@ Replace `<IDE>` with your IDE name (e.g., `IntelliJIdea2024.1`, `PyCharm2024.1`)
|
|
|
477
552
|
```
|
|
478
553
|
|
|
479
554
|
**If using npx:**
|
|
555
|
+
|
|
480
556
|
```json
|
|
481
557
|
{
|
|
482
558
|
"mcpServers": {
|
|
@@ -495,6 +571,7 @@ Replace `<IDE>` with your IDE name (e.g., `IntelliJIdea2024.1`, `PyCharm2024.1`)
|
|
|
495
571
|
Once configured, you can ask your AI assistant:
|
|
496
572
|
|
|
497
573
|
### Example 1: Search Documentation
|
|
574
|
+
|
|
498
575
|
```
|
|
499
576
|
You: "How do I set up dependency injection in Ignis?"
|
|
500
577
|
AI: [Uses searchDocs tool, finds relevant pages]
|
|
@@ -502,6 +579,7 @@ AI: "Based on the Ignis documentation..."
|
|
|
502
579
|
```
|
|
503
580
|
|
|
504
581
|
### Example 2: Get Specific Guide
|
|
582
|
+
|
|
505
583
|
```
|
|
506
584
|
You: "Show me the full Quickstart guide"
|
|
507
585
|
AI: [Uses listDocs to find ID, then getDocContent]
|
|
@@ -509,6 +587,7 @@ AI: "Here's the complete Quickstart guide..."
|
|
|
509
587
|
```
|
|
510
588
|
|
|
511
589
|
### Example 3: Browse by Category
|
|
590
|
+
|
|
512
591
|
```
|
|
513
592
|
You: "What documentation is available for helpers?"
|
|
514
593
|
AI: [Uses listCategories, then listDocs with category filter]
|
|
@@ -545,30 +624,26 @@ bun run docs:mcp:dev
|
|
|
545
624
|
Use absolute paths in your config:
|
|
546
625
|
|
|
547
626
|
**macOS/Linux:**
|
|
627
|
+
|
|
548
628
|
```json
|
|
549
629
|
{
|
|
550
630
|
"mcpServers": {
|
|
551
631
|
"ignis-docs-dev": {
|
|
552
632
|
"command": "bun",
|
|
553
|
-
"args": [
|
|
554
|
-
"run",
|
|
555
|
-
"/absolute/path/to/ignis/packages/docs/mcp-server/index.ts"
|
|
556
|
-
]
|
|
633
|
+
"args": ["run", "/absolute/path/to/ignis/packages/docs/mcp-server/index.ts"]
|
|
557
634
|
}
|
|
558
635
|
}
|
|
559
636
|
}
|
|
560
637
|
```
|
|
561
638
|
|
|
562
639
|
**Windows:**
|
|
640
|
+
|
|
563
641
|
```json
|
|
564
642
|
{
|
|
565
643
|
"mcpServers": {
|
|
566
644
|
"ignis-docs-dev": {
|
|
567
645
|
"command": "bun",
|
|
568
|
-
"args": [
|
|
569
|
-
"run",
|
|
570
|
-
"C:\\absolute\\path\\to\\ignis\\packages\\docs\\mcp-server\\index.ts"
|
|
571
|
-
]
|
|
646
|
+
"args": ["run", "C:\\absolute\\path\\to\\ignis\\packages\\docs\\mcp-server\\index.ts"]
|
|
572
647
|
}
|
|
573
648
|
}
|
|
574
649
|
}
|
|
@@ -583,6 +658,7 @@ Use absolute paths in your config:
|
|
|
583
658
|
Before troubleshooting, run these quick tests:
|
|
584
659
|
|
|
585
660
|
**✅ Test 1: MCP server runs**
|
|
661
|
+
|
|
586
662
|
```bash
|
|
587
663
|
npx @venizia/ignis-docs
|
|
588
664
|
# Expected: "MCP Server listening on stdio..."
|
|
@@ -590,12 +666,14 @@ npx @venizia/ignis-docs
|
|
|
590
666
|
```
|
|
591
667
|
|
|
592
668
|
**✅ Test 2: Config file exists and is valid JSON**
|
|
669
|
+
|
|
593
670
|
```bash
|
|
594
671
|
# Claude Code:
|
|
595
672
|
cat ~/.config/claude-code/config.json | python -m json.tool
|
|
596
673
|
```
|
|
597
674
|
|
|
598
675
|
**✅ Test 3: AI tool recognizes MCP server**
|
|
676
|
+
|
|
599
677
|
- Restart your AI tool COMPLETELY (quit and reopen)
|
|
600
678
|
- Ask: `Can you search the Ignis docs for "controller"?`
|
|
601
679
|
- Look for: `[Using tool: searchDocs]`
|
|
@@ -613,6 +691,7 @@ cat ~/.config/claude-code/config.json | python -m json.tool
|
|
|
613
691
|
**Solutions (try in order):**
|
|
614
692
|
|
|
615
693
|
1. **Use npx instead** (recommended):
|
|
694
|
+
|
|
616
695
|
```json
|
|
617
696
|
{
|
|
618
697
|
"mcpServers": {
|
|
@@ -625,12 +704,14 @@ cat ~/.config/claude-code/config.json | python -m json.tool
|
|
|
625
704
|
```
|
|
626
705
|
|
|
627
706
|
2. **Check if installed:**
|
|
707
|
+
|
|
628
708
|
```bash
|
|
629
709
|
npm list -g @venizia/ignis-docs
|
|
630
710
|
# Should show: @venizia/ignis-docs@x.x.x
|
|
631
711
|
```
|
|
632
712
|
|
|
633
713
|
3. **Find executable location:**
|
|
714
|
+
|
|
634
715
|
```bash
|
|
635
716
|
# macOS/Linux:
|
|
636
717
|
which ignis-docs-mcp
|
|
@@ -653,6 +734,7 @@ cat ~/.config/claude-code/config.json | python -m json.tool
|
|
|
653
734
|
**Diagnosis:**
|
|
654
735
|
|
|
655
736
|
1. **Wrong config file location**
|
|
737
|
+
|
|
656
738
|
```bash
|
|
657
739
|
# Verify you edited the right file:
|
|
658
740
|
# Claude Code:
|
|
@@ -660,6 +742,7 @@ cat ~/.config/claude-code/config.json | python -m json.tool
|
|
|
660
742
|
```
|
|
661
743
|
|
|
662
744
|
2. **Invalid JSON syntax**
|
|
745
|
+
|
|
663
746
|
```bash
|
|
664
747
|
# Test JSON validity:
|
|
665
748
|
cat ~/.config/claude-code/config.json | python -m json.tool
|
|
@@ -667,6 +750,7 @@ cat ~/.config/claude-code/config.json | python -m json.tool
|
|
|
667
750
|
```
|
|
668
751
|
|
|
669
752
|
**Common JSON mistakes:**
|
|
753
|
+
|
|
670
754
|
```json
|
|
671
755
|
// ❌ WRONG: Missing comma
|
|
672
756
|
{
|
|
@@ -709,11 +793,13 @@ cat ~/.config/claude-code/config.json | python -m json.tool
|
|
|
709
793
|
**Solutions:**
|
|
710
794
|
|
|
711
795
|
1. **Update package:**
|
|
796
|
+
|
|
712
797
|
```bash
|
|
713
798
|
npm update -g @venizia/ignis-docs
|
|
714
799
|
```
|
|
715
800
|
|
|
716
801
|
2. **Clear cache and reinstall:**
|
|
802
|
+
|
|
717
803
|
```bash
|
|
718
804
|
npm cache clean --force
|
|
719
805
|
npm uninstall -g @venizia/ignis-docs
|
|
@@ -721,6 +807,7 @@ cat ~/.config/claude-code/config.json | python -m json.tool
|
|
|
721
807
|
```
|
|
722
808
|
|
|
723
809
|
3. **Check Node.js version:**
|
|
810
|
+
|
|
724
811
|
```bash
|
|
725
812
|
node --version
|
|
726
813
|
# Must be v18.0.0 or higher
|
|
@@ -728,7 +815,7 @@ cat ~/.config/claude-code/config.json | python -m json.tool
|
|
|
728
815
|
|
|
729
816
|
4. **Try Bun instead:**
|
|
730
817
|
```bash
|
|
731
|
-
|
|
818
|
+
bun x -p @venizia/ignis-docs@latest ignis-docs-mcp
|
|
732
819
|
```
|
|
733
820
|
|
|
734
821
|
---
|
|
@@ -738,6 +825,7 @@ cat ~/.config/claude-code/config.json | python -m json.tool
|
|
|
738
825
|
**When it happens:** First query is slow, subsequent queries are fast
|
|
739
826
|
|
|
740
827
|
**This is NORMAL!** Here's why:
|
|
828
|
+
|
|
741
829
|
- **First search:** Loads all docs into memory (~3-5 seconds)
|
|
742
830
|
- **Later searches:** Uses cache (~0.5 seconds)
|
|
743
831
|
|
|
@@ -773,14 +861,17 @@ EOF
|
|
|
773
861
|
If none of the above worked:
|
|
774
862
|
|
|
775
863
|
**1. Enable debug mode:**
|
|
864
|
+
|
|
776
865
|
```bash
|
|
777
866
|
DEBUG=1 npx @venizia/ignis-docs
|
|
778
867
|
```
|
|
779
868
|
|
|
780
869
|
**2. Check AI tool logs:**
|
|
870
|
+
|
|
781
871
|
- **Claude Code:** Run with `claude --debug`
|
|
782
872
|
|
|
783
873
|
**3. Test with minimal config:**
|
|
874
|
+
|
|
784
875
|
```json
|
|
785
876
|
{
|
|
786
877
|
"mcpServers": {
|
|
@@ -791,9 +882,11 @@ DEBUG=1 npx @venizia/ignis-docs
|
|
|
791
882
|
}
|
|
792
883
|
}
|
|
793
884
|
```
|
|
885
|
+
|
|
794
886
|
If this works, the issue is specific to `@venizia/ignis-docs`.
|
|
795
887
|
|
|
796
888
|
**4. Report the bug:**
|
|
889
|
+
|
|
797
890
|
- GitHub: https://github.com/venizia-ai/ignis/issues
|
|
798
891
|
- Include:
|
|
799
892
|
- OS and version
|
|
@@ -832,9 +925,14 @@ Yes! Add more servers to the `mcpServers` object in your config file.
|
|
|
832
925
|
### What's the difference between the tools?
|
|
833
926
|
|
|
834
927
|
| Tool | Use When |
|
|
835
|
-
|
|
928
|
+
| -------------------- | ----------------------------------------- |
|
|
836
929
|
| `searchDocs` | You know a keyword but not the page |
|
|
837
930
|
| `getDocContent` | You know the exact page you need |
|
|
838
931
|
| `listDocs` | You want to browse available docs |
|
|
839
932
|
| `listCategories` | You want to explore by topic |
|
|
840
933
|
| `getDocMetadata` | You need doc stats (length, last updated) |
|
|
934
|
+
| `getPackageOverview` | You want a summary of a package |
|
|
935
|
+
| `searchCode` | You want to search source code |
|
|
936
|
+
| `listProjectFiles` | You want to see the project structure |
|
|
937
|
+
| `viewSourceFile` | You want to read a source file |
|
|
938
|
+
| `verifyDependencies` | You want to check package dependencies |
|