Skip to main content
Glama

Aibolit MCP Server

by cqfn
tools.ts859 B
// SPDX-FileCopyrightText: Copyright (c) 2025 Yegor Bugayenko // SPDX-License-Identifier: MIT import { z } from 'zod'; import { aibolit } from './aibolit'; import { safe } from './safe'; import { to_gpt } from './to_gpt'; import { server } from './server'; server.tool( 'find_the_most_critical_design_issue', to_gpt( ` Analyze one Java file. Find the most serious design flaw. It must need immediate refactoring. Ignore cosmetic or minor issues. Fix the one problem that will best improve code quality. Code quality means maintainability, readability, loose coupling, and high cohesion. Point out the problem and where it is in the file. ` ), { path: z.string() }, async ({ path }) => { return ({ content: [{ text: await safe(() => aibolit(path)), type: 'text' }] }); } );

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cqfn/aibolit-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server