UNPKG

code-auditor-mcp

Version:

Multi-language code quality auditor with MCP server - Analyze TypeScript, JavaScript, and Go code for SOLID principles, DRY violations, security patterns, and more

26 lines 890 B
import { BaseConfigGenerator } from './BaseConfigGenerator.js'; import { resolve } from 'path'; export class ClineConfigGenerator extends BaseConfigGenerator { getToolName() { return 'Cline'; } getFilename() { return '.cline/mcp-config.json'; } generateConfig() { const config = { mcpServers: { 'code-index': { command: 'node', args: [resolve(process.cwd(), 'dist/mcp.js'), '--mcp-mode'] } } }; return { filename: this.getFilename(), content: this.formatJson(config), instructions: 'Place in .cline/mcp-config.json and restart Cline' }; } getInstructions() { return 'Cline configuration instructions...'; } requiresAuth() { return false; } } //# sourceMappingURL=ClineConfigGenerator.js.map