Skip to main content
Glama

CodeAnalysis MCP Server

by 0xjcf

get-file

Extract specific file content from a codebase by specifying its path and optional line range using this tool, enabling precise code analysis and workflow integration on the CodeAnalysis MCP Server.

Input Schema

NameRequiredDescriptionDefault
endLineNoEnding line number (1-based)
pathYesRelative path to the file
startLineNoStarting line number (1-based)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "endLine": { "description": "Ending line number (1-based)", "type": "number" }, "path": { "description": "Relative path to the file", "type": "string" }, "startLine": { "description": "Starting line number (1-based)", "type": "number" } }, "required": [ "path" ], "type": "object" }

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/0xjcf/MCP_CodeAnalysis'

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