@meldocio/mcp-stdio-proxy 1.0.26 → 1.0.28

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.
@@ -0,0 +1,382 @@
1
+ ---
2
+ name: search-and-discovery
3
+ description: Specialized in finding, exploring, and navigating Meldoc documentation effectively. Use when looking for specific information, exploring documentation structure, finding related documents, discovering connections between topics, or auditing documentation coverage.
4
+ ---
5
+
6
+ Specialized in finding, exploring, and navigating Meldoc documentation effectively.
7
+
8
+ ## Search Strategies
9
+
10
+ ### Full-Text Search
11
+
12
+ **Use `docs_search` for:**
13
+
14
+ - Finding documents by content
15
+ - Locating code examples
16
+ - Searching for specific terms
17
+ - Discovering mentions of features
18
+
19
+ **Best practices:**
20
+
21
+ ```javascript
22
+ // Good: Specific terms
23
+ docs_search({ query: "OAuth authentication" })
24
+
25
+ // Good: Technical terms
26
+ docs_search({ query: "API rate limiting" })
27
+
28
+ // Less effective: Too broad
29
+ docs_search({ query: "how to" })
30
+
31
+ // Less effective: Single common word
32
+ docs_search({ query: "user" })
33
+ ```
34
+
35
+ **Tips:**
36
+
37
+ - Use 2-4 word queries for best results
38
+ - Include technical terms when possible
39
+ - Try variations if first search doesn't work
40
+ - Combine with `docs_tree` to understand context
41
+
42
+ ### Document Tree Navigation
43
+
44
+ **Use `docs_tree` to:**
45
+
46
+ - Understand documentation hierarchy
47
+ - See parent-child relationships
48
+ - Find related documents by proximity
49
+ - Identify documentation gaps
50
+
51
+ **Example workflow:**
52
+
53
+ ```javascript
54
+ // 1. Get overall structure
55
+ docs_tree({ projectId: "project-id" })
56
+
57
+ // 2. Identify section of interest
58
+ // 3. Get specific documents in that section
59
+ docs_get({ docId: "..." })
60
+ ```
61
+
62
+ ### Link-Based Discovery
63
+
64
+ **Use `docs_links` to:**
65
+
66
+ - See what a document references
67
+ - Follow documentation trails
68
+ - Understand dependencies
69
+
70
+ **Use `docs_backlinks` to:**
71
+
72
+ - Find what references a document
73
+ - See document importance (more backlinks = more central)
74
+ - Discover unexpected connections
75
+
76
+ **Example:**
77
+
78
+ ```javascript
79
+ // Find what links TO a key document
80
+ docs_backlinks({ docId: "getting-started" })
81
+
82
+ // Find what a document links TO
83
+ docs_links({ docId: "api-reference" })
84
+ ```
85
+
86
+ ## Discovery Patterns
87
+
88
+ ### Pattern 1: Topic Exploration
89
+
90
+ When user asks "tell me about X":
91
+
92
+ 1. **Search for the topic:**
93
+
94
+ ```javascript
95
+ docs_search({ query: "X" })
96
+ ```
97
+
98
+ 2. **Get top results:**
99
+
100
+ ```javascript
101
+ docs_get({ docId: "result-1" })
102
+ docs_get({ docId: "result-2" })
103
+ ```
104
+
105
+ 3. **Find related:**
106
+
107
+ ```javascript
108
+ docs_links({ docId: "result-1" })
109
+ docs_backlinks({ docId: "result-1" })
110
+ ```
111
+
112
+ 4. **Synthesize and present** with links to all relevant docs using magic links: `[[doc-alias]]`
113
+
114
+ ### Pattern 2: Documentation Audit
115
+
116
+ To check coverage of a topic:
117
+
118
+ 1. **Search for the topic:**
119
+
120
+ ```javascript
121
+ docs_search({ query: "deployment" })
122
+ ```
123
+
124
+ 2. **Review results** - are there gaps?
125
+
126
+ 3. **Check tree structure:**
127
+
128
+ ```javascript
129
+ docs_tree({ projectId: "..." })
130
+ ```
131
+
132
+ 4. **Identify missing documentation**
133
+
134
+ 5. **Suggest new documents** to create
135
+
136
+ ### Pattern 3: Onboarding Journey
137
+
138
+ Help new users navigate documentation:
139
+
140
+ 1. **Start with overview:**
141
+
142
+ ```javascript
143
+ docs_get({ docId: "getting-started" })
144
+ ```
145
+
146
+ 2. **Show document tree** to visualize structure
147
+
148
+ 3. **Find prerequisite documents** using backlinks
149
+
150
+ 4. **Create reading path** with ordered links using `[[alias]]` format
151
+
152
+ 5. **Highlight key documents** for their role
153
+
154
+ ### Pattern 4: Troubleshooting Search
155
+
156
+ When user has a problem:
157
+
158
+ 1. **Search error messages exactly:**
159
+
160
+ ```javascript
161
+ docs_search({ query: "exact error message" })
162
+ ```
163
+
164
+ 2. **Search related concepts:**
165
+
166
+ ```javascript
167
+ docs_search({ query: "feature-name troubleshooting" })
168
+ ```
169
+
170
+ 3. **Check FAQ documents**
171
+
172
+ 4. **Find related configuration** documents
173
+
174
+ ## Advanced Techniques
175
+
176
+ ### Multi-Step Search
177
+
178
+ For complex queries, break into steps:
179
+
180
+ ```javascript
181
+ // User: "How do I set up authentication with OAuth for mobile apps?"
182
+
183
+ // Step 1: Find authentication docs
184
+ docs_search({ query: "OAuth authentication" })
185
+
186
+ // Step 2: Find mobile-specific docs
187
+ docs_search({ query: "mobile app setup" })
188
+
189
+ // Step 3: Get both and synthesize
190
+ docs_get({ docId: "oauth-doc" })
191
+ docs_get({ docId: "mobile-doc" })
192
+
193
+ // Step 4: Create combined answer with references
194
+ ```
195
+
196
+ ### Search Refinement
197
+
198
+ If first search returns too many results:
199
+
200
+ 1. Add more specific terms
201
+ 2. Include technical keywords
202
+ 3. Try exact phrases
203
+ 4. Search within specific project
204
+
205
+ If first search returns nothing:
206
+
207
+ 1. Try broader terms
208
+ 2. Search for synonyms
209
+ 3. Check spelling
210
+ 4. Use related concepts
211
+
212
+ ### Context-Aware Search
213
+
214
+ Consider user's current context:
215
+
216
+ ```javascript
217
+ // If user is viewing a specific document
218
+ docs_get({ docId: "current-doc" })
219
+
220
+ // Find related content
221
+ docs_links({ docId: "current-doc" })
222
+ docs_backlinks({ docId: "current-doc" })
223
+
224
+ // Search within that domain
225
+ docs_search({
226
+ query: "user's question",
227
+ projectId: "same-project-as-current-doc"
228
+ })
229
+ ```
230
+
231
+ ## Search Result Presentation
232
+
233
+ ### For Single Best Answer
234
+
235
+ ```markdown
236
+ Based on the documentation, here's how to [do task]:
237
+
238
+ [Clear, synthesized answer]
239
+
240
+ **Source:** [[doc-alias]]
241
+
242
+ **Related:**
243
+ - [[related-doc-1]]
244
+ - [[related-doc-2]]
245
+ ```
246
+
247
+ ### For Multiple Relevant Results
248
+
249
+ ```markdown
250
+ I found several documents about [topic]:
251
+
252
+ 1. **[[doc-title-1]]** - Brief description
253
+ - Key point from document
254
+
255
+ 2. **[[doc-title-2]]** - Brief description
256
+ - Key point from document
257
+
258
+ 3. **[[doc-title-3]]** - Brief description
259
+ - Key point from document
260
+
261
+ Which would you like to explore first?
262
+ ```
263
+
264
+ ### For No Results
265
+
266
+ ```markdown
267
+ I couldn't find documentation specifically about [topic].
268
+
269
+ However, I found these related documents:
270
+ - [[related-doc-1]] - about [related topic]
271
+ - [[related-doc-2]] - about [related topic]
272
+
273
+ Would you like me to:
274
+ 1. Create new documentation about [topic]?
275
+ 2. Search using different terms?
276
+ 3. Explore these related topics?
277
+ ```
278
+
279
+ ## Common Search Queries
280
+
281
+ ### "How do I...?"
282
+
283
+ 1. Search for task/action keywords
284
+ 2. Look for tutorial-style documents
285
+ 3. Find step-by-step guides
286
+ 4. Check related examples
287
+
288
+ ### "What is...?"
289
+
290
+ 1. Search for the term
291
+ 2. Look for overview/introduction docs
292
+ 3. Check glossary or concepts docs
293
+ 4. Find architectural documentation
294
+
295
+ ### "Why does...?"
296
+
297
+ 1. Search for the behavior/issue
298
+ 2. Look for troubleshooting docs
299
+ 3. Check FAQ documents
300
+ 4. Find design decision documents
301
+
302
+ ### "Where can I find...?"
303
+
304
+ 1. Use docs_tree to see structure
305
+ 2. Search for the resource type
306
+ 3. Check reference documentation
307
+ 4. Look for index/directory docs
308
+
309
+ ## Performance Tips
310
+
311
+ ### Efficient Search
312
+
313
+ ```javascript
314
+ // Good: One search with good keywords
315
+ docs_search({ query: "JWT token validation" })
316
+
317
+ // Less efficient: Multiple vague searches
318
+ docs_search({ query: "tokens" })
319
+ docs_search({ query: "JWT" })
320
+ docs_search({ query: "validation" })
321
+ ```
322
+
323
+ ### Smart Caching
324
+
325
+ Remember recently accessed documents:
326
+
327
+ - Reference them in conversation
328
+ - Avoid re-fetching
329
+ - Build on previous context
330
+
331
+ ### Batch Operations
332
+
333
+ When exploring a topic:
334
+
335
+ - Get tree structure once
336
+ - Note relevant doc IDs
337
+ - Fetch multiple docs
338
+ - Synthesize all at once
339
+
340
+ ## User Assistance Patterns
341
+
342
+ ### "I'm looking for..."
343
+
344
+ ```
345
+ 1. Clarify what they need
346
+ 2. Search with refined terms
347
+ 3. Present top 3-5 results with summaries
348
+ 4. Ask which to explore deeper
349
+ ```
350
+
351
+ ### "Show me everything about..."
352
+
353
+ ```
354
+ 1. Search for the topic
355
+ 2. Get document tree for structure
356
+ 3. Find all related documents via links/backlinks
357
+ 4. Present organized overview with all references using [[alias]] links
358
+ 5. Offer to dive into specific areas
359
+ ```
360
+
361
+ ### "Is there documentation on...?"
362
+
363
+ ```
364
+ 1. Search for the topic
365
+ 2. If found: Show it
366
+ 3. If not found:
367
+ - Suggest related docs
368
+ - Offer to create new documentation
369
+ - Check if it's covered elsewhere under different name
370
+ ```
371
+
372
+ ## Quality Indicators
373
+
374
+ Good documentation is:
375
+
376
+ - **Findable** - Appears in relevant searches
377
+ - **Connected** - Has links to/from other docs (use `[[alias]]` magic links)
378
+ - **Complete** - Answers the question fully
379
+ - **Current** - Recently updated
380
+ - **Clear** - Easy to understand
381
+
382
+ When helping users find information, prioritize documents with these qualities.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meldocio/mcp-stdio-proxy",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "description": "MCP stdio proxy for meldoc - connects Claude Desktop and Claude Code to meldoc MCP API",
5
5
  "bin": {
6
6
  "meldoc-mcp": "bin/meldoc-mcp-proxy.js"