@moorchehai/mcp 1.2.1 → 1.2.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 +10 -3
- package/bin/cli.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ The easiest way to get started:
|
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
# Set your API key and run directly
|
|
24
|
-
MOORCHEH_API_KEY=your_api_key_here npx -y @
|
|
24
|
+
MOORCHEH_API_KEY=your_api_key_here npx -y @moorchehai/mcp
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
### Option 2: Manual Installation
|
|
@@ -92,7 +92,7 @@ https://github.com/user-attachments/assets/fccbba8e-7393-4b74-8a73-769b55b3f3a3
|
|
|
92
92
|
"mcpServers": {
|
|
93
93
|
"moorcheh": {
|
|
94
94
|
"command": "npx",
|
|
95
|
-
"args": ["-y", "@
|
|
95
|
+
"args": ["-y", "@moorchehai/mcp"],
|
|
96
96
|
"env": {
|
|
97
97
|
"MOORCHEH_API_KEY": "your_actual_api_key_here"
|
|
98
98
|
}
|
|
@@ -150,7 +150,7 @@ To use the Moorcheh MCP server with Cursor IDE:
|
|
|
150
150
|
"mcpServers": {
|
|
151
151
|
"moorcheh": {
|
|
152
152
|
"command": "npx",
|
|
153
|
-
"args": ["-y", "@
|
|
153
|
+
"args": ["-y", "@moorchehai/mcp"],
|
|
154
154
|
"env": {
|
|
155
155
|
"MOORCHEH_API_KEY": "your_actual_api_key_here"
|
|
156
156
|
}
|
|
@@ -289,6 +289,13 @@ We welcome contributions! Please feel free to submit a Pull Request.
|
|
|
289
289
|
|
|
290
290
|
## Changelog
|
|
291
291
|
|
|
292
|
+
### v1.2.2
|
|
293
|
+
- Package Name: Updated to `@moorchehai/mcp` for official Moorcheh organization
|
|
294
|
+
- NPX Support: Added CLI wrapper for seamless `npx -y @moorchehai/mcp` execution
|
|
295
|
+
- Package Structure: Configured for npm registry publishing
|
|
296
|
+
- CLI Features: Added help, version commands and API key validation
|
|
297
|
+
- User Experience: Improved error messages and installation guidance
|
|
298
|
+
|
|
292
299
|
### v1.2.1
|
|
293
300
|
- NPX Support: Added CLI wrapper for seamless `npx -y @moorcheh/mcp` execution
|
|
294
301
|
- Package Structure: Configured for npm registry publishing as `@moorcheh/mcp`
|
package/bin/cli.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { spawn } from 'child_process';
|
|
4
4
|
import { fileURLToPath } from 'url';
|
|
@@ -19,7 +19,7 @@ if (args.includes('--help') || args.includes('-h')) {
|
|
|
19
19
|
Moorcheh MCP Server
|
|
20
20
|
===================
|
|
21
21
|
|
|
22
|
-
Usage: npx @
|
|
22
|
+
Usage: npx @moorchehai/mcp [options]
|
|
23
23
|
|
|
24
24
|
Options:
|
|
25
25
|
--help, -h Show this help message
|
|
@@ -29,8 +29,8 @@ Environment Variables:
|
|
|
29
29
|
MOORCHEH_API_KEY Your Moorcheh API key (required)
|
|
30
30
|
|
|
31
31
|
Examples:
|
|
32
|
-
npx @
|
|
33
|
-
MOORCHEH_API_KEY=xxx npx @
|
|
32
|
+
npx @moorchehai/mcp # Start the MCP server
|
|
33
|
+
MOORCHEH_API_KEY=xxx npx @moorchehai/mcp # Start with API key
|
|
34
34
|
|
|
35
35
|
For more information, visit: https://github.com/moorcheh-ai/moorcheh-mcp
|
|
36
36
|
`);
|
|
@@ -50,7 +50,7 @@ if (!process.env.MOORCHEH_API_KEY) {
|
|
|
50
50
|
❌ Error: Missing MOORCHEH_API_KEY environment variable
|
|
51
51
|
|
|
52
52
|
Please set your Moorcheh API key:
|
|
53
|
-
MOORCHEH_API_KEY=your_api_key_here npx @
|
|
53
|
+
MOORCHEH_API_KEY=your_api_key_here npx @moorchehai/mcp
|
|
54
54
|
|
|
55
55
|
Get your API key at: https://app.moorcheh.ai
|
|
56
56
|
`);
|
package/package.json
CHANGED