mcp-for-i 0.1.13 → 0.2.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/README.md +17 -0
- package/dist/config/store.js +229 -109
- package/dist/controlplane/auth.js +128 -0
- package/dist/controlplane/clientIntegrationService.js +83 -4
- package/dist/controlplane/commands.js +14 -9
- package/dist/controlplane/connectionService.js +110 -5
- package/dist/controlplane/connectionTest.js +329 -0
- package/dist/controlplane/errors.js +12 -0
- package/dist/controlplane/runtimeService.js +98 -26
- package/dist/controlplane/server.js +122 -11
- package/dist/controlplane/serverShared.js +25 -6
- package/dist/controlplane/serviceManager.js +113 -100
- package/dist/controlplane/ui.js +1742 -920
- package/dist/ibmi/CompileTools.js +29 -1
- package/dist/ibmi/IBMiContent.js +435 -63
- package/dist/ibmi/IbmDocs.js +685 -0
- package/dist/ibmi/LocalLanguageActions.js +129 -3
- package/dist/ibmi/Search.js +158 -52
- package/dist/ibmi/Tools.js +7 -10
- package/dist/ibmi/client.js +220 -31
- package/dist/ibmi/evfevent.js +256 -0
- package/dist/ibmi/knownHosts.js +190 -0
- package/dist/ibmi/libraryList.js +93 -0
- package/dist/ibmi/sourceInspect.js +815 -0
- package/dist/ibmi/sqlJob.js +888 -0
- package/dist/ibmi/sqlParse.js +317 -0
- package/dist/ibmi/tn5250/certTrust.js +59 -0
- package/dist/ibmi/tn5250/client.js +310 -0
- package/dist/ibmi/tn5250/datastream.js +109 -0
- package/dist/ibmi/tn5250/ebcdic.js +74 -0
- package/dist/ibmi/tn5250/index.js +6 -0
- package/dist/ibmi/tn5250/screen.js +827 -0
- package/dist/ibmi/tn5250/telnet.js +186 -0
- package/dist/ibmi/variables.js +18 -7
- package/dist/index.js +43 -22
- package/dist/mcp/annotations.js +155 -0
- package/dist/mcp/audit.js +490 -133
- package/dist/mcp/confirm.js +48 -0
- package/dist/mcp/context.js +43 -5
- package/dist/mcp/deployMethods.js +192 -0
- package/dist/mcp/logger.js +5 -10
- package/dist/mcp/modules/bulkMembers.js +476 -0
- package/dist/mcp/modules/changedLines.js +189 -0
- package/dist/mcp/modules/compare.js +198 -0
- package/dist/mcp/modules/compile.js +515 -0
- package/dist/mcp/modules/ifsOps.js +123 -0
- package/dist/mcp/modules/index.js +38 -0
- package/dist/mcp/modules/inspect.js +811 -0
- package/dist/mcp/modules/libl.js +246 -0
- package/dist/mcp/modules/members.js +171 -0
- package/dist/mcp/modules/objects.js +339 -0
- package/dist/mcp/modules/system.js +266 -0
- package/dist/mcp/modules/tn5250.js +515 -0
- package/dist/mcp/policy.js +412 -0
- package/dist/mcp/tools.js +1700 -698
- package/dist/security/credentialStore.js +62 -13
- package/dist/security/localPaths.js +138 -0
- package/dist/security/redact.js +79 -0
- package/dist/util/atomicWrite.js +101 -0
- package/dist/util/fileLock.js +206 -0
- package/docs/capabilities.md +50 -7
- package/docs/configuration.md +189 -60
- package/docs/examples.md +109 -73
- package/docs/overview.md +15 -15
- package/docs/security.md +101 -16
- package/docs/tools.md +363 -188
- package/package.json +56 -53
package/package.json
CHANGED
|
@@ -1,53 +1,56 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mcp-for-i",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "Local MCP server and control plane for IBM i workflows",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"homepage": "https://github.com/ashishthomas2202/mcp-for-i",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/ashishthomas2202/mcp-for-i.git"
|
|
11
|
-
},
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/ashishthomas2202/mcp-for-i/issues"
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist",
|
|
17
|
-
"README.md",
|
|
18
|
-
"docs"
|
|
19
|
-
],
|
|
20
|
-
"bin": {
|
|
21
|
-
"mcp-for-i": "dist/index.js",
|
|
22
|
-
"mcp-for-i-control": "dist/controlplane/index.js"
|
|
23
|
-
},
|
|
24
|
-
"scripts": {
|
|
25
|
-
"prepack": "npm run build",
|
|
26
|
-
"build": "tsc -p tsconfig.json",
|
|
27
|
-
"start": "node dist/index.js",
|
|
28
|
-
"start:controlplane": "node dist/controlplane/index.js",
|
|
29
|
-
"dev": "ts-node src/index.ts",
|
|
30
|
-
"dev:controlplane": "ts-node src/controlplane/index.ts",
|
|
31
|
-
"test": "npm run build && node
|
|
32
|
-
"test:all": "npm run build && node --test test/*.mjs",
|
|
33
|
-
"test:ibmi": "npm run build && node --test test/ibmi.integration.test.mjs",
|
|
34
|
-
"test:mcp": "npm run build && node --test test/mcp.integration.test.mjs",
|
|
35
|
-
"release:auto": "node scripts/release-auto.mjs patch",
|
|
36
|
-
"release:patch": "node scripts/release-auto.mjs patch",
|
|
37
|
-
"release:minor": "node scripts/release-auto.mjs minor",
|
|
38
|
-
"release:major": "node scripts/release-auto.mjs major"
|
|
39
|
-
},
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"@
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "mcp-for-i",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Local MCP server and control plane for IBM i workflows",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"homepage": "https://github.com/ashishthomas2202/mcp-for-i",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/ashishthomas2202/mcp-for-i.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/ashishthomas2202/mcp-for-i/issues"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md",
|
|
18
|
+
"docs"
|
|
19
|
+
],
|
|
20
|
+
"bin": {
|
|
21
|
+
"mcp-for-i": "dist/index.js",
|
|
22
|
+
"mcp-for-i-control": "dist/controlplane/index.js"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"prepack": "npm run build",
|
|
26
|
+
"build": "tsc -p tsconfig.json",
|
|
27
|
+
"start": "node dist/index.js",
|
|
28
|
+
"start:controlplane": "node dist/controlplane/index.js",
|
|
29
|
+
"dev": "ts-node src/index.ts",
|
|
30
|
+
"dev:controlplane": "ts-node src/controlplane/index.ts",
|
|
31
|
+
"test": "npm run build && node scripts/run-unit-tests.mjs",
|
|
32
|
+
"test:all": "npm run build && node --test test/*.mjs",
|
|
33
|
+
"test:ibmi": "npm run build && node --test test/ibmi.integration.test.mjs",
|
|
34
|
+
"test:mcp": "npm run build && node --test test/mcp.integration.test.mjs",
|
|
35
|
+
"release:auto": "node scripts/release-auto.mjs patch",
|
|
36
|
+
"release:patch": "node scripts/release-auto.mjs patch",
|
|
37
|
+
"release:minor": "node scripts/release-auto.mjs minor",
|
|
38
|
+
"release:major": "node scripts/release-auto.mjs major"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@ibm/mapepire-js": "^1.0.1",
|
|
42
|
+
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
43
|
+
"diff": "^5.2.0",
|
|
44
|
+
"keytar": "^7.9.0",
|
|
45
|
+
"node-ssh": "^13.1.0",
|
|
46
|
+
"ws": "^8.22.0",
|
|
47
|
+
"zod-to-json-schema": "^3.23.2"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/diff": "^7.0.2",
|
|
51
|
+
"@types/ws": "^8.18.2",
|
|
52
|
+
"dotenv": "^17.2.3",
|
|
53
|
+
"ts-node": "^10.9.0",
|
|
54
|
+
"typescript": "^5.4.0"
|
|
55
|
+
}
|
|
56
|
+
}
|