Skip to main content
Glama

Code Merge MCP

by yy1588133

analyze_code

Analyze code files to retrieve statistics such as line counts and function counts. Specify a file or directory path and optionally filter by language to gain insights into code structure and metrics.

Instructions

Analyzes code files and provides statistics.

Input Schema

NameRequiredDescriptionDefault
countFunctionsNoWhether to count functions.
countLinesNoWhether to count lines of code.
languageNoOptional language filter.
pathYesThe target file or directory path.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "countFunctions": { "description": "Whether to count functions.", "type": "boolean" }, "countLines": { "description": "Whether to count lines of code.", "type": "boolean" }, "language": { "description": "Optional language filter.", "type": "string" }, "path": { "description": "The target file or directory path.", "type": "string" } }, "required": [ "path" ], "type": "object" }

Other Tools from Code Merge MCP

Related Tools

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/yy1588133/code-merge-mcp'

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