KMJ CodeBridge
OfficialProvides bounded Git status inspection for local repositories, with fsmonitor disabled, as part of the coding bridge's toolset.
Allows ChatGPT to connect to the CodeBridge gateway via a plugin package and remote MCP, enabling controlled AI-assisted development tasks such as reading and writing files, searching code, running quality gates, and inspecting Git status on authorized devices.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@KMJ CodeBridgecheck git status on my dev VPS project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
KMJ CodeBridge
Connect your systems. Build with AI.
KMJ CodeBridge is a secure, vendor-neutral MCP coding bridge for controlled AI-assisted development across authorized computers and VPSs. ChatGPT, Claude.ai, Claude Desktop, Claude Code and other MCP clients use the same gateway, tools and security controls. Commercial licensing belongs to KMJ Main Platform.
Status: executable developer preview, not production GA
This repository includes a real Streamable HTTP MCP gateway using the official SDK, an outbound-polling device agent, scoped file operations, administrator-defined quality gates, durable job results and an Ed25519 entitlement verifier. The tests exercise a real MCP client, gateway and agent over loopback HTTP.
Not yet delivered: public hosted endpoint, live OAuth account linking, live Main Platform billing/renewal adapter, native Rust agent, signed OS installers, public plugin or connector approval (OpenAI or Anthropic), SSO, or a production security certification. A source upload is not a connected ChatGPT or Claude installation. See status.
Related MCP server: SoloCore Agent Gateway
Supported AI clients
Client | How it connects | Current state |
ChatGPT | Plugin package + remote MCP | Package tested; live connection needs hosted OAuth |
Claude Code |
| Plugin validated by |
Claude Desktop | Custom connector to a public HTTPS | Documented; needs hosted endpoint and OAuth |
Claude.ai | Custom connector to a public HTTPS | Documented; not available until hosting and OAuth |
Other MCP | Streamable HTTP with bearer or MCP OAuth | Covered by the vendor-neutral interop contract |
All clients share one tool contract, one skill and one security model. Setup, prerequisites and limits for each client are in AI client support.
Quick start
Requires Node.js 24 and npm. Use a disposable development project initially.
npm ci --ignore-scripts
npm run check
npm test
npm run scan:secrets
npm run init -- /absolute/private-codebridge-config /absolute/development-project
npm run gateway -- /absolute/private-codebridge-config/gateway.jsonIn a second terminal:
npm run agent -- /absolute/private-codebridge-config/agent.jsonThe configuration directory must be outside the project. Initial access is read-only.
The initializer generates credentials, stores only hashes at the gateway and writes
no credentials to terminal output. Never commit or paste the generated files in chat.
On Windows, use absolute Windows paths and restrict configuration ACLs to the service
account. Unix configuration mode must be 0600.
A compatible MCP client can connect to http://127.0.0.1:8787/mcp using the bearer
credential from client-token.txt, for example Claude Code (see
AI client support). That is a local developer
connection, not a public ChatGPT or Claude endpoint. For remote connections, configure TLS and the approved hostname;
plain HTTP agents are limited to loopback. See deployment.
To enable editing, set the chosen project's writable to true in the private agent
configuration. Add explicitly approved commands under gates, for example:
{
"unit": { "command": "/usr/bin/node", "args": ["--test"], "timeoutMs": 30000 }
}Use the actual absolute executable path on your machine. No shell is used. A gate runs real project code and is not a sandbox; run untrusted code in a separately isolated VM/container without host credentials.
Tools
Tool | Behavior |
| Devices and projects allowed for the authenticated tenant |
| Capabilities and connection information |
| Bounded Git status with fsmonitor disabled |
| Bounded UTF-8 reads and literal search, secret-path exclusions |
| Expected-hash guarded replacements; no blind overwrite |
| Fixed administrator-configured command and arguments |
| Recorded state, output, exit code and process cancellation |
The gateway routes to devices that poll outbound; it cannot independently read their files. Authorization is enforced at both the gateway and the agent. Devices do not need an inbound port. File writes use bounded synchronous precondition checks and atomic replacement; this is not a kernel security boundary against a malicious local process racing the agent.
Licensing and packaging
The preview has an explicit Free mode limited to one configured project and one concurrent job. Signed mode verifies an administrator-installed entitlement bound to the tenant and device. It does not manufacture trials or call a pretend billing endpoint. See licensing contract.
The source plugin contains no fabricated MCP URL. Once a real approved HTTPS endpoint with compatible authentication is available:
npm run package:plugin -- https://YOUR-ACTUAL-HOST/mcp # ChatGPT / OpenAI package
npm run package:claude -- https://YOUR-ACTUAL-HOST/mcp # Claude Code plugin + marketplaceBoth build from the same plugin/ metadata and skill and write only to dist/ (or
an empty --out directory). They do not publish anything, add OAuth or check that
the endpoint is reachable. npm run package:claude -- URL --auth bearer-env makes
Claude Code read the bearer credential from KMJ_CODEBRIDGE_TOKEN; no credential is
ever written into a package. The bearer-auth developer preview requires a client
capable of supplying a header; production OAuth account linking for ChatGPT and
Claude is an outstanding integration gate.
Documentation
If this project is useful, star the repository and share a reproducible feature request. Please do not post credentials, source-code secrets or customer data in issues.
License
Copyright 2026 KMJ TECHNO.
KMJ CodeBridge is open-source software licensed under the Apache License 2.0. The license permits use, modification and distribution subject to its terms. The Apache License does not grant permission to use KMJ TECHNO trade names, trademarks, service marks or product names except as allowed by the license.
This server cannot be deployed
Maintenance
Related MCP Connectors
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
- gatewayOAuthai.sealgate
MCP gateway with runtime security policy, tool-call-level control, and audit of agent actions.
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Remote MCP for A2A caller identity, scope policy, verdict receipts, and audit history.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables cloud agents to securely operate local machine resources (files, commands, screenshots) via standard MCP protocol.MIT
- AlicenseNot gradedqualityAmaintenanceEnables local agents to securely connect to a managed hub via outbound connections, exposing controlled capabilities to MCP and A2A clients without requiring public inbound ports.Apache 2.0
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients to safely access user-local filesystems, apply validated patches, inspect git state, and run persistent jobs on outbound-connected local runners through a stateless Cloudflare control plane.16-
- AlicenseNot gradedqualityBmaintenanceEnables agent clients to safely connect to tools and execution resources through MCP with authorization, approvals, audit, chat-context isolation, SSH/Docker access, and long-running command session tracking.MIT