@qazuor/claude-code-config 0.1.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.
Files changed (171) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1248 -0
  3. package/dist/bin.cjs +11886 -0
  4. package/dist/bin.cjs.map +1 -0
  5. package/dist/bin.d.cts +1 -0
  6. package/dist/bin.d.ts +1 -0
  7. package/dist/bin.js +11869 -0
  8. package/dist/bin.js.map +1 -0
  9. package/dist/index.cjs +3887 -0
  10. package/dist/index.cjs.map +1 -0
  11. package/dist/index.d.cts +1325 -0
  12. package/dist/index.d.ts +1325 -0
  13. package/dist/index.js +3835 -0
  14. package/dist/index.js.map +1 -0
  15. package/package.json +86 -0
  16. package/templates/.log/notifications.log +1775 -0
  17. package/templates/agents/README.md +164 -0
  18. package/templates/agents/_registry.json +443 -0
  19. package/templates/agents/design/content-writer.md +353 -0
  20. package/templates/agents/design/ux-ui-designer.md +382 -0
  21. package/templates/agents/engineering/astro-engineer.md +293 -0
  22. package/templates/agents/engineering/db-drizzle-engineer.md +360 -0
  23. package/templates/agents/engineering/express-engineer.md +316 -0
  24. package/templates/agents/engineering/fastify-engineer.md +399 -0
  25. package/templates/agents/engineering/hono-engineer.md +263 -0
  26. package/templates/agents/engineering/mongoose-engineer.md +473 -0
  27. package/templates/agents/engineering/nestjs-engineer.md +429 -0
  28. package/templates/agents/engineering/nextjs-engineer.md +451 -0
  29. package/templates/agents/engineering/node-typescript-engineer.md +347 -0
  30. package/templates/agents/engineering/prisma-engineer.md +432 -0
  31. package/templates/agents/engineering/react-senior-dev.md +394 -0
  32. package/templates/agents/engineering/tanstack-start-engineer.md +447 -0
  33. package/templates/agents/engineering/tech-lead.md +269 -0
  34. package/templates/agents/product/product-functional.md +329 -0
  35. package/templates/agents/product/product-technical.md +578 -0
  36. package/templates/agents/quality/debugger.md +514 -0
  37. package/templates/agents/quality/qa-engineer.md +390 -0
  38. package/templates/agents/specialized/enrichment-agent.md +277 -0
  39. package/templates/agents/specialized/i18n-specialist.md +322 -0
  40. package/templates/agents/specialized/seo-ai-specialist.md +387 -0
  41. package/templates/agents/specialized/tech-writer.md +300 -0
  42. package/templates/code-style/.editorconfig +27 -0
  43. package/templates/code-style/.prettierignore +25 -0
  44. package/templates/code-style/.prettierrc +12 -0
  45. package/templates/code-style/biome.json +78 -0
  46. package/templates/code-style/commitlint.config.js +44 -0
  47. package/templates/commands/README.md +175 -0
  48. package/templates/commands/_registry.json +420 -0
  49. package/templates/commands/add-new-entity.md +211 -0
  50. package/templates/commands/audit/accessibility-audit.md +360 -0
  51. package/templates/commands/audit/performance-audit.md +290 -0
  52. package/templates/commands/audit/security-audit.md +231 -0
  53. package/templates/commands/code-check.md +127 -0
  54. package/templates/commands/five-why.md +225 -0
  55. package/templates/commands/formatting/format-markdown.md +197 -0
  56. package/templates/commands/git/commit.md +247 -0
  57. package/templates/commands/meta/create-agent.md +257 -0
  58. package/templates/commands/meta/create-command.md +312 -0
  59. package/templates/commands/meta/create-skill.md +321 -0
  60. package/templates/commands/meta/help.md +318 -0
  61. package/templates/commands/planning/check-completed-tasks.md +224 -0
  62. package/templates/commands/planning/cleanup-issues.md +248 -0
  63. package/templates/commands/planning/planning-cleanup.md +251 -0
  64. package/templates/commands/planning/sync-planning-github.md +133 -0
  65. package/templates/commands/planning/sync-todos-github.md +203 -0
  66. package/templates/commands/quality-check.md +211 -0
  67. package/templates/commands/run-tests.md +159 -0
  68. package/templates/commands/start-feature-plan.md +232 -0
  69. package/templates/commands/start-refactor-plan.md +244 -0
  70. package/templates/commands/sync-planning.md +176 -0
  71. package/templates/commands/update-docs.md +242 -0
  72. package/templates/docs/CHECKPOINT-SYSTEM.md +504 -0
  73. package/templates/docs/INDEX.md +677 -0
  74. package/templates/docs/RECOMMENDED-HOOKS.md +415 -0
  75. package/templates/docs/_registry.json +329 -0
  76. package/templates/docs/diagrams/README.md +220 -0
  77. package/templates/docs/diagrams/agent-hierarchy.mmd +55 -0
  78. package/templates/docs/diagrams/documentation-map.mmd +61 -0
  79. package/templates/docs/diagrams/tools-relationship.mmd +55 -0
  80. package/templates/docs/diagrams/workflow-decision-tree.mmd +38 -0
  81. package/templates/docs/doc-sync.md +533 -0
  82. package/templates/docs/examples/end-to-end-workflow.md +1505 -0
  83. package/templates/docs/glossary.md +495 -0
  84. package/templates/docs/guides/mockup-prompt-engineering.md +644 -0
  85. package/templates/docs/guides/mockup-setup.md +737 -0
  86. package/templates/docs/learnings/README.md +250 -0
  87. package/templates/docs/learnings/common-architectural-patterns.md +123 -0
  88. package/templates/docs/learnings/common-mistakes-to-avoid.md +149 -0
  89. package/templates/docs/learnings/markdown-formatting-standards.md +104 -0
  90. package/templates/docs/learnings/monorepo-command-execution.md +64 -0
  91. package/templates/docs/learnings/optimization-tips.md +146 -0
  92. package/templates/docs/learnings/planning-linear-sync-workflow.md +70 -0
  93. package/templates/docs/learnings/shell-compatibility-fish.md +46 -0
  94. package/templates/docs/learnings/test-organization-structure.md +68 -0
  95. package/templates/docs/mcp-installation.md +613 -0
  96. package/templates/docs/mcp-servers.md +989 -0
  97. package/templates/docs/notification-installation.md +570 -0
  98. package/templates/docs/quick-start.md +354 -0
  99. package/templates/docs/standards/architecture-patterns.md +1064 -0
  100. package/templates/docs/standards/atomic-commits.md +513 -0
  101. package/templates/docs/standards/code-standards.md +993 -0
  102. package/templates/docs/standards/design-standards.md +656 -0
  103. package/templates/docs/standards/documentation-standards.md +1160 -0
  104. package/templates/docs/standards/testing-standards.md +969 -0
  105. package/templates/docs/system-maintenance.md +604 -0
  106. package/templates/docs/templates/PDR-template.md +561 -0
  107. package/templates/docs/templates/TODOs-template.md +534 -0
  108. package/templates/docs/templates/tech-analysis-template.md +800 -0
  109. package/templates/docs/workflows/README.md +519 -0
  110. package/templates/docs/workflows/atomic-task-protocol.md +955 -0
  111. package/templates/docs/workflows/decision-tree.md +482 -0
  112. package/templates/docs/workflows/edge-cases.md +856 -0
  113. package/templates/docs/workflows/phase-1-planning.md +957 -0
  114. package/templates/docs/workflows/phase-2-implementation.md +896 -0
  115. package/templates/docs/workflows/phase-3-validation.md +792 -0
  116. package/templates/docs/workflows/phase-4-finalization.md +927 -0
  117. package/templates/docs/workflows/quick-fix-protocol.md +505 -0
  118. package/templates/docs/workflows/task-atomization.md +537 -0
  119. package/templates/docs/workflows/task-completion-protocol.md +448 -0
  120. package/templates/hooks/on-notification.sh +28 -0
  121. package/templates/schemas/checkpoint.schema.json +97 -0
  122. package/templates/schemas/code-registry.schema.json +84 -0
  123. package/templates/schemas/pdr.schema.json +314 -0
  124. package/templates/schemas/problems.schema.json +55 -0
  125. package/templates/schemas/tech-analysis.schema.json +404 -0
  126. package/templates/schemas/telemetry.schema.json +298 -0
  127. package/templates/schemas/todos.schema.json +234 -0
  128. package/templates/schemas/workflows.schema.json +69 -0
  129. package/templates/scripts/add-changelogs.sh +105 -0
  130. package/templates/scripts/generate-code-registry.ts +270 -0
  131. package/templates/scripts/health-check.sh +343 -0
  132. package/templates/scripts/sync-registry.sh +40 -0
  133. package/templates/scripts/telemetry-report.ts +36 -0
  134. package/templates/scripts/validate-docs.sh +224 -0
  135. package/templates/scripts/validate-registry.sh +225 -0
  136. package/templates/scripts/validate-schemas.ts +283 -0
  137. package/templates/scripts/validate-structure.sh +165 -0
  138. package/templates/scripts/worktree-cleanup.sh +81 -0
  139. package/templates/scripts/worktree-create.sh +63 -0
  140. package/templates/sessions/planning/.gitkeep +0 -0
  141. package/templates/sessions/planning/archived/.gitkeep +0 -0
  142. package/templates/settings.json +202 -0
  143. package/templates/settings.local.json +138 -0
  144. package/templates/skills/README.md +197 -0
  145. package/templates/skills/_registry.json +473 -0
  146. package/templates/skills/audit/accessibility-audit.md +309 -0
  147. package/templates/skills/audit/performance-audit.md +257 -0
  148. package/templates/skills/audit/security-audit.md +217 -0
  149. package/templates/skills/auth/nextauth-patterns.md +308 -0
  150. package/templates/skills/brand-guidelines.md +240 -0
  151. package/templates/skills/documentation/markdown-formatter.md +302 -0
  152. package/templates/skills/git/git-commit-helper.md +321 -0
  153. package/templates/skills/i18n/i18n-patterns.md +251 -0
  154. package/templates/skills/patterns/error-handling-patterns.md +242 -0
  155. package/templates/skills/patterns/tdd-methodology.md +342 -0
  156. package/templates/skills/qa/qa-criteria-validator.md +383 -0
  157. package/templates/skills/qa/web-app-testing.md +398 -0
  158. package/templates/skills/react/react-hook-form-patterns.md +359 -0
  159. package/templates/skills/state/redux-toolkit-patterns.md +272 -0
  160. package/templates/skills/state/tanstack-query-patterns.md +299 -0
  161. package/templates/skills/state/zustand-patterns.md +301 -0
  162. package/templates/skills/tech/mermaid-diagram-specialist.md +195 -0
  163. package/templates/skills/tech/shadcn-specialist.md +252 -0
  164. package/templates/skills/tech/vercel-specialist.md +297 -0
  165. package/templates/skills/testing/api-app-testing.md +254 -0
  166. package/templates/skills/testing/performance-testing.md +275 -0
  167. package/templates/skills/testing/security-testing.md +348 -0
  168. package/templates/skills/utils/add-memory.md +295 -0
  169. package/templates/skills/utils/json-data-auditor.md +283 -0
  170. package/templates/skills/utils/pdf-creator-editor.md +342 -0
  171. package/templates/tools/format-markdown.sh +185 -0
@@ -0,0 +1,613 @@
1
+ # MCP Servers Installation Guide
2
+
3
+ Complete guide for installing and configuring Model Context Protocol (MCP) servers for the project.
4
+
5
+ ---
6
+
7
+ ## Table of Contents
8
+
9
+ 1. [Overview](#overview)
10
+ 2. [Prerequisites](#prerequisites)
11
+ 3. [Official HTTP MCPs](#official-http-mcps)
12
+ 4. [Local STDIO MCPs](#local-stdio-mcps)
13
+ 5. [Configuration](#configuration)
14
+ 6. [Troubleshooting](#troubleshooting)
15
+ 7. [Related Documentation](#related-documentation)
16
+
17
+ ---
18
+
19
+ ## Overview
20
+
21
+ MCP servers extend Claude Code's capabilities by providing specialized integrations for:
22
+
23
+ - Documentation and code analysis
24
+ - Project management and issue tracking
25
+ - Database operations
26
+ - Deployment and monitoring
27
+ - Security scanning
28
+ - Translation and localization
29
+
30
+ **Installation Methods:**
31
+
32
+ - **HTTP MCPs**: Remote servers (via `claude mcp add`)
33
+ - **STDIO MCPs**: Local processes (via `claude mcp add-json`)
34
+
35
+ ---
36
+
37
+ ## Prerequisites
38
+
39
+ Before installing MCP servers, ensure you have:
40
+
41
+ - [x] Claude Code CLI installed
42
+ - [x] Node.js ≥18 (for STDIO servers)
43
+ - [x] Python ≥3.8 (for Python-based servers)
44
+ - [x] API keys for relevant services
45
+
46
+ **Verify installation:**
47
+
48
+ ```bash
49
+ node --version # Should be ≥18
50
+ python3 --version # Should be ≥3.8
51
+ claude --version # Should show Claude Code version
52
+ ```
53
+
54
+ ---
55
+
56
+ ## Official HTTP MCPs
57
+
58
+ These servers run remotely and are accessed via HTTP. Requires internet connection.
59
+
60
+ ### Context7 – Live Documentation
61
+
62
+ **Purpose:** Fetch up-to-date library documentation and code examples
63
+
64
+ ```bash
65
+ claude mcp add --transport http context7 https://mcp.context7.com/mcp \
66
+ --header "CONTEXT7_API_KEY: <YOUR_CONTEXT7_API_KEY>"
67
+ ```
68
+
69
+ **Requirements:**
70
+
71
+ - Context7 API key from [context7.com](https://context7.com)
72
+
73
+ **Usage:**
74
+
75
+ - Get docs for any library: `mcp__context7__get-library-docs`
76
+ - Resolve library IDs: `mcp__context7__resolve-library-id`
77
+
78
+ ---
79
+
80
+ ### Linear – Task and Issue Tracking (Available but not used)
81
+
82
+ **Purpose:** Linear MCP server for issue tracking
83
+
84
+ **Note:** This project uses GitHub for issue tracking and planning sync, not Linear. Linear MCP is available but not actively used.
85
+
86
+ ```bash
87
+ claude mcp add --transport http linear https://mcp.linear.app/mcp
88
+ ```
89
+
90
+ **Requirements:**
91
+
92
+ - Linear workspace and OAuth authentication
93
+
94
+ **Usage:**
95
+
96
+ - Issue tracking and project management
97
+ - Team collaboration
98
+
99
+ ---
100
+
101
+ ### GitHub – Repository Integration
102
+
103
+ **Purpose:** Manage GitHub repositories, PRs, and issues
104
+
105
+ ```bash
106
+ claude mcp add --transport http github https://api.githubcopilot.com/mcp/
107
+ ```
108
+
109
+ **Requirements:**
110
+
111
+ - GitHub account with repository access
112
+
113
+ **Usage:**
114
+
115
+ - Create and manage PRs
116
+ - Sync issues
117
+ - Repository operations
118
+
119
+ ---
120
+
121
+ ### Mercado Pago – Payment Processing
122
+
123
+ **Purpose:** Handle payment integrations for project platform
124
+
125
+ ```bash
126
+ claude mcp add --transport http mercadopago https://mcp.mercadopago.com/mcp \
127
+ --header "Authorization: Bearer <YOUR_ACCESS_TOKEN>"
128
+ ```
129
+
130
+ **Requirements:**
131
+
132
+ - Mercado Pago account and access token
133
+
134
+ **Usage:**
135
+
136
+ - Process payments
137
+ - Manage subscriptions
138
+ - Handle webhooks
139
+
140
+ **Documentation:** Use `mcp__mercadopago__search_documentation`
141
+
142
+ ---
143
+
144
+ ### Sentry – Error Monitoring
145
+
146
+ **Purpose:** Production error tracking and monitoring
147
+
148
+ ```bash
149
+ claude mcp add --transport http sentry https://mcp.sentry.dev/mcp
150
+ ```
151
+
152
+ **Requirements:**
153
+
154
+ - Sentry account and project
155
+
156
+ **Usage:**
157
+
158
+ - Query error reports
159
+ - Analyze stack traces
160
+ - Track performance issues
161
+
162
+ ---
163
+
164
+ ### Vercel – Deployment Management
165
+
166
+ **Purpose:** Manage Vercel deployments and projects
167
+
168
+ ```bash
169
+ claude mcp add --transport http vercel https://mcp.vercel.com/
170
+ ```
171
+
172
+ **Requirements:**
173
+
174
+ - Vercel account with project access
175
+
176
+ **Usage:**
177
+
178
+ - Deploy applications
179
+ - Manage environment variables
180
+ - Monitor deployments
181
+
182
+ ---
183
+
184
+ ### Neon – Cloud PostgreSQL
185
+
186
+ **Purpose:** Manage Neon PostgreSQL databases and branches
187
+
188
+ ```bash
189
+ claude mcp add --transport http neon https://mcp.neon.tech/mcp \
190
+ --header "Authorization: Bearer <YOUR_NEON_API_KEY>"
191
+ ```
192
+
193
+ **Requirements:**
194
+
195
+ - Neon account and API key
196
+
197
+ **Usage:**
198
+
199
+ - Create database branches
200
+ - Run SQL queries
201
+ - Manage migrations
202
+ - Performance tuning
203
+
204
+ **Key Features:**
205
+
206
+ - Database branching for development
207
+ - Automated schema migrations
208
+ - Query optimization suggestions
209
+
210
+ ---
211
+
212
+ ### Socket – Dependency Security
213
+
214
+ **Purpose:** Analyze npm dependencies for security vulnerabilities
215
+
216
+ ```bash
217
+ claude mcp add --transport http socket https://mcp.socket.dev/
218
+ ```
219
+
220
+ **Requirements:**
221
+
222
+ - Socket.dev account (free tier available)
223
+
224
+ **Usage:**
225
+
226
+ - Scan dependencies: `mcp__socket__depscore`
227
+ - Identify vulnerabilities
228
+ - Check package quality
229
+
230
+ ---
231
+
232
+ ### Cloudflare Docs – Integration Tools
233
+
234
+ **Purpose:** Cloudflare documentation and integration
235
+
236
+ ```bash
237
+ claude mcp add --transport http cloudflare-docs https://docs.mcp.cloudflare.com/mcp
238
+ ```
239
+
240
+ **Requirements:**
241
+
242
+ - Cloudflare account (OAuth)
243
+
244
+ **Usage:**
245
+
246
+ - Search Cloudflare documentation
247
+ - Configure Workers, Pages, R2, D1
248
+
249
+ ---
250
+
251
+ ### DeepL – Translation Services
252
+
253
+ **Purpose:** Professional translation for i18n/localization
254
+
255
+ ```bash
256
+ claude mcp add --transport http deepl https://mcp.deepl.com/mcp \
257
+ --header "Authorization: Bearer <YOUR_DEEPL_API_KEY>"
258
+ ```
259
+
260
+ **Requirements:**
261
+
262
+ - DeepL API key from [deepl.com/pro-account/keys](https://www.deepl.com/pro-account/keys)
263
+
264
+ **Usage:**
265
+
266
+ - Translate strings and files
267
+ - Support i18n workflows
268
+ - Multiple language pairs
269
+
270
+ ---
271
+
272
+ ## Local STDIO MCPs
273
+
274
+ These servers run locally as processes. No internet required for operation.
275
+
276
+ ### Docker – Container Management
277
+
278
+ **Purpose:** Control Docker containers locally
279
+
280
+ ```bash
281
+ claude mcp add-json docker '{
282
+ "type": "stdio",
283
+ "command": "npx",
284
+ "args": ["-y", "@docker/mcp-server"]
285
+ }'
286
+ ```
287
+
288
+ **Requirements:**
289
+
290
+ - Docker installed and running
291
+
292
+ **Usage:**
293
+
294
+ - Manage containers
295
+ - Build images
296
+ - Docker Compose operations
297
+
298
+ ---
299
+
300
+ ### Git – Repository Operations
301
+
302
+ **Purpose:** Local Git operations on current repository
303
+
304
+ ```bash
305
+ claude mcp add-json git '{
306
+ "type": "stdio",
307
+ "command": "npx",
308
+ "args": ["-y", "@cyanheads/git-mcp-server@latest"]
309
+ }'
310
+ ```
311
+
312
+ **Requirements:**
313
+
314
+ - Node.js ≥18
315
+ - Git installed
316
+
317
+ **Usage:**
318
+
319
+ - Commit changes
320
+ - Create branches
321
+ - View history
322
+ - Manage remotes
323
+
324
+ ---
325
+
326
+ ### PostgreSQL – Local Database
327
+
328
+ **Purpose:** Query local or networked PostgreSQL databases
329
+
330
+ ```bash
331
+ claude mcp add-json postgresql '{
332
+ "type": "stdio",
333
+ "command": "npx",
334
+ "args": ["-y", "@modelcontextprotocol/server-postgresql"],
335
+ "env": {
336
+ "DATABASE_URL": "postgresql://user:password@localhost:5432/project"
337
+ }
338
+ }'
339
+ ```
340
+
341
+ **Requirements:**
342
+
343
+ - PostgreSQL server running
344
+ - Database credentials
345
+
346
+ **Usage:**
347
+
348
+ - Execute SQL queries
349
+ - Schema inspection
350
+ - Data manipulation
351
+
352
+ ---
353
+
354
+ ### Serena – Semantic Code Analysis
355
+
356
+ **Purpose:** Advanced code understanding and refactoring
357
+
358
+ ```bash
359
+ claude mcp add-json serena '{
360
+ "type": "stdio",
361
+ "command": "uvx",
362
+ "args": [
363
+ "--from",
364
+ "git+https://github.com/oraios/serena",
365
+ "serena",
366
+ "start-mcp-server",
367
+ "--context",
368
+ "ide-assistant",
369
+ "--project",
370
+ "$(pwd)"
371
+ ]
372
+ }'
373
+ ```
374
+
375
+ **Requirements:**
376
+
377
+ - Python ≥3.8
378
+ - `uvx` (Python package runner)
379
+
380
+ **Usage:**
381
+
382
+ - Semantic code search
383
+ - Symbol analysis
384
+ - Intelligent refactoring
385
+ - Cross-reference analysis
386
+
387
+ **Key Features:**
388
+
389
+ - Find symbols by name path
390
+ - Track symbol references
391
+ - Code structure analysis
392
+ - Refactoring operations
393
+
394
+ ---
395
+
396
+ ### Sequential Thinking – Problem Breakdown
397
+
398
+ **Purpose:** Break down complex problems sequentially
399
+
400
+ ```bash
401
+ claude mcp add-json sequential-thinking '{
402
+ "type": "stdio",
403
+ "command": "npx",
404
+ "args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
405
+ }'
406
+ ```
407
+
408
+ **Usage:**
409
+
410
+ - Complex problem solving
411
+ - Step-by-step analysis
412
+ - Decision trees
413
+
414
+ ---
415
+
416
+ ### Chrome DevTools – Browser Automation
417
+
418
+ **Purpose:** Automate and debug Chrome browser
419
+
420
+ ```bash
421
+ claude mcp add-json chrome-devtools '{
422
+ "type": "stdio",
423
+ "command": "npx",
424
+ "args": ["-y", "chrome-devtools-mcp"]
425
+ }'
426
+ ```
427
+
428
+ **Requirements:**
429
+
430
+ - Google Chrome or Chromium
431
+ - Start Chrome with debugging enabled:
432
+
433
+ ```bash
434
+ google-chrome --remote-debugging-port=9222
435
+ ```
436
+
437
+ **Usage:**
438
+
439
+ - Browser automation
440
+ - E2E testing
441
+ - Performance profiling
442
+
443
+ ---
444
+
445
+ ### BrowserStack – Cross-Browser Testing
446
+
447
+ **Purpose:** Real browser testing across devices
448
+
449
+ ```bash
450
+ claude mcp add-json browserstack '{
451
+ "type": "stdio",
452
+ "command": "npx",
453
+ "args": ["-y", "@browserstack/mcp-server@latest"],
454
+ "env": {
455
+ "BROWSERSTACK_USERNAME": "<YOUR_USERNAME>",
456
+ "BROWSERSTACK_ACCESS_KEY": "<YOUR_ACCESS_KEY>"
457
+ }
458
+ }'
459
+ ```
460
+
461
+ **Requirements:**
462
+
463
+ - BrowserStack account and credentials
464
+
465
+ **Usage:**
466
+
467
+ - Cross-browser E2E tests
468
+ - Real device testing
469
+ - Compatibility checks
470
+
471
+ ---
472
+
473
+ ### Semgrep – Security Scanning
474
+
475
+ **Purpose:** Static code security analysis
476
+
477
+ ```bash
478
+ claude mcp add-json semgrep '{
479
+ "type": "stdio",
480
+ "command": "semgrep",
481
+ "args": ["mcp"]
482
+ }'
483
+ ```
484
+
485
+ **Requirements:**
486
+
487
+ - Semgrep installed:
488
+
489
+ ```bash
490
+ pip install semgrep
491
+ semgrep login
492
+ ```
493
+
494
+ **Usage:**
495
+
496
+ - Vulnerability scanning
497
+ - Secret detection
498
+ - Security best practices
499
+ - Code quality checks
500
+
501
+ ---
502
+
503
+ ## Configuration
504
+
505
+ ### Environment Variables
506
+
507
+ Create `.env.local` for sensitive credentials:
508
+
509
+ ```bash
510
+ # Context7
511
+ CONTEXT7_API_KEY=your_key_here
512
+
513
+ # Mercado Pago
514
+ MERCADO_PAGO_ACCESS_TOKEN=your_token_here
515
+
516
+ # Neon
517
+ NEON_API_KEY=your_key_here
518
+
519
+ # DeepL
520
+ DEEPL_API_KEY=your_key_here
521
+
522
+ # BrowserStack
523
+ BROWSERSTACK_USERNAME=your_username
524
+ BROWSERSTACK_ACCESS_KEY=your_key
525
+
526
+ # Database
527
+ DATABASE_URL=postgresql://user:password@localhost:5432/project
528
+ ```
529
+
530
+ **Security:**
531
+
532
+ - Never commit `.env.local` to git
533
+ - Use `.env.example` for documentation
534
+ - Rotate keys regularly
535
+
536
+ ### Verification
537
+
538
+ After installation, verify MCPs are working:
539
+
540
+ ```bash
541
+ # List all installed MCPs
542
+ claude mcp list
543
+
544
+ # Test specific MCP
545
+ claude --mcp-test context7
546
+ ```
547
+
548
+ ---
549
+
550
+ ## Troubleshooting
551
+
552
+ ### Common Issues
553
+
554
+ **MCP not found:**
555
+
556
+ ```bash
557
+ # Reinstall
558
+ claude mcp remove <server-name>
559
+ claude mcp add ...
560
+ ```
561
+
562
+ **Connection timeout:**
563
+
564
+ - Check internet connection (HTTP MCPs)
565
+ - Verify API keys are correct
566
+ - Check service status pages
567
+
568
+ **STDIO server crashes:**
569
+
570
+ - Verify Node.js/Python versions
571
+ - Check process logs
572
+ - Ensure dependencies are installed
573
+
574
+ **Permission errors:**
575
+
576
+ - Check file permissions
577
+ - Verify API key scopes
578
+ - Review OAuth permissions
579
+
580
+ ### Logs
581
+
582
+ View MCP logs:
583
+
584
+ ```bash
585
+ # Claude Code logs
586
+ cat ~/.config/claude-code/logs/mcp.log
587
+
588
+ # Individual server logs
589
+ claude mcp logs <server-name>
590
+ ```
591
+
592
+ ---
593
+
594
+ ## Related Documentation
595
+
596
+ - [MCP Overview](.claude/docs/mcp-servers.md)
597
+ - [Notification System](.claude/docs/notification-installation.md)
598
+ - [Quick Start Guide](.claude/docs/quick-start.md)
599
+ - [System Maintenance](.claude/docs/system-maintenance.md)
600
+
601
+ **Official Resources:**
602
+
603
+ - [MCP Specification](https://modelcontextprotocol.io)
604
+ - [Claude Code Documentation](https://docs.claude.com/claude-code)
605
+ - [Server Repository](https://github.com/modelcontextprotocol/servers)
606
+
607
+ ---
608
+
609
+ ## Changelog
610
+
611
+ | Version | Date | Changes | Author | Related |
612
+ |---------|------|---------|--------|---------|
613
+ | 1.0.0 | 2024-10-31 | Initial comprehensive installation guide | @tech-lead | P-004 |