analyze-metrics
Analyze code metrics by specifying a repository path, enabling file-level or function-level insights with the CodeAnalysis MCP Server.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
includeFiles | No | Include file-level metrics in the output | |
includeFunctions | No | Include function-level metrics in the output | |
repositoryPath | Yes | Path to the repository to analyze |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"includeFiles": {
"default": true,
"description": "Include file-level metrics in the output",
"type": "boolean"
},
"includeFunctions": {
"default": false,
"description": "Include function-level metrics in the output",
"type": "boolean"
},
"repositoryPath": {
"description": "Path to the repository to analyze",
"type": "string"
}
},
"required": [
"repositoryPath"
],
"type": "object"
}