Skip to main content
Glama

Codacy MCP Server

Official
by codacy
listFilesTool.ts1.11 kB
import { CodacyTool, getPaginationWithSorting, repositorySchema, toolNames } from '../schemas.js'; export const listFilesTool: CodacyTool = { name: toolNames.CODACY_LIST_FILES, description: "List files in a repository with pagination. Supports sorting by various metrics (coverage, grade, issues, etc.) and filtering. Use sort='coverage' and direction='desc' to efficiently find files with high coverage, or sort='grade' for code quality analysis. Use search to filter files by name. ", inputSchema: { type: 'object' as const, properties: { ...repositorySchema, ...getPaginationWithSorting( "Field used to sort the list of files. The allowed values are 'filename', 'issues', 'grade', 'duplication', 'complexity', and 'coverage'." ), branch: { type: 'string', description: 'Name of a repository branch enabled on Codacy', }, search: { type: 'string', description: 'Filter files that include this string anywhere in their relative path', }, }, required: ['provider', 'organization', 'repository'], }, };

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/codacy/codacy-mcp-server'

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