@ianptech/quoting-bridge
v0.1.1
Published
Stdio-to-HTTP bridge so Claude Code can talk to the Paneltech Quoting MCP server
Downloads
27
Readme
Paneltech Quoting Bridge
A local stdio bridge that lets Claude Code talk to the Paneltech Quoting MCP server.
Install
You need Node.js 18+ and Claude Code. Two steps:
1. Install the bridge globally:
npm install -g @ianptech/quoting-bridge2. Register it with Claude Code, replacing YOUR_TOKEN with the personal access token you generate in the "Get a token" section below:
claude mcp add --scope user --env=MCP_BRIDGE_TOKEN=YOUR_TOKEN piq-quoting -- quoting-bridgeThe
--env=KEY=VALUEattached form (with the=sign, no space) is required — Claude Code's CLI parser treats--env KEY=VALUE(with a space) as variadic and gobbles subsequent arguments. This is a Claude Code quirk, not a bridge issue.
To upgrade later: npm install -g @ianptech/quoting-bridge@latest.
Get a token
- Sign in to the Paneltech scheduler at https://paneltech-scheduler-production.up.railway.app.
- Open your Account page (top-right menu).
- Click Generate token, copy the value (it is only shown once), and paste it into the command above.
Override the server URL (optional)
By default the bridge talks to the production server at https://quoting-mcp-production.up.railway.app/mcp. To point at staging or a self-hosted server, add another --env= flag to the install command:
claude mcp add --scope user --env=MCP_BRIDGE_TOKEN=YOUR_TOKEN --env=MCP_BRIDGE_URL=https://staging.example.com/mcp piq-quoting -- quoting-bridgeVerify
After running claude mcp add, restart Claude Code and run /mcp. The piq-quoting server should show as connected with seven tools.
Troubleshooting
- "MCP_BRIDGE_TOKEN env var must be set" — the token env var is missing from the Claude Code config. Re-run the install command.
- "failed to connect to upstream" — check VPN / firewall, then try opening the server URL in a browser.
- 401 errors when calling tools — the token has been revoked or mistyped. Generate a new one from the Account page and re-run the install command.
Source
Source code lives in bridge/ of the paneltech-scheduler repo. License: MIT.
