Skip to main content
Glama

Codebase MCP

getRemoteCodebase

Retrieve and structure a remote GitHub repository's codebase as a single text output. Customize format, include file summaries, directory structure, and filter content using patterns for focused insights.

Instructions

Retrieve a remote repository's codebase as a single text output using RepoMix

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format (xml, markdown, or plain)xml
ignorePatternsNoIgnore patterns (using glob patterns, comma-separated)
includeDirectoryStructureNoInclude directory structure
includeFileSummaryNoInclude summary of each file
includePatternsNoInclude patterns (using glob patterns, comma-separated)
removeCommentsNoRemove comments from the code
removeEmptyLinesNoRemove empty lines from the code
repoYesGitHub repository URL or shorthand format (e.g., 'username/repo')
showLineNumbersNoShow line numbers

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "format": { "default": "xml", "description": "Output format (xml, markdown, or plain)", "enum": [ "xml", "markdown", "plain" ], "type": "string" }, "ignorePatterns": { "description": "Ignore patterns (using glob patterns, comma-separated)", "type": "string" }, "includeDirectoryStructure": { "default": true, "description": "Include directory structure", "type": "boolean" }, "includeFileSummary": { "default": true, "description": "Include summary of each file", "type": "boolean" }, "includePatterns": { "description": "Include patterns (using glob patterns, comma-separated)", "type": "string" }, "removeComments": { "default": false, "description": "Remove comments from the code", "type": "boolean" }, "removeEmptyLines": { "default": false, "description": "Remove empty lines from the code", "type": "boolean" }, "repo": { "description": "GitHub repository URL or shorthand format (e.g., 'username/repo')", "type": "string" }, "showLineNumbers": { "default": true, "description": "Show line numbers", "type": "boolean" } }, "required": [ "repo" ], "type": "object" }
Install Server

Other Tools from Codebase 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/DeDeveloper23/codebase-mcp'

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