@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) • 492 B
JavaScript
import CnbApiClient from '../api/client.js';
import registerRepoTools from './repoTools.js';
import registerIssueTools from './issueTools.js';
import registerWorkspaceTools from './workspaceTools.js';
export function registerTools(server) {
CnbApiClient.initialize({
baseUrl: process.env.API_BASE_URL || 'https://api.cnb.cool',
token: process.env.API_TOKEN || ''
});
registerRepoTools(server);
registerIssueTools(server);
registerWorkspaceTools(server);
}