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

12 lines (11 loc) 432 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.getUser = getUser; const client_js_1 = __importDefault(require("./client.js")); async function getUser() { const cnbInst = client_js_1.default.getInstance(); return cnbInst.request('GET', '/user'); }