@endiagram/mcp 0.2.18 → 0.2.19
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/dist/index.js +1 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -56,10 +56,7 @@ async function callApi(toolName, args) {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
const EN_INSTRUCTIONS = toolsConfig.instructions;
|
|
59
|
-
const server = new McpServer({
|
|
60
|
-
name: "endiagram",
|
|
61
|
-
version: "0.2.0",
|
|
62
|
-
});
|
|
59
|
+
const server = new McpServer({ name: "endiagram", version: "0.2.0" }, { instructions: EN_INSTRUCTIONS });
|
|
63
60
|
for (const tool of toolsConfig.tools) {
|
|
64
61
|
const schemaProps = {};
|
|
65
62
|
for (const param of tool.parameters) {
|