@yektoo/cli 0.1.2 → 0.1.4

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 CHANGED
@@ -65,6 +65,17 @@ yektoo close <email-id> # Close the ticket
65
65
  | `yektoo login -e EMAIL -p PASS` | Log in non-interactively |
66
66
  | `yektoo logout` | Clear stored session |
67
67
  | `yektoo whoami` | Show current user and business |
68
+ | `yektoo setup-mcp --target <tool>` | Configure the MCP server for an AI tool |
69
+
70
+ #### Setup MCP
71
+
72
+ ```bash
73
+ yektoo setup-mcp --target claude-desktop # Claude Desktop
74
+ yektoo setup-mcp --target cursor # Cursor
75
+ yektoo setup-mcp --target claude-code # Claude Code (pi)
76
+ ```
77
+
78
+ This automatically adds the Yektoo MCP server to the tool's config file. Restart the AI tool after running.
68
79
 
69
80
  ### Accounts
70
81
 
@@ -216,7 +227,17 @@ The MCP server lets AI agents (Claude, Cursor, Windsurf, etc.) interact with you
216
227
  npx @yektoo/cli login
217
228
  ```
218
229
 
219
- Then add the MCP server to your AI tool:
230
+ Then configure automatically:
231
+
232
+ ```bash
233
+ npx @yektoo/cli setup-mcp --target claude-desktop # Claude Desktop
234
+ npx @yektoo/cli setup-mcp --target cursor # Cursor
235
+ npx @yektoo/cli setup-mcp --target claude-code # Claude Code (pi)
236
+ ```
237
+
238
+ Restart the AI tool after running. The Yektoo tools will be available immediately.
239
+
240
+ **Or configure manually** — add to the tool's MCP config file:
220
241
 
221
242
  #### Claude Desktop
222
243
 
@@ -227,7 +248,7 @@ Edit `~/Library/Application Support/Claude/claude_desktop_config.json`:
227
248
  "mcpServers": {
228
249
  "yektoo": {
229
250
  "command": "npx",
230
- "args": ["-y", "@yektoo/mcp-server"]
251
+ "args": ["-y", "@yektoo/mcp-server@latest"]
231
252
  }
232
253
  }
233
254
  }
@@ -242,7 +263,7 @@ Edit `.cursor/mcp.json` in your project root:
242
263
  "mcpServers": {
243
264
  "yektoo": {
244
265
  "command": "npx",
245
- "args": ["-y", "@yektoo/mcp-server"]
266
+ "args": ["-y", "@yektoo/mcp-server@latest"]
246
267
  }
247
268
  }
248
269
  }
@@ -257,7 +278,7 @@ Edit `.mcp.json` in your project root:
257
278
  "mcpServers": {
258
279
  "yektoo": {
259
280
  "command": "npx",
260
- "args": ["-y", "@yektoo/mcp-server"]
281
+ "args": ["-y", "@yektoo/mcp-server@latest"]
261
282
  }
262
283
  }
263
284
  }
@@ -272,7 +293,7 @@ Edit `~/.codeium/windsurf/mcp_config.json`:
272
293
  "mcpServers": {
273
294
  "yektoo": {
274
295
  "command": "npx",
275
- "args": ["-y", "@yektoo/mcp-server"]
296
+ "args": ["-y", "@yektoo/mcp-server@latest"]
276
297
  }
277
298
  }
278
299
  }
package/dist/index.js CHANGED
@@ -681,7 +681,7 @@ program.command("setup-mcp").description("Automatically configure the Yektoo MCP
681
681
  const os = await import("os");
682
682
  const mcpEntry = {
683
683
  command: "npx",
684
- args: ["-y", "@yektoo/mcp-server"]
684
+ args: ["-y", "@yektoo/mcp-server@latest"]
685
685
  };
686
686
  let configPath;
687
687
  let configKey;
@@ -742,6 +742,9 @@ ${chalk2.bold.underline("Authentication")}
742
742
  ${chalk2.cyan("yektoo login -e you@co.com -p pass")} Non-interactive login
743
743
  ${chalk2.cyan("yektoo logout")} Clear stored session
744
744
  ${chalk2.cyan("yektoo whoami")} Show current user and business
745
+ ${chalk2.cyan("yektoo setup-mcp --target claude-desktop")} Configure MCP for Claude Desktop
746
+ ${chalk2.cyan("yektoo setup-mcp --target cursor")} Configure MCP for Cursor
747
+ ${chalk2.cyan("yektoo setup-mcp --target claude-code")} Configure MCP for Claude Code
745
748
 
746
749
  ${chalk2.bold.underline("Accounts")}
747
750
  ${chalk2.cyan("yektoo email-accounts")} List connected IMAP / Outlook accounts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yektoo/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Yekto CLI — manage your customer support helpdesk from the terminal",
5
5
  "type": "module",
6
6
  "bin": {