@smithery/cli 3.13.2 → 3.15.0

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/package.json CHANGED
@@ -1,93 +1,105 @@
1
1
  {
2
- "name": "@smithery/cli",
3
- "version": "3.13.2",
4
- "type": "module",
5
- "private": false,
6
- "homepage": "https://smithery.ai/",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/smithery-ai/cli.git"
10
- },
11
- "description": "An NPX command to install and list Model Context Protocols from Smithery",
12
- "main": "dist/index.js",
13
- "bin": {
14
- "smithery": "dist/index.js"
15
- },
16
- "dependencies": {
17
- "@anthropic-ai/mcpb": "^1.1.1",
18
- "@modelcontextprotocol/sdk": "^1.25.3",
19
- "@ngrok/ngrok": "^1.5.1",
20
- "@smithery/api": "0.38.0",
21
- "chalk": "^4.1.2",
22
- "cli-spinners": "^3.3.0",
23
- "commander": "^14.0.0",
24
- "cors": "^2.8.5",
25
- "cross-spawn": "^7.0.6",
26
- "esbuild": "^0.25.10",
27
- "express": "^5.1.0",
28
- "fast-glob": "^3.3.3",
29
- "flexsearch": "^0.7.43",
30
- "inquirer": "^8.2.4",
31
- "inquirer-autocomplete-prompt": "^2.0.0",
32
- "jsonc-parser": "^3.3.1",
33
- "lodash": "^4.17.21",
34
- "miniflare": "^4.20260103.0",
35
- "ora": "^8.2.0",
36
- "shx": "^0.4.0",
37
- "uuid": "^11.1.0",
38
- "uuidv7": "^1.0.2",
39
- "yaml": "^2.3.4",
40
- "zod-to-json-schema": "^3.25.1"
41
- },
42
- "devDependencies": {
43
- "@biomejs/biome": "2.3.10",
44
- "@biomejs/cli-linux-x64": "^2.3.14",
45
- "@smithery/sdk": "^4.0.1",
46
- "@types/cors": "^2.8.18",
47
- "@types/express": "^5.0.2",
48
- "@types/inquirer": "^8.2.4",
49
- "@types/inquirer-autocomplete-prompt": "^3.0.3",
50
- "@types/lodash": "^4.17.14",
51
- "@types/node": "^20.19.27",
52
- "dotenv": "^17.2.2",
53
- "knip": "^5.80.0",
54
- "tsx": "^4.19.2",
55
- "typescript": "^5.9.3",
56
- "vitest": "^3.2.4",
57
- "zod": "^4"
58
- },
59
- "peerDependencies": {
60
- "zod": "^3.20.0 || ^4"
61
- },
62
- "files": [
63
- "dist",
64
- "README.md",
65
- "package.json"
66
- ],
67
- "exports": {
68
- ".": {
69
- "import": "./dist/index.js"
70
- }
71
- },
72
- "engines": {
73
- "node": ">=20.0.0"
74
- },
75
- "optionalDependencies": {
76
- "keytar": "^7.9.0"
77
- },
78
- "scripts": {
79
- "build": "tsc && node build.mjs && shx chmod +x dist/index.js",
80
- "start": "node dist/index.js",
81
- "test:list": "tsx src/index.ts list",
82
- "test:install": "tsx src/index.ts install",
83
- "test:installed": "tsx src/index.ts installed",
84
- "extract": "tsx src/extractors/modelcontextprotocol-extractor.ts",
85
- "test:uninstall": "tsx src/index.ts uninstall",
86
- "check": "biome check",
87
- "fmt": "pnpm exec biome check --write --unsafe",
88
- "test": "vitest run",
89
- "test:watch": "vitest",
90
- "typecheck": "tsc --noEmit",
91
- "knip": "knip"
92
- }
93
- }
2
+ "name": "@smithery/cli",
3
+ "version": "3.15.0",
4
+ "type": "module",
5
+ "private": false,
6
+ "homepage": "https://smithery.ai/",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/smithery-ai/cli.git"
10
+ },
11
+ "description": "An NPX command to install and list Model Context Protocols from Smithery",
12
+ "main": "dist/index.js",
13
+ "scripts": {
14
+ "postinstall": "node scripts/postinstall.js",
15
+ "build": "tsc && node build.mjs && shx chmod +x dist/index.js",
16
+ "start": "node dist/index.js",
17
+ "test:list": "tsx src/index.ts list",
18
+ "test:install": "tsx src/index.ts install",
19
+ "test:installed": "tsx src/index.ts installed",
20
+ "extract": "tsx src/extractors/modelcontextprotocol-extractor.ts",
21
+ "test:uninstall": "tsx src/index.ts uninstall",
22
+ "prepare": "pnpm run build",
23
+ "check": "biome check",
24
+ "fmt": "pnpm exec biome check --write --unsafe",
25
+ "test": "vitest run",
26
+ "test:watch": "vitest",
27
+ "typecheck": "tsc --noEmit",
28
+ "knip": "knip"
29
+ },
30
+ "packageManager": "pnpm@10.27.0",
31
+ "pnpm": {
32
+ "onlyBuiltDependencies": [
33
+ "esbuild",
34
+ "keytar",
35
+ "@smithery/api",
36
+ "workerd"
37
+ ]
38
+ },
39
+ "bin": {
40
+ "smithery": "dist/index.js"
41
+ },
42
+ "dependencies": {
43
+ "@anthropic-ai/mcpb": "^1.1.1",
44
+ "@modelcontextprotocol/sdk": "^1.25.3",
45
+ "@ngrok/ngrok": "^1.5.1",
46
+ "@smithery/api": "0.38.0",
47
+ "chalk": "^4.1.2",
48
+ "cli-spinners": "^3.3.0",
49
+ "commander": "^14.0.0",
50
+ "cors": "^2.8.5",
51
+ "cross-spawn": "^7.0.6",
52
+ "esbuild": "^0.25.10",
53
+ "express": "^5.1.0",
54
+ "fast-glob": "^3.3.3",
55
+ "flexsearch": "^0.7.43",
56
+ "inquirer": "^8.2.4",
57
+ "inquirer-autocomplete-prompt": "^2.0.0",
58
+ "jsonc-parser": "^3.3.1",
59
+ "lodash": "^4.17.21",
60
+ "miniflare": "^4.20260103.0",
61
+ "ora": "^8.2.0",
62
+ "shx": "^0.4.0",
63
+ "uuid": "^11.1.0",
64
+ "uuidv7": "^1.0.2",
65
+ "yaml": "^2.3.4",
66
+ "zod-to-json-schema": "^3.25.1"
67
+ },
68
+ "devDependencies": {
69
+ "@biomejs/biome": "2.3.10",
70
+ "@biomejs/cli-linux-x64": "^2.3.14",
71
+ "@smithery/sdk": "^4.0.1",
72
+ "@types/cors": "^2.8.18",
73
+ "@types/express": "^5.0.2",
74
+ "@types/inquirer": "^8.2.4",
75
+ "@types/inquirer-autocomplete-prompt": "^3.0.3",
76
+ "@types/lodash": "^4.17.14",
77
+ "@types/node": "^20.19.27",
78
+ "dotenv": "^17.2.2",
79
+ "knip": "^5.80.0",
80
+ "tsx": "^4.19.2",
81
+ "typescript": "^5.9.3",
82
+ "vitest": "^3.2.4",
83
+ "zod": "^4"
84
+ },
85
+ "peerDependencies": {
86
+ "zod": "^3.20.0 || ^4"
87
+ },
88
+ "files": [
89
+ "dist",
90
+ "README.md",
91
+ "package.json",
92
+ "scripts"
93
+ ],
94
+ "exports": {
95
+ ".": {
96
+ "import": "./dist/index.js"
97
+ }
98
+ },
99
+ "engines": {
100
+ "node": ">=20.0.0"
101
+ },
102
+ "optionalDependencies": {
103
+ "keytar": "^7.9.0"
104
+ }
105
+ }
@@ -0,0 +1,25 @@
1
+ #!/usr/bin/env node
2
+
3
+ // Skip in CI environments
4
+ if (process.env.CI || process.env.SMITHERY_SUPPRESS_POSTINSTALL) {
5
+ process.exit(0)
6
+ }
7
+
8
+ const line = "=".repeat(60)
9
+
10
+ console.log(`
11
+ ${line}
12
+ Smithery CLI installed!
13
+ ${line}
14
+
15
+ Get started:
16
+ smithery --help Show all commands
17
+ smithery servers search Browse MCP servers
18
+ smithery skills search Browse skills
19
+
20
+ For agents: you should install the Smithery skill to learn how to use this CLI:
21
+ smithery skills install smithery-ai/cli --agent <agent-name>
22
+
23
+ Explore 100K+ tools and skills at https://smithery.ai
24
+ ${line}
25
+ `)