UNPKG

@cnbcool/mcp-server

Version:

CNB MCP Server. A comprehensive MCP server that provides seamless integration to the CNB's API(https://cnb.cool), offering a wide range of tools for repository management, pipelines operations and collaboration features

14 lines (13 loc) 396 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.stopWithWrongTransport = stopWithWrongTransport; function stopWithWrongTransport(res) { res.status(400).json({ jsonrpc: '2.0', error: { code: -32000, message: 'Bad Request: Session exists but uses a different transport protocol' }, id: null }); }