Skip to content

Commit a68fd76

Browse files
authored
fix: broken md template, update examples (#32)
* fix: md template broken * chore: update examples
1 parent 34e9f1e commit a68fd76

21 files changed

Lines changed: 1319 additions & 662 deletions

docs/examples/capabilities.txt

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
example-servers/everything 1.0.0
22

3-
✔ Tools (10) ✔ Prompts (3) ✔ Resources (10) ✔ Logging ✔ Completions ✘ Experimental
43

4+
✔ Tools (13) ✔ Prompts (3) ✔ Resources (10) ✔ Logging ✔ Completions ✘ Tasks
55

6+
67

7-
🛠️ Tools (10)
8+
🛠️ Tools (13)
89
─────────────
910

1011
1. add : Adds two numbers
@@ -19,13 +20,19 @@ example-servers/everything 1.0.0
1920

2021
6. getTinyImage : Returns the MCP_TINY_IMAGE
2122

22-
7. longRunningOperation : Demonstrates a long running operation with progress updates
23+
7. listRoots : Lists the current MCP roots provided by the client. Demonstrates the roots protocol capability even though this server doesn't access files.
2324

24-
8. printEnv : Prints all environment variables, helpful for debugging MCP server configuration
25+
8. longRunningOperation : Demonstrates a long running operation with progress updates
2526

26-
9. sampleLLM : Samples from an LLM using MCP's sampling feature
27+
9. printEnv : Prints all environment variables, helpful for debugging MCP server configuration
2728

28-
10. structuredContent : Returns structured content along with an output schema for client data validation
29+
10. sampleLLM : Samples from an LLM using MCP's sampling feature
30+
31+
11. startElicitation : Elicitation test tool that demonstrates how to request user input with various field types (string, boolean, email, uri, date, integer, number, enum)
32+
33+
12. structuredContent : Returns structured content along with an output schema for client data validation
34+
35+
13. zip : Compresses the provided resource files (mapping of name to URI, which can be a data URI) to a zip file, which it returns as a data URI resource link.
2936

3037

3138

@@ -68,8 +75,8 @@ example-servers/everything 1.0.0
6875
🧩 Resource Templates (1)
6976
─────────────────────────
7077

71-
1. Static Resource : test://static/resource/{id}
78+
1. Static Resource : test://static/resource/{id}
7279
A static resource with a numeric ID
7380

7481

75-
◾ generated by mcp-discovery
82+
◾ generated by mcp-discovery

docs/examples/create-md-plain.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
## example-servers/everything 1.0.0
2-
| ✔ Tools (10) | ✔ Prompts (3) | ✔ Resources (10) | ✔ Logging | ✔ Completions | <span style="opacity:0.6">✘ Experimental</span> |
2+
3+
| ✔ Tools (13) | ✔ Prompts (3) | ✔ Resources (10) | ✔ Logging | ✔ Completions | ~~<span style="opacity:0.6" class="error">✘ Tasks</span>~~ |
34
| --- | --- | --- | --- | --- | --- |
45

5-
## 🛠️ Tools (10)
6+
## 🛠️ Tools (13)
67

78

89
- **add**
@@ -35,6 +36,9 @@
3536
- **getTinyImage**
3637
- Returns the MCP_TINY_IMAGE
3738

39+
- **listRoots**
40+
- Lists the current MCP roots provided by the client. Demonstrates the roots protocol capability even though this server doesn't access files.
41+
3842
- **longRunningOperation**
3943
- Demonstrates a long running operation with progress updates
4044
- **Inputs:**
@@ -50,11 +54,19 @@
5054
- <code>maxTokens</code> : number<br />
5155
- <code>prompt</code> : string<br />
5256

57+
- **startElicitation**
58+
- Elicitation test tool that demonstrates how to request user input with various field types (string, boolean, email, uri, date, integer, number, enum)
59+
5360
- **structuredContent**
5461
- Returns structured content along with an output schema for client data validation
5562
- **Inputs:**
5663
- <code>location</code> : string<br />
5764

65+
- **zip**
66+
- Compresses the provided resource files (mapping of name to URI, which can be a data URI) to a zip file, which it returns as a data URI resource link.
67+
- **Inputs:**
68+
- <code>files</code> : unknown<br />
69+
5870

5971
## 📝 Prompts (3)
6072

docs/examples/create-md.md

Lines changed: 115 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
## example-servers/everything 1.0.0
2-
| ✔ Tools (10) | ✔ Prompts (3) | ✔ Resources (10) | ✔ Logging | ✔ Completions | <span style="opacity:0.6">✘ Experimental</span> |
2+
3+
| ✔ Tools (13) | ✔ Prompts (3) | ✔ Resources (10) | ✔ Logging | ✔ Completions | ~~<span style="opacity:0.6" class="error">✘ Tasks</span>~~ |
34
| --- | --- | --- | --- | --- | --- |
45

5-
## 🛠️ Tools (10)
6+
## 🛠️ Tools (13)
67

78
<table style="text-align: left;">
89
<thead>
910
<tr>
1011
<th style="width: auto;"></th>
12+
<th style="width: auto;">Icon</th>
1113
<th style="width: auto;">Tool Name</th>
1214
<th style="width: auto;">Description</th>
1315
<th style="width: auto;">Inputs</th>
@@ -16,6 +18,9 @@
1618
<tbody style="vertical-align: top;">
1719
<tr>
1820
<td>1.</td>
21+
<td>
22+
<!--- no icon -->
23+
</td>
1924
<td>
2025
<code><b>add</b></code>
2126
</td>
@@ -29,6 +34,9 @@
2934
</tr>
3035
<tr>
3136
<td>2.</td>
37+
<td>
38+
<!--- no icon -->
39+
</td>
3240
<td>
3341
<code><b>annotatedMessage</b></code>
3442
</td>
@@ -42,6 +50,9 @@
4250
</tr>
4351
<tr>
4452
<td>3.</td>
53+
<td>
54+
<!--- no icon -->
55+
</td>
4556
<td>
4657
<code><b>echo</b></code>
4758
</td>
@@ -54,6 +65,9 @@
5465
</tr>
5566
<tr>
5667
<td>4.</td>
68+
<td>
69+
<!--- no icon -->
70+
</td>
5771
<td>
5872
<code><b>getResourceLinks</b></code>
5973
</td>
@@ -66,6 +80,9 @@
6680
</tr>
6781
<tr>
6882
<td>5.</td>
83+
<td>
84+
<!--- no icon -->
85+
</td>
6986
<td>
7087
<code><b>getResourceReference</b></code>
7188
</td>
@@ -78,6 +95,9 @@
7895
</tr>
7996
<tr>
8097
<td>6.</td>
98+
<td>
99+
<!--- no icon -->
100+
</td>
81101
<td>
82102
<code><b>getTinyImage</b></code>
83103
</td>
@@ -89,6 +109,23 @@
89109
</tr>
90110
<tr>
91111
<td>7.</td>
112+
<td>
113+
<!--- no icon -->
114+
</td>
115+
<td>
116+
<code><b>listRoots</b></code>
117+
</td>
118+
<td>Lists the current MCP roots provided by the client. Demonstrates the roots protocol capability even though this server doesn't access files.</td>
119+
<td>
120+
<ul>
121+
</ul>
122+
</td>
123+
</tr>
124+
<tr>
125+
<td>8.</td>
126+
<td>
127+
<!--- no icon -->
128+
</td>
92129
<td>
93130
<code><b>longRunningOperation</b></code>
94131
</td>
@@ -101,7 +138,10 @@
101138
</td>
102139
</tr>
103140
<tr>
104-
<td>8.</td>
141+
<td>9.</td>
142+
<td>
143+
<!--- no icon -->
144+
</td>
105145
<td>
106146
<code><b>printEnv</b></code>
107147
</td>
@@ -112,7 +152,10 @@
112152
</td>
113153
</tr>
114154
<tr>
115-
<td>9.</td>
155+
<td>10.</td>
156+
<td>
157+
<!--- no icon -->
158+
</td>
116159
<td>
117160
<code><b>sampleLLM</b></code>
118161
</td>
@@ -125,7 +168,24 @@
125168
</td>
126169
</tr>
127170
<tr>
128-
<td>10.</td>
171+
<td>11.</td>
172+
<td>
173+
<!--- no icon -->
174+
</td>
175+
<td>
176+
<code><b>startElicitation</b></code>
177+
</td>
178+
<td>Elicitation test tool that demonstrates how to request user input with various field types (string, boolean, email, uri, date, integer, number, enum)</td>
179+
<td>
180+
<ul>
181+
</ul>
182+
</td>
183+
</tr>
184+
<tr>
185+
<td>12.</td>
186+
<td>
187+
<!--- no icon -->
188+
</td>
129189
<td>
130190
<code><b>structuredContent</b></code>
131191
</td>
@@ -136,6 +196,21 @@
136196
</ul>
137197
</td>
138198
</tr>
199+
<tr>
200+
<td>13.</td>
201+
<td>
202+
<!--- no icon -->
203+
</td>
204+
<td>
205+
<code><b>zip</b></code>
206+
</td>
207+
<td>Compresses the provided resource files (mapping of name to URI, which can be a data URI) to a zip file, which it returns as a data URI resource link.</td>
208+
<td>
209+
<ul>
210+
<li> <code>files</code> : unknown<br /></li>
211+
</ul>
212+
</td>
213+
</tr>
139214
</tbody>
140215
</table>
141216

@@ -180,6 +255,7 @@
180255
<thead>
181256
<tr>
182257
<th style="width: auto;"></th>
258+
<th style="width: auto;">Icon</th>
183259
<th style="width: auto;">Resource Name</th>
184260
<th style="width: auto;">Uri</th>
185261
<th style="width: auto;">Description</th>
@@ -188,6 +264,9 @@
188264
<tbody style="vertical-align: top;">
189265
<tr>
190266
<td>1.</td>
267+
<td>
268+
<!--- no icon -->
269+
</td>
191270
<td>
192271
<code><b>Resource 1</b></code>
193272
</td>
@@ -198,6 +277,9 @@
198277
</tr>
199278
<tr>
200279
<td>2.</td>
280+
<td>
281+
<!--- no icon -->
282+
</td>
201283
<td>
202284
<code><b>Resource 2</b></code>
203285
</td>
@@ -208,6 +290,9 @@
208290
</tr>
209291
<tr>
210292
<td>3.</td>
293+
<td>
294+
<!--- no icon -->
295+
</td>
211296
<td>
212297
<code><b>Resource 3</b></code>
213298
</td>
@@ -218,6 +303,9 @@
218303
</tr>
219304
<tr>
220305
<td>4.</td>
306+
<td>
307+
<!--- no icon -->
308+
</td>
221309
<td>
222310
<code><b>Resource 4</b></code>
223311
</td>
@@ -228,6 +316,9 @@
228316
</tr>
229317
<tr>
230318
<td>5.</td>
319+
<td>
320+
<!--- no icon -->
321+
</td>
231322
<td>
232323
<code><b>Resource 5</b></code>
233324
</td>
@@ -238,6 +329,9 @@
238329
</tr>
239330
<tr>
240331
<td>6.</td>
332+
<td>
333+
<!--- no icon -->
334+
</td>
241335
<td>
242336
<code><b>Resource 6</b></code>
243337
</td>
@@ -248,6 +342,9 @@
248342
</tr>
249343
<tr>
250344
<td>7.</td>
345+
<td>
346+
<!--- no icon -->
347+
</td>
251348
<td>
252349
<code><b>Resource 7</b></code>
253350
</td>
@@ -258,6 +355,9 @@
258355
</tr>
259356
<tr>
260357
<td>8.</td>
358+
<td>
359+
<!--- no icon -->
360+
</td>
261361
<td>
262362
<code><b>Resource 8</b></code>
263363
</td>
@@ -268,6 +368,9 @@
268368
</tr>
269369
<tr>
270370
<td>9.</td>
371+
<td>
372+
<!--- no icon -->
373+
</td>
271374
<td>
272375
<code><b>Resource 9</b></code>
273376
</td>
@@ -278,6 +381,9 @@
278381
</tr>
279382
<tr>
280383
<td>10.</td>
384+
<td>
385+
<!--- no icon -->
386+
</td>
281387
<td>
282388
<code><b>Resource 10</b></code>
283389
</td>
@@ -295,6 +401,7 @@
295401
<thead>
296402
<tr>
297403
<th style="width: auto;"></th>
404+
<th style="width: auto;">Icon</th>
298405
<th style="width: auto;">Name</th>
299406
<th style="width: auto;">Uri Template</th>
300407
<th style="width: auto;">Description</th>
@@ -303,6 +410,9 @@
303410
<tbody style="vertical-align: top;">
304411
<tr>
305412
<td>1.</td>
413+
<td>
414+
<!--- no icon -->
415+
</td>
306416
<td>
307417
<code><b>Static Resource</b></code>
308418
</td>

0 commit comments

Comments
 (0)