GitHub Repository MCP Server

get-repo-context

Fetch and organize all files from a GitHub repository to provide context for AI interactions. Specify file extensions, exclude paths, and set max files for tailored results.

Instructions

Get all files from a GitHub repository to use as context

Input Schema

NameRequiredDescriptionDefault
excludePathsNoPaths to exclude (e.g., ['node_modules', 'dist'])
fileExtensionsNoFile extensions to include (e.g., ['js', 'ts', 'md'])
maxFilesNoMaximum number of files to include (default: 50)
ownerYesGitHub repository owner/organization name
repoYesGitHub repository name

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "excludePaths": { "description": "Paths to exclude (e.g., ['node_modules', 'dist'])", "items": { "type": "string" }, "type": "array" }, "fileExtensions": { "description": "File extensions to include (e.g., ['js', 'ts', 'md'])", "items": { "type": "string" }, "type": "array" }, "maxFiles": { "description": "Maximum number of files to include (default: 50)", "type": "number" }, "owner": { "description": "GitHub repository owner/organization name", "type": "string" }, "repo": { "description": "GitHub repository name", "type": "string" } }, "required": [ "owner", "repo" ], "type": "object" }

You must be authenticated.

Other Tools from GitHub Repository MCP Server

Related Tools

ID: ncc1bjxpdm