@smithery/cli 1.2.31 → 1.3.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 +11 -11
- package/dist/index.js +81887 -19895
- package/package.json +16 -15
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The Smithery registry installer and manager for Model Context Protocol (MCP) servers, designed to be client-agnostic.
|
|
4
4
|
|
|
5
5
|
## Requirements
|
|
6
|
-
- NodeJS version
|
|
6
|
+
- NodeJS version 20 or above
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
@@ -40,7 +40,7 @@ npx @smithery/cli <command>
|
|
|
40
40
|
- `search [term]` - Search for servers in the Smithery registry (interactive)
|
|
41
41
|
- `login` - Login with an API key (interactive)
|
|
42
42
|
- `dev [entryFile]` - Start development server with hot-reload and tunnel
|
|
43
|
-
- `--port <port>` - Port to run the server on (default:
|
|
43
|
+
- `--port <port>` - Port to run the server on (default: 8081)
|
|
44
44
|
- `--key <apikey>` - Provide an API key
|
|
45
45
|
- `--no-open` - Don't automatically open the playground
|
|
46
46
|
- `--prompt <prompt>` - Initial message to start the playground with
|
|
@@ -50,7 +50,7 @@ npx @smithery/cli <command>
|
|
|
50
50
|
- `--transport <type>` - Transport type: shttp or stdio (default: shttp)
|
|
51
51
|
- `-c, --config <path>` - Path to config file (default: auto-detect smithery.config.js)
|
|
52
52
|
- `playground` - Open MCP playground in browser
|
|
53
|
-
- `--port <port>` - Port to expose (default:
|
|
53
|
+
- `--port <port>` - Port to expose (default: 8081)
|
|
54
54
|
- `--key <apikey>` - Provide an API key
|
|
55
55
|
- Can pass command after `--` separator
|
|
56
56
|
- `--help` - Show help message
|
|
@@ -60,19 +60,19 @@ npx @smithery/cli <command>
|
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
62
|
# Install a server (interactive client selection)
|
|
63
|
-
smithery install
|
|
63
|
+
smithery install exa
|
|
64
64
|
|
|
65
65
|
# Install a server for specific client (skips selection)
|
|
66
|
-
smithery install
|
|
66
|
+
smithery install exa --client claude
|
|
67
67
|
|
|
68
68
|
# Install a server with pre-configured data (skips prompts)
|
|
69
|
-
smithery install
|
|
69
|
+
smithery install exa --client claude --config '{"exaApiKey":"you_api_key"}'
|
|
70
70
|
|
|
71
71
|
# Remove a server (interactive client selection)
|
|
72
|
-
smithery uninstall
|
|
72
|
+
smithery uninstall exa
|
|
73
73
|
|
|
74
74
|
# Remove a server from specific client (skips selection)
|
|
75
|
-
smithery uninstall
|
|
75
|
+
smithery uninstall exa --client claude
|
|
76
76
|
|
|
77
77
|
# List installed servers (interactive)
|
|
78
78
|
smithery list
|
|
@@ -81,16 +81,16 @@ smithery list
|
|
|
81
81
|
smithery list --client claude
|
|
82
82
|
|
|
83
83
|
# Search for servers in the registry
|
|
84
|
-
smithery search
|
|
84
|
+
smithery search "web search"
|
|
85
85
|
|
|
86
86
|
# Search interactively (prompts for term)
|
|
87
87
|
smithery search
|
|
88
88
|
|
|
89
89
|
# Inspect a specific server from smithery's registry
|
|
90
|
-
smithery inspect
|
|
90
|
+
smithery inspect exa
|
|
91
91
|
|
|
92
92
|
# Run a server with configuration
|
|
93
|
-
smithery run
|
|
93
|
+
smithery run exa --config '{"key":"value"}'
|
|
94
94
|
|
|
95
95
|
# Login and set API key
|
|
96
96
|
smithery login
|