@smithery/cli 0.0.22 → 0.0.23
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 +21 -28
- package/dist/index.js +56 -59
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# smithery/cli
|
|
2
2
|
|
|
3
|
-
A lightweight registry and
|
|
3
|
+
A lightweight registry and manager for Model Context Protocol (MCP) servers, designed to be client-agnostic.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -16,45 +16,38 @@ npx @smithery/cli <command>
|
|
|
16
16
|
|
|
17
17
|
### Available Commands
|
|
18
18
|
|
|
19
|
-
- `
|
|
20
|
-
- `install <
|
|
21
|
-
- `--client <name>` - Specify
|
|
22
|
-
- `uninstall <
|
|
23
|
-
- `
|
|
24
|
-
- `
|
|
25
|
-
- `inspect` - Inspect available servers and primitives
|
|
19
|
+
- `installed` - List installed servers (interactive browser)
|
|
20
|
+
- `install <server>` - Install a server
|
|
21
|
+
- `--client <name>` - Specify LLM client (e.g. claude)
|
|
22
|
+
- `uninstall <server>` - Remove an installed server
|
|
23
|
+
- `view <server>` - Show server details
|
|
24
|
+
- `inspect` - Interactive server inspection tool
|
|
26
25
|
|
|
27
26
|
### Examples
|
|
28
27
|
|
|
29
28
|
```bash
|
|
30
|
-
# Browse
|
|
31
|
-
npx @smithery/cli
|
|
29
|
+
# Browse installed servers
|
|
30
|
+
npx @smithery/cli installed
|
|
32
31
|
|
|
33
|
-
# Install a
|
|
32
|
+
# Install a server (defaults to --client claude)
|
|
34
33
|
npx @smithery/cli install mcp-obsidian
|
|
35
34
|
|
|
36
35
|
# Install for specific client
|
|
37
36
|
npx @smithery/cli install mcp-obsidian --client claude
|
|
38
37
|
|
|
39
|
-
# View
|
|
40
|
-
npx @smithery/cli
|
|
38
|
+
# View server details
|
|
39
|
+
npx @smithery/cli view mcp-obsidian
|
|
41
40
|
|
|
42
|
-
# Remove a
|
|
41
|
+
# Remove a server
|
|
43
42
|
npx @smithery/cli uninstall mcp-obsidian
|
|
44
43
|
|
|
45
|
-
#
|
|
46
|
-
npx @smithery/cli get mcp-obsidian
|
|
47
|
-
|
|
48
|
-
# Inspect servers
|
|
44
|
+
# Inspect installed servers
|
|
49
45
|
npx @smithery/cli inspect
|
|
50
46
|
```
|
|
51
47
|
|
|
52
48
|
### Important Notes
|
|
53
49
|
|
|
54
|
-
-
|
|
55
|
-
1. Confirm installation
|
|
56
|
-
2. Select runtime (Node.js/Python)
|
|
57
|
-
- Remember to restart Claude after uninstalling packages
|
|
50
|
+
- Remember to restart Claude after uninstalling server
|
|
58
51
|
- Use the `inspect` command for interactive server testing
|
|
59
52
|
- Run without arguments to see the help menu
|
|
60
53
|
|
|
@@ -66,7 +59,7 @@ This guide will help you get started with developing for @smithery/cli.
|
|
|
66
59
|
|
|
67
60
|
1. Clone the repository:
|
|
68
61
|
```bash
|
|
69
|
-
git clone
|
|
62
|
+
git clone https://github.com/smithery-ai/cli
|
|
70
63
|
cd cli
|
|
71
64
|
```
|
|
72
65
|
|
|
@@ -83,14 +76,14 @@ This guide will help you get started with developing for @smithery/cli.
|
|
|
83
76
|
### Development Commands
|
|
84
77
|
|
|
85
78
|
```bash
|
|
86
|
-
# List all
|
|
79
|
+
# List all servers
|
|
87
80
|
npx . list
|
|
88
81
|
|
|
89
|
-
# Get details about a specific
|
|
90
|
-
npx . get <
|
|
82
|
+
# Get details about a specific server
|
|
83
|
+
npx . get <server-id>
|
|
91
84
|
|
|
92
|
-
# Install a
|
|
93
|
-
npx . install <
|
|
85
|
+
# Install a server
|
|
86
|
+
npx . install <server-name>
|
|
94
87
|
```
|
|
95
88
|
|
|
96
89
|
## Contributing
|