github_repo_reader
Reads source files from local repositories, excluding Git files, node_modules, binaries, and large files. Returns directory structure and file contents for development analysis.
Instructions
Recursively reads all source files in a local repository directory. Automatically ignores .git, node_modules, binary files, and large files (>500KB). Returns a directory tree and the full content of each readable file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_path": "<repo_path>"
},
"name": "github_repo_reader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Absolute path to the local repository root. Windows example: C:\Users\YourName\Projects\my-repo | |
| max_files | No | Maximum number of files to return (default: 100, max: 500). |