mcp-ts-template 2.5.7 → 2.6.1
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 +10 -9
- package/dist/index.js +136948 -132763
- package/package.json +63 -62
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<h1>mcp-ts-template</h1>
|
|
3
3
|
<p><b>Production-grade TypeScript template for building Model Context Protocol (MCP) servers. Ships with declarative tools/resources, robust error handling, DI, easy auth, optional OpenTelemetry, and first-class support for both local and edge (Cloudflare Workers) runtimes.</b>
|
|
4
|
-
<div>
|
|
4
|
+
<div>6 Tools • 1 Resource • 1 Prompt</div>
|
|
5
5
|
</p>
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
|
|
10
|
-
[](./CHANGELOG.md) [](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-06-18/changelog.mdx) [](https://modelcontextprotocol.io/) [](./LICENSE) [](https://github.com/cyanheads/mcp-ts-template/issues) [](https://www.typescriptlang.org/) [](https://bun.sh/) [](./coverage/index.html)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -74,13 +74,14 @@ This template includes working examples to get you started.
|
|
|
74
74
|
|
|
75
75
|
### Tools
|
|
76
76
|
|
|
77
|
-
| Tool | Description
|
|
78
|
-
| :---------------------------------- |
|
|
79
|
-
| **`template_echo_message`** | Echoes a message back with optional formatting and repetition.
|
|
80
|
-
| **`template_cat_fact`** | Fetches a random cat fact from an external API.
|
|
81
|
-
| **`template_madlibs_elicitation`** | Demonstrates elicitation by asking for words to complete a story.
|
|
82
|
-
| **`template_code_review_sampling`** | Uses the LLM service to perform a simulated code review.
|
|
83
|
-
| **`template_image_test`** | Returns a test image as a base64-encoded data URI.
|
|
77
|
+
| Tool | Description |
|
|
78
|
+
| :---------------------------------- | :----------------------------------------------------------------------- |
|
|
79
|
+
| **`template_echo_message`** | Echoes a message back with optional formatting and repetition. |
|
|
80
|
+
| **`template_cat_fact`** | Fetches a random cat fact from an external API. |
|
|
81
|
+
| **`template_madlibs_elicitation`** | Demonstrates elicitation by asking for words to complete a story. |
|
|
82
|
+
| **`template_code_review_sampling`** | Uses the LLM service to perform a simulated code review. |
|
|
83
|
+
| **`template_image_test`** | Returns a test image as a base64-encoded data URI. |
|
|
84
|
+
| **`template_async_countdown`** | Demonstrates MCP Tasks API with an async countdown timer (experimental). |
|
|
84
85
|
|
|
85
86
|
### Resources
|
|
86
87
|
|