@wisewandtools/mcp-server 2.0.0 → 2.0.2

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
@@ -30,19 +30,58 @@ Production-ready Model Context Protocol (MCP) server for Wisewand API, enabling
30
30
  - **Node.js 20+** (check with `node --version`)
31
31
  - **npm** (comes with Node.js)
32
32
  - **Wisewand API key** ([Get yours here](https://wisewand.ai))
33
- - **Claude Desktop** (for using with Claude AI)
33
+ - **Claude Desktop or Claude Code CLI**
34
34
 
35
- ### NPM Installation (Easiest) ⭐
35
+ ### Installation Methods
36
36
 
37
- Install globally via npm:
37
+ #### Option 1: Claude CLI (Easiest) ⭐
38
+
39
+ For **Claude Code CLI** users, just run this **ONE COMMAND** in your project directory:
38
40
 
39
41
  ```bash
40
- npm install -g @wisewand/mcp-server
42
+ claude mcp add wisewand -- npx -y @wisewandtools/mcp-server
43
+ ```
44
+
45
+ When prompted, enter your Wisewand API key (starts with `sk_live_` or `sk_test_`).
46
+
47
+ **That's it!** The server will:
48
+ - ✅ Validate your API key format
49
+ - ✅ Test connectivity to Wisewand API
50
+ - ✅ Create project-level `.claude/config.json`
51
+ - ✅ Start automatically when you restart Claude
52
+
53
+ **Common Installation Errors:**
54
+
55
+ If you see an error, here's what it means:
56
+
41
57
  ```
58
+ ❌ FATAL: WISEWAND_API_KEY environment variable not set
59
+ ```
60
+ **Fix:** Make sure you entered your API key when prompted, or use the `-e` flag (see below).
42
61
 
43
- Or use with **npx** (no installation needed - recommended):
62
+ ```
63
+ ❌ FATAL: WISEWAND_API_KEY has invalid format
64
+ Expected: sk_live_... or sk_test_...
65
+ ```
66
+ **Fix:** Check your API key at [wisewand.ai/dashboard/api-keys](https://wisewand.ai/dashboard/api-keys). It must start with `sk_live_` or `sk_test_`.
44
67
 
45
- #### Configure Claude Desktop
68
+ ```
69
+ ❌ FATAL: Cannot connect to Wisewand API
70
+ Reason: fetch failed
71
+ ```
72
+ **Fix:** Check your internet connection and verify your API key is valid and active.
73
+
74
+ **Alternative: Pass API key directly** (skips prompt):
75
+
76
+ ```bash
77
+ claude mcp add -e WISEWAND_API_KEY=sk_live_YOUR_KEY_HERE wisewand -- npx -y @wisewandtools/mcp-server
78
+ ```
79
+
80
+ > 💡 **Note:** The `--` separator is required to pass arguments to the npx command.
81
+
82
+ ---
83
+
84
+ #### Option 2: Claude Desktop (Manual Config)
46
85
 
47
86
  **Find your configuration file:**
48
87
  - **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
@@ -56,7 +95,7 @@ Or use with **npx** (no installation needed - recommended):
56
95
  "mcpServers": {
57
96
  "wisewand": {
58
97
  "command": "npx",
59
- "args": ["-y", "@wisewand/mcp-server"],
98
+ "args": ["-y", "@wisewandtools/mcp-server"],
60
99
  "env": {
61
100
  "WISEWAND_API_KEY": "sk_live_YOUR_API_KEY_HERE"
62
101
  }
@@ -69,6 +108,22 @@ Or use with **npx** (no installation needed - recommended):
69
108
 
70
109
  > 💡 **Tip**: With npx, the package is always downloaded fresh, so you automatically get the latest version.
71
110
 
111
+ ### 🎓 First Time Using Wisewand? Start with the Onboarding Wizard!
112
+
113
+ After restarting Claude, ask Claude:
114
+
115
+ ```
116
+ Use the onboarding wizard
117
+ ```
118
+
119
+ This **interactive guide** will teach you:
120
+ - ✅ What all 74 tools can do (organized into 7 easy categories)
121
+ - ✅ How to create your first article step-by-step (with actual JSON examples)
122
+ - ✅ 5 powerful real-world workflows (SEO series, product reviews, multi-language, etc.)
123
+ - ✅ Best practices for quality, SEO optimization, and cost management
124
+
125
+ **Takes 10-15 minutes and you'll be a Wisewand expert!**
126
+
72
127
  ---
73
128
 
74
129
  ### Local Installation (For Development)
package/dist/index.d.ts CHANGED
@@ -312,6 +312,14 @@ declare class WisewandMCPServer {
312
312
  getPromptCount(): number;
313
313
  getHealth(): HealthStatus | null;
314
314
  getMetrics(): Promise<string>;
315
+ /**
316
+ * Test API connection during startup
317
+ * Returns {ok: boolean, error?: string}
318
+ */
319
+ testAPIConnection(): Promise<{
320
+ ok: boolean;
321
+ error?: string;
322
+ }>;
315
323
  }
316
324
 
317
325
  export { WisewandMCPServer };