mcp-ts-template 2.3.7 → 2.3.8
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 +1 -1
- package/dist/index.js +11 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
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/lcov-report/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
package/dist/index.js
CHANGED
|
@@ -126735,15 +126735,17 @@ var echoResourceDefinition = {
|
|
|
126735
126735
|
mimeType: "application/json",
|
|
126736
126736
|
examples: [{ name: "Basic echo", uri: "echo://hello" }],
|
|
126737
126737
|
annotations: { readOnlyHint: true },
|
|
126738
|
-
list: () =>
|
|
126739
|
-
|
|
126740
|
-
|
|
126741
|
-
|
|
126742
|
-
|
|
126743
|
-
|
|
126744
|
-
|
|
126745
|
-
|
|
126746
|
-
|
|
126738
|
+
list: (_extra) => {
|
|
126739
|
+
return {
|
|
126740
|
+
resources: [
|
|
126741
|
+
{
|
|
126742
|
+
uri: "echo://hello",
|
|
126743
|
+
name: "Default Echo Message",
|
|
126744
|
+
description: "A simple echo resource example."
|
|
126745
|
+
}
|
|
126746
|
+
]
|
|
126747
|
+
};
|
|
126748
|
+
},
|
|
126747
126749
|
logic: withResourceAuth(["resource:echo:read"], echoLogic)
|
|
126748
126750
|
};
|
|
126749
126751
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-ts-template",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.8",
|
|
4
4
|
"mcpName": "io.github.cyanheads/mcp-ts-template",
|
|
5
5
|
"description": "The definitive, production-grade template for building powerful and scalable Model Context Protocol (MCP) servers with TypeScript, featuring built-in observability (OpenTelemetry), declarative tooling, robust error handling, and a modular, DI-driven architecture.",
|
|
6
6
|
"main": "dist/index.js",
|