@magnetlab/mcp 0.1.0 → 0.1.1
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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Add to your project's `.mcp.json`:
|
|
|
13
13
|
"mcpServers": {
|
|
14
14
|
"magnetlab": {
|
|
15
15
|
"command": "npx",
|
|
16
|
-
"args": ["-y", "@magnetlab/mcp", "serve"],
|
|
16
|
+
"args": ["-y", "--package", "@magnetlab/mcp", "magnetlab-mcp", "serve"],
|
|
17
17
|
"env": {
|
|
18
18
|
"MAGNETLAB_API_KEY": "ml_live_your_key_here"
|
|
19
19
|
}
|
|
@@ -31,7 +31,7 @@ Add to your `claude_desktop_config.json`:
|
|
|
31
31
|
"mcpServers": {
|
|
32
32
|
"magnetlab": {
|
|
33
33
|
"command": "npx",
|
|
34
|
-
"args": ["-y", "@magnetlab/mcp", "serve"],
|
|
34
|
+
"args": ["-y", "--package", "@magnetlab/mcp", "magnetlab-mcp", "serve"],
|
|
35
35
|
"env": {
|
|
36
36
|
"MAGNETLAB_API_KEY": "ml_live_your_key_here"
|
|
37
37
|
}
|
|
@@ -77,13 +77,13 @@ Start the MCP server (stdio transport):
|
|
|
77
77
|
|
|
78
78
|
```bash
|
|
79
79
|
# Using environment variable
|
|
80
|
-
MAGNETLAB_API_KEY=ml_live_xxx npx @magnetlab/mcp serve
|
|
80
|
+
MAGNETLAB_API_KEY=ml_live_xxx npx --package @magnetlab/mcp magnetlab-mcp serve
|
|
81
81
|
|
|
82
82
|
# Using --api-key flag
|
|
83
|
-
npx @magnetlab/mcp serve --api-key ml_live_xxx
|
|
83
|
+
npx --package @magnetlab/mcp magnetlab-mcp serve --api-key ml_live_xxx
|
|
84
84
|
|
|
85
85
|
# With custom base URL
|
|
86
|
-
npx @magnetlab/mcp serve --base-url http://localhost:3000
|
|
86
|
+
npx --package @magnetlab/mcp magnetlab-mcp serve --base-url http://localhost:3000
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
## Example Prompts
|
package/package.json
CHANGED