nagoc-zerowork 1.0.5 → 1.0.6
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 +3 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# nagoc-zerowork
|
|
1
|
+
# nagoc-zerowork
|
|
2
2
|
|
|
3
3
|
A free Model Context Protocol (MCP) server that connects any MCP-compatible AI client (Claude Desktop, Cursor, Windsurf, Zed, etc.) to your **ZeroWork** TaskBots.
|
|
4
4
|
|
|
@@ -46,7 +46,7 @@ Open your `claude_desktop_config.json` file and configure your bots using the `Z
|
|
|
46
46
|
```json
|
|
47
47
|
{
|
|
48
48
|
"mcpServers": {
|
|
49
|
-
"nagoc-zerowork
|
|
49
|
+
"nagoc-zerowork": {
|
|
50
50
|
"command": "cmd",
|
|
51
51
|
"args": ["/c", "npx", "-y", "nagoc-zerowork@latest"],
|
|
52
52
|
"env": {
|
|
@@ -61,7 +61,7 @@ Open your `claude_desktop_config.json` file and configure your bots using the `Z
|
|
|
61
61
|
```json
|
|
62
62
|
{
|
|
63
63
|
"mcpServers": {
|
|
64
|
-
"nagoc-zerowork
|
|
64
|
+
"nagoc-zerowork": {
|
|
65
65
|
"command": "npx",
|
|
66
66
|
"args": ["-y", "nagoc-zerowork@latest"],
|
|
67
67
|
"env": {
|
package/dist/index.js
CHANGED
|
@@ -135,4 +135,4 @@ ${n.map(s=>`- ${s}`).join(`
|
|
|
135
135
|
Status: ${u.status}
|
|
136
136
|
Response: ${l}`}]}}if(e==="trigger_webhook_url"){let n=String(r?.url),s=r?.payload,i={method:s?"POST":"GET",headers:s?{"Content-Type":"application/json"}:void 0,body:s?JSON.stringify(s):void 0},a=await fetch(n,i),c=await a.text();return{content:[{type:"text",text:`Successfully triggered webhook.
|
|
137
137
|
Status: ${a.status}
|
|
138
|
-
Response: ${c}`}]}}if(e==="get_mcp_version")return{content:[{type:"text",text:"nagoc-zerowork
|
|
138
|
+
Response: ${c}`}]}}if(e==="get_mcp_version")return{content:[{type:"text",text:"nagoc-zerowork version 1.0.5"}]};throw new Error(`Unknown tool: ${e}`)}catch(n){return{content:[{type:"text",text:`Error executing tool ${e}: ${n.message}`}],isError:!0}}});async function Zw(){let t=new Nn;await lo.connect(t),console.error("ZeroWork MCP Server running on stdio")}Zw().catch(t=>{console.error("Fatal error in main():",t),process.exit(1)});
|
package/package.json
CHANGED