@smithery/cli 4.0.0-preview.0 → 4.0.0-preview.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.
Files changed (3) hide show
  1. package/README.md +8 -10
  2. package/dist/index.js +329 -672
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Smithery CLI [![NPM Version](https://img.shields.io/npm/v/%40smithery%2Fcli)](https://www.npmjs.com/package/@smithery/cli) [![NPM Downloads](https://img.shields.io/npm/dt/%40smithery%2Fcli)](https://www.npmjs.com/package/@smithery/cli)
2
2
 
3
- CLI for discovering, installing, and using MCP servers and skills via [Smithery](https://smithery.ai). Connect your agents to thousands of skills and MCP servers from the Smithery registry.
3
+ Smithery CLI connects your agents to thousands of skills and MCP servers directly from the command line. To get started, simply run `npx skills add smithery/cli`.
4
4
 
5
5
  ## Installation
6
6
 
@@ -25,6 +25,7 @@ smithery mcp remove <ids...> # Remove connections
25
25
  ```bash
26
26
  smithery tools list [connection] # List available tools
27
27
  smithery tools search <query> # Search tools by intent
28
+ smithery tools get <connection/tool> # Show full details for one tool
28
29
  smithery tools call <connection> <tool> [args] # Call a tool
29
30
  ```
30
31
 
@@ -52,6 +53,8 @@ smithery skills review downvote <skill> <review-id> # Downvote a review
52
53
  smithery auth login # Login with Smithery (OAuth)
53
54
  smithery auth logout # Log out
54
55
  smithery auth whoami # Check current user
56
+ smithery auth token # Mint a service token
57
+ smithery auth token --policy '<json>' # Mint a restricted token
55
58
  ```
56
59
 
57
60
  ### Namespaces
@@ -59,16 +62,12 @@ smithery auth whoami # Check current user
59
62
  ```bash
60
63
  smithery namespace list # List your namespaces
61
64
  smithery namespace use <name> # Set current namespace
62
- smithery namespace search [query] # Search public namespaces
63
65
  ```
64
66
 
65
- ### Development
67
+ ### Publishing
66
68
 
67
69
  ```bash
68
- smithery mcp dev [entry] # Dev server with hot-reload and tunnel
69
- smithery mcp build [entry] # Build for production
70
- smithery mcp publish [entry] # Publish to Smithery
71
- smithery mcp playground # Open interactive testing UI
70
+ smithery mcp publish <url> -n <org/server> # Publish an MCP server URL
72
71
  ```
73
72
 
74
73
  ## Examples
@@ -86,9 +85,8 @@ smithery tools call github create_issue '{"title":"Bug fix","body":"..."}'
86
85
  smithery skills search "frontend" --json --page 2
87
86
  smithery skills install anthropics/frontend-design --agent claude-code
88
87
 
89
- # Development
90
- smithery mcp dev server.ts --port 3000
91
- smithery mcp build --out dist
88
+ # Publish your MCP server URL
89
+ smithery mcp publish "https://my-mcp-server.com" -n myorg/my-server
92
90
  ```
93
91
 
94
92
  ## Development