opgates-relay
v1.0.0
Published
A universal proxy bridge that securely tunnels native Model Context Protocol (MCP) STDIO servers (like Postgres/SQLite/MySQL) to OPGates workspaces via Cloudflared + SSE.
Maintainers
Readme
@opgates/relay
This package is the universal "Bridge" CLI that securely connects local or private Model Context Protocol (MCP) compatible databases to OPGates.
Step-by-Step: Publishing to NPM
As a developer on the OPGates core team, you are responsible for publishing updates to this NPX package. The AI will write the code here in the monorepo, but you must manually publish it for security reasons.
Here is exactly what you need to do:
Open your Terminal Ensure you are cd'd into this specific package directory:
cd e:/sofware/OPGates/packages/relayAuthenticate with NPM (If not already logged in)
npm login # (Enter your username, password, and 2FA code for the @opgates NPM organization)Verify the Build The AI likely already ran
npm run build, but you can do it again just to be safe.npm run buildPublish the Package Publicly Because this package is scoped (it starts with
@opgates/), NPM makes scoped packages private by default. OPGates AI users need this to be public so they can runnpx @opgates/relaywithout authentication.Run the following command:
npm publish --access publicVerify the Publish You should see output similar to
+ @opgates/[email protected]. You can verify it worked by opening a completely separate terminal and runningnpx -y @opgates/relay --help.
Note: If you need to publish an update later, the AI will bump the "version": "1.0.1" in package.json, and you simply rerun Step 3 & 4.
