@smithery/cli 1.1.24 → 1.1.26

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.
Files changed (3) hide show
  1. package/README.md +28 -25
  2. package/dist/index.js +72 -89
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Smithery CLI ![NPM Version](https://img.shields.io/npm/v/%40smithery%2Fcli)
1
+ # Smithery CLI ![NPM Version](https://img.shields.io/npm/v/%40smithery%2Fcli) ![NPM Downloads](https://img.shields.io/npm/dt/%40smithery%2Fcli)
2
2
 
3
3
  The Smithery registry installer and manager for Model Context Protocol (MCP) servers, designed to be client-agnostic.
4
4
 
@@ -13,40 +13,40 @@ npx @smithery/cli <command>
13
13
 
14
14
  ### Available Commands
15
15
 
16
- - `installed` - List installed servers (interactive browser)
17
- - `install <server>` - Install a server
18
- - `--client <name>` - Specify LLM client (e.g. claude)
19
- - `uninstall <server>` - Remove an installed server
20
- - `view <server>` - Show server details
21
- - `inspect` - Interactive server inspection tool
16
+ - `install <package>` - Install a package
17
+ - `--client <name>` - Specify the AI client
18
+ - `uninstall <package>` - Uninstall a package
19
+ - `--client <name>` - Specify the AI client
20
+ - `inspect <server-id>` - Inspect a server interactively
21
+ - `run <server-id>` - Run a server
22
+ - `--config <json>` - Provide configuration for the server
23
+ - `--verbose` - Show detailed logs for debugging
22
24
 
23
25
  ### Examples
24
26
 
25
27
  ```bash
26
- # Browse installed servers
27
- npx @smithery/cli installed
28
-
29
- # Install a server (defaults to --client claude)
30
- npx @smithery/cli install mcp-obsidian
31
-
32
- # Install for specific client
28
+ # Install a server (requires --client flag)
33
29
  npx @smithery/cli install mcp-obsidian --client claude
34
30
 
35
- # View server details
36
- npx @smithery/cli view mcp-obsidian
37
-
38
31
  # Remove a server
39
- npx @smithery/cli uninstall mcp-obsidian
32
+ npx @smithery/cli uninstall mcp-obsidian --client claude
40
33
 
41
- # Inspect installed servers
42
- npx @smithery/cli inspect
34
+ # Inpsect a specific server from smithery's registry
35
+ npx @smithery/cli inspect mcp-obsidian
36
+
37
+ # Run a server with configuration
38
+ npx @smithery/cli run mcp-obsidian --config '"{\\"key\\":\\"value\\"}"'
39
+
40
+ # Install with verbose logging for debugging
41
+ npx @smithery/cli install mcp-obsidian --client claude --verbose
43
42
  ```
44
43
 
45
44
  ### Important Notes
46
45
 
47
- - Remember to restart Claude after uninstalling server
46
+ - Remember to restart your AI client after installing or uninstalling servers
48
47
  - Use the `inspect` command for interactive server testing
49
48
  - Run without arguments to see the help menu
49
+ - Use `--verbose` flag for detailed logs when troubleshooting
50
50
 
51
51
  ## Development
52
52
 
@@ -74,13 +74,16 @@ This guide will help you get started with developing for @smithery/cli.
74
74
 
75
75
  ```bash
76
76
  # List all servers
77
- npx . list
77
+ npx . <command>
78
78
 
79
- # Get details about a specific server
80
- npx . get <server-id>
79
+ # Inspect a specific server
80
+ npx . inspect <server-id>
81
81
 
82
82
  # Install a server
83
- npx . install <server-name>
83
+ npx . install <server-name> --client <client-name>
84
+
85
+ # Run with verbose logging
86
+ npx . <command> --verbose
84
87
  ```
85
88
 
86
89
  ## Contributing