Tabby MCP stdio bridge to HTTP tools
npm install tabby-mcp-stdioThis is a bridge server that connects a stdio interface to the HTTP endpoints of Tabby MCP.
``bash`
npm install
npm run build
`bashStart with default settings
npm start
Environment Variables
You can also configure the bridge using environment variables:
-
TABBY_MCP_PORT: Port of the main Tabby MCP server (default: 3001)
- TABBY_LOG_ENABLED: Set to '1' to enable logging
- TABBY_LOG_FILE: Path to log file
- TABBY_LOG_LEVEL: Log level (none, error, info, debug)Development
`bash
npm run dev
`Logging
The bridge supports logging to a file with different log levels. You can enable or disable logging at runtime using the toggle-logging utility:
`bash
Enable logging
npm run toggle-logging -- --enable --log-file ~/logs/tabby.logDisable logging
npm run toggle-logging -- --disableChange log level
npm run toggle-logging -- --log-level debugCheck current logging status
npm run toggle-logging -- --status
`After installation, you can also use the global command:
`bash
tabby-toggle-logging --enable --log-file ~/logs/tabby.log
`The logging configuration is stored in a
.tabby-mcp-logging.json` file in the current directory and can be reloaded without restarting the server.