derived-mcp-server 0.0.18 → 0.0.20
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/bundle.js +1 -1
- package/package.json +2 -2
package/dist/bundle.js
CHANGED
|
@@ -19,4 +19,4 @@ ${a.map((i,c)=>`${c+1}. ${i.name}
|
|
|
19
19
|
|
|
20
20
|
`)}.**Please specify which block you'd like to add by providing its code.**`}]};if(a.length){let i=a[0];return i?.input?{content:[{type:"text",text:`Please ask user to provide the inputs.
|
|
21
21
|
Follow below structure for input:
|
|
22
|
-
${JSON.stringify(i.input)} and return the input in JSON format with block code: ${i?.code}`}]}:{content:[{type:"text",text:`Found block: ${i?.name},
|
|
22
|
+
${JSON.stringify(i.input)} and return the input in JSON format with block code: ${i?.code}`}]}:{content:[{type:"text",text:`Found block: ${i?.name}, - Code: ${i?.code}, - Input Required: ${i?.input?"Yes":"No"}, Call add_block tool with the block code: ${i?.code}`}]}}return{content:[{type:"text",text:"No blocks found."}]}}catch(s){return console.error("Error in add_block:",s),{content:[{type:"text",text:`Error occurred while searching for blocks: ${s instanceof Error?s.message:"Unknown error"}. Info user that the block could not be added.`}]}}})};var hn=r=>{fn(r)};gn.default.config();var yn=new ft({name:"Derived",version:"1.0.0"});hn(yn);async function Ya(){let r=new gt;await yn.connect(r),console.error("Derived MCP Server running on stdio")}Ya().catch(r=>{console.error("Fatal error:",r),process.exit(1)});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "derived-mcp-server",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"description": "MCP server for Derived",
|
|
5
5
|
"author": "Derived",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@modelcontextprotocol/sdk": "^1.11.0",
|
|
26
26
|
"axios": "^1.9.0",
|
|
27
|
-
"derived-sdk": "^0.0.
|
|
27
|
+
"derived-sdk": "^0.0.11",
|
|
28
28
|
"dotenv": "16.4.5",
|
|
29
29
|
"express": "^5.1.0",
|
|
30
30
|
"match-sorter": "^8.0.1",
|