mcp-pentester-cli 1.0.0 → 1.0.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/LICENSE CHANGED
@@ -1,45 +1,42 @@
1
- INTEGSEC PROPRIETARY SOFTWARE LICENSE
1
+ INTEGSEC SOFTWARE LICENSE
2
2
 
3
3
  Copyright (c) 2025 IntegSec. All Rights Reserved.
4
4
 
5
- NOTICE: This software and associated documentation files (the "Software") are
6
- proprietary and confidential to IntegSec.
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
+ the Software, and to permit persons to whom the Software is furnished to do
9
+ so, subject to the following conditions:
7
10
 
8
- GRANT OF LICENSE:
9
- Subject to the terms and conditions of this License, IntegSec grants you a
10
- limited, non-exclusive, non-transferable, revocable license to use the Software
11
- solely for:
12
- (a) Internal security testing and penetration testing purposes
13
- (b) Educational and research purposes in an academic setting
14
- (c) Security consulting engagements conducted by authorized security professionals
11
+ 1. The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
15
13
 
16
- RESTRICTIONS:
17
- You may NOT:
18
- 1. Use the Software for any commercial purpose without a separate written
19
- commercial license agreement with IntegSec
20
- 2. Redistribute, sublicense, sell, rent, lease, or lend the Software
21
- 3. Modify, adapt, translate, reverse engineer, decompile, or disassemble
22
- the Software
23
- 4. Remove or alter any proprietary notices, labels, or marks on the Software
24
- 5. Create derivative works based upon the Software
25
- 6. Use the Software in any manner that competes with IntegSec's business
26
- 7. Transfer, assign, or sublicense your rights under this License
14
+ 2. All intellectual property rights, including but not limited to copyrights,
15
+ patents, trade secrets, and trademarks, remain the exclusive property of
16
+ IntegSec. This license does not grant any ownership rights to the Software.
27
17
 
28
- COMMERCIAL USE:
29
- Any commercial use of this Software requires a separate commercial license from
30
- IntegSec. Commercial use includes, but is not limited to:
31
- - Using the Software as part of a commercial service offering
32
- - Incorporating the Software into commercial products
33
- - Using the Software in a commercial consulting engagement for profit
34
- - Providing the Software as a managed service
18
+ 3. The Software is provided "AS IS", without warranty of any kind, express or
19
+ implied, including but not limited to the warranties of merchantability,
20
+ fitness for a particular purpose and noninfringement. In no event shall
21
+ IntegSec be liable for any claim, damages or other liability, whether in an
22
+ action of contract, tort or otherwise, arising from, out of or in connection
23
+ with the Software or the use or other dealings in the Software.
35
24
 
36
- For commercial licensing inquiries, contact: licensing@integsec.com
25
+ 4. You may not use IntegSec's name, trademarks, or other intellectual property
26
+ to endorse or promote products derived from this Software without prior
27
+ written permission from IntegSec.
28
+
29
+ 5. If you modify the Software, you must include a prominent notice stating that
30
+ you have modified it, and you must not remove or alter any copyright notices
31
+ or other proprietary notices from the Software.
37
32
 
38
33
  INTELLECTUAL PROPERTY:
39
34
  This Software is protected by copyright laws and international copyright treaties,
40
35
  as well as other intellectual property laws and treaties. IntegSec retains all
41
36
  right, title, and interest in and to the Software, including all copyrights,
42
37
  patents, trade secrets, trademarks, and other intellectual property rights.
38
+ This license grants permission to use the Software but does not transfer any
39
+ ownership or intellectual property rights.
43
40
 
44
41
  NO WARRANTY:
45
42
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
@@ -56,20 +53,4 @@ FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
56
53
  INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR
57
54
  INABILITY TO USE THIS SOFTWARE.
58
55
 
59
- TERMINATION:
60
- This License is effective until terminated. Your rights under this License will
61
- terminate automatically without notice from IntegSec if you fail to comply with
62
- any term(s) of this License. Upon termination, you shall cease all use of the
63
- Software and destroy all copies, full or partial, of the Software.
64
-
65
- GOVERNING LAW:
66
- This License shall be governed by and construed in accordance with the laws of
67
- the jurisdiction in which IntegSec is registered, without regard to its conflict
68
- of law provisions.
69
-
70
- ENTIRE AGREEMENT:
71
- This License constitutes the entire agreement between you and IntegSec relating
72
- to the Software and supersedes all prior or contemporaneous understandings
73
- regarding such subject matter.
74
-
75
56
  For questions about this License, contact: legal@integsec.com
package/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # MCP Pentester CLI
2
2
 
3
- **IntegSec Proprietary Security Tool**
4
-
5
- An interactive console tool for penetration testers to interact with Model Context Protocol (MCP) servers via JSON-RPC 2.0. Supports multiple transport protocols (stdio, HTTP/HTTPS, WebSocket) with full proxy support for tools like Burp Suite.
3
+ A free, open-source interactive console tool for penetration testers to interact with Model Context Protocol (MCP) servers via JSON-RPC 2.0. Supports multiple transport protocols (stdio, HTTP/HTTPS, WebSocket) with full proxy support for tools like Burp Suite.
6
4
 
7
5
  ![My screenshot](client-screenshot.png)
8
6
 
@@ -42,7 +40,20 @@ An interactive console tool for penetration testers to interact with Model Conte
42
40
  ### Install from npm (when published)
43
41
 
44
42
  ```bash
45
- npm install -g mcp-pentester-cli
43
+ npm install -g @integsec/mcp-pentester-cli
44
+ ```
45
+
46
+ After installation, verify it works:
47
+
48
+ ```bash
49
+ mcp-pentester-cli --version
50
+ ```
51
+
52
+ Then use the `mcp-pentester-cli` command:
53
+
54
+ ```bash
55
+ mcp-pentester-cli --help
56
+ mcp-pentester-cli connect --transport stdio --command "npx" --args "-y" "@modelcontextprotocol/server-filesystem" "/tmp"
46
57
  ```
47
58
 
48
59
  ### Install from source
@@ -58,24 +69,26 @@ Or install globally from source:
58
69
  npm install -g .
59
70
  ```
60
71
 
72
+ After global installation, use the `mcp-pentester-cli` command as shown above.
73
+
61
74
  ## Quick Start
62
75
 
63
76
  ### Connect to an MCP server via stdio
64
77
 
65
78
  ```bash
66
- mcp-cli connect --transport stdio --command "npx" --args "-y" "@modelcontextprotocol/server-filesystem" "/tmp"
79
+ mcp-pentester-cli connect --transport stdio --command "npx" --args "-y" "@modelcontextprotocol/server-filesystem" "/tmp"
67
80
  ```
68
81
 
69
82
  ### Connect via HTTP through Burp Suite
70
83
 
71
84
  ```bash
72
- mcp-cli connect --transport http --url "http://localhost:3000/mcp" --proxy-host 127.0.0.1 --proxy-port 8080
85
+ mcp-pentester-cli connect --transport http --url "http://localhost:3000/mcp" --proxy-host 127.0.0.1 --proxy-port 8080
73
86
  ```
74
87
 
75
88
  ### Connect via WebSocket through SOCKS5 (Tor)
76
89
 
77
90
  ```bash
78
- mcp-cli connect --transport wss --url "wss://api.example.com/mcp" --proxy-host 127.0.0.1 --proxy-port 9050 --proxy-protocol socks5
91
+ mcp-pentester-cli connect --transport wss --url "wss://api.example.com/mcp" --proxy-host 127.0.0.1 --proxy-port 9050 --proxy-protocol socks5
79
92
  ```
80
93
 
81
94
  ### Using Configuration Files
@@ -83,13 +96,13 @@ mcp-cli connect --transport wss --url "wss://api.example.com/mcp" --proxy-host 1
83
96
  Generate example configs:
84
97
 
85
98
  ```bash
86
- mcp-cli gen-config -o my-config.json
99
+ mcp-pentester-cli gen-config -o my-config.json
87
100
  ```
88
101
 
89
102
  Connect using a config file:
90
103
 
91
104
  ```bash
92
- mcp-cli connect --config examples/http-burp-config.json
105
+ mcp-pentester-cli connect --config examples/http-burp-config.json
93
106
  ```
94
107
 
95
108
  ## Usage
@@ -97,7 +110,7 @@ mcp-cli connect --config examples/http-burp-config.json
97
110
  ### Command Line Options
98
111
 
99
112
  ```
100
- mcp-cli connect [options]
113
+ mcp-pentester-cli connect [options]
101
114
 
102
115
  Options:
103
116
  -t, --transport <type> Transport type: stdio, http, https, ws, wss (default: "stdio")
@@ -208,7 +221,7 @@ Options:
208
221
 
209
222
  2. **Launch MCP CLI with Proxy**
210
223
  ```bash
211
- mcp-cli connect --transport https --url "https://target.com/mcp" \
224
+ mcp-pentester-cli connect --transport https --url "https://target.com/mcp" \
212
225
  --proxy-host 127.0.0.1 --proxy-port 8080
213
226
  ```
214
227
 
@@ -314,9 +327,9 @@ src/
314
327
 
315
328
  ## License
316
329
 
317
- This software is proprietary and confidential to IntegSec. See the LICENSE file for full terms and conditions.
330
+ This software is free and open source. See the LICENSE file for full terms and conditions.
318
331
 
319
- **Commercial use requires a separate license agreement. Contact: licensing@integsec.com**
332
+ **Copyright © 2025 IntegSec. All Rights Reserved.** This software is provided free of charge, but all intellectual property rights are reserved by IntegSec.
320
333
 
321
334
  ## Contributing
322
335
 
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ const fs = __importStar(require("fs"));
41
41
  const path = __importStar(require("path"));
42
42
  const program = new commander_1.Command();
43
43
  program
44
- .name('mcp-cli')
44
+ .name('mcp-pentester-cli')
45
45
  .description('Interactive console tool for pentesting MCP servers via JSON-RPC 2.0')
46
46
  .version('1.0.0');
47
47
  program
@@ -176,7 +176,7 @@ program
176
176
  fs.writeFileSync(outputPath, JSON.stringify(exampleConfigs, null, 2), 'utf-8');
177
177
  console.log(`Example configurations written to: ${outputPath}`);
178
178
  console.log('\nExample usage:');
179
- console.log(` mcp-cli connect --config ${outputPath} --transport stdio`);
179
+ console.log(` mcp-pentester-cli connect --config ${outputPath} --transport stdio`);
180
180
  console.log(' (Edit the file to select a specific config by extracting one transport)');
181
181
  });
182
182
  program.parse();
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,yCAAoC;AACpC,6CAAyC;AACzC,kCAA+B;AAE/B,uCAAyB;AACzB,2CAA6B;AAE7B,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,SAAS,CAAC;KACf,WAAW,CAAC,sEAAsE,CAAC;KACnF,OAAO,CAAC,OAAO,CAAC,CAAC;AAEpB,OAAO;KACJ,OAAO,CAAC,SAAS,CAAC;KAClB,WAAW,CAAC,0BAA0B,CAAC;KACvC,MAAM,CAAC,wBAAwB,EAAE,6CAA6C,EAAE,OAAO,CAAC;KACxF,MAAM,CAAC,iBAAiB,EAAE,mCAAm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KAAK,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "mcp-pentester-cli",
3
- "version": "1.0.0",
4
- "description": "Interactive console tool for pentesting MCP servers via JSON-RPC 2.0 - IntegSec Proprietary",
3
+ "version": "1.0.1",
4
+ "description": "Interactive console tool for pentesting MCP servers via JSON-RPC 2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "bin": {
8
- "mcp-cli": "./dist/index.js"
8
+ "mcp-pentester-cli": "dist/index.js"
9
9
  },
10
10
  "files": [
11
11
  "dist/**/*",
@@ -17,11 +17,27 @@
17
17
  "build": "tsc",
18
18
  "start": "node dist/index.js",
19
19
  "dev": "ts-node src/index.ts",
20
- "prepublishOnly": "npm run build"
20
+ "prepublishOnly": "npm run build",
21
+ "version:patch": "npm version patch --no-git-tag-version",
22
+ "version:minor": "npm version minor --no-git-tag-version",
23
+ "version:major": "npm version major --no-git-tag-version",
24
+ "prepack": "npm run build"
21
25
  },
22
- "keywords": ["mcp", "pentesting", "json-rpc", "cli", "tui", "integsec", "security"],
26
+ "keywords": [
27
+ "mcp",
28
+ "pentesting",
29
+ "json-rpc",
30
+ "cli",
31
+ "tui",
32
+ "integsec",
33
+ "security"
34
+ ],
23
35
  "author": "IntegSec",
24
36
  "license": "SEE LICENSE IN LICENSE",
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/integsec/mcp-pentester-cli.git"
40
+ },
25
41
  "engines": {
26
42
  "node": ">=18.0.0"
27
43
  },
@@ -29,16 +45,16 @@
29
45
  "blessed": "^0.1.81",
30
46
  "blessed-contrib": "^4.11.0",
31
47
  "commander": "^11.1.0",
32
- "ws": "^8.16.0",
33
48
  "http-proxy-agent": "^7.0.0",
34
49
  "https-proxy-agent": "^7.0.2",
35
- "socks-proxy-agent": "^8.0.2"
50
+ "socks-proxy-agent": "^8.0.2",
51
+ "ws": "^8.16.0"
36
52
  },
37
53
  "devDependencies": {
38
- "@types/node": "^20.11.5",
39
54
  "@types/blessed": "^0.1.25",
55
+ "@types/node": "^20.11.5",
40
56
  "@types/ws": "^8.5.10",
41
- "typescript": "^5.3.3",
42
- "ts-node": "^10.9.2"
57
+ "ts-node": "^10.9.2",
58
+ "typescript": "^5.3.3"
43
59
  }
44
60
  }