mcp-for-i
v0.1.11
Published
Local MCP server and control plane for IBM i workflows
Downloads
837
Readme
MCP-for-i
mcp-for-i is a local MCP server + control plane for IBM i workflows. It provides secure connection onboarding, keychain-backed credentials, runtime update controls, and IBM i tools for agent-driven operations.
Install
Install globally from npm:
npm i -g mcp-for-iVerify commands:
mcp-for-i --help
mcp-for-i-control helpQuick Start
- Start the local control plane:
mcp-for-i-control serve- Open the UI at:
http://127.0.0.1:3980- Add IBM i connection profiles in the UI. Passwords are stored in the OS keychain, not plain config.
Background Startup (Windows)
Enable startup at login:
mcp-for-i-control setupCheck status:
mcp-for-i-control statusDisable startup:
mcp-for-i-control removeUpdate and Version Management
Update to latest globally:
npm i -g mcp-for-i@latestInstall a specific version:
npm i -g [email protected]Rollback example:
npm i -g [email protected]Check current installed version:
mcp-for-i --versionControl Plane Runtime Actions
In the UI, runtime buttons behave as follows:
Install/Repair MCP- If running from a git checkout: runs local dependency repair/build.
- If running as npm-installed package: runs global npm install/repair for latest package.
Update MCP- If running from a git checkout: pulls latest changes from
origin/<current-branch>, then installs/builds. - If running as npm-installed package: upgrades global npm package to latest.
- On Windows global installs, update runs in a detached updater and briefly restarts control plane to avoid file-lock (
EBUSY) errors.
- If running from a git checkout: pulls latest changes from
Update Skills- Pulls/clones the configured skills repository and branch into the local
skillsdirectory.
- Pulls/clones the configured skills repository and branch into the local
Development (Git Checkout)
For contributors working from source:
npm install
npm run build
npm test
npm run start:controlplaneAutomated Release (No Manual Version Bump)
Use the release script instead of raw npm publish.
Patch release:
npm run release:patchMinor release:
npm run release:minorMajor release:
npm run release:majorWhat it does:
- Verifies git working tree is clean.
- Runs
npm test(unless--skip-testsis passed). - Checks npm published version.
- Auto-bumps version only when local version is not ahead.
- Publishes to npm.
- Pushes commit/tag to GitHub.
Optional flags:
npm run release:patch -- --skip-tests
npm run release:patch -- --otp=123456
npm run release:patch -- --no-pushSecurity Model
- Credential-bearing direct tool arguments are blocked for connection creation/update flows.
- Passwords are stored in keychain when available.
- Control plane is local-first (
127.0.0.1by default). - Guarded policy profile is the default for operational safety.
- Tool schemas are strict (
additionalProperties: false) with runtime argument validation, including nested connection/action/filter/profile payloads. - QSYS object names and source settings are validated before command execution to reduce interpolation and injection risk.
Links
- Main repo: ashishthomas2202/mcp-for-i
- Skills repo: ashishthomas2202/mcp-for-i-skills
- Docs:
docs/ - Full capability guide:
docs/capabilities.md
