get_file_contents
Retrieve file or directory contents from a GitHub repository by specifying the owner, repository name, and path. Use this tool to access specific resources within a repository for integration, analysis, or other workflows.
Instructions
Get the contents of a file or directory from a GitHub repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | Branch to get contents from | |
owner | Yes | Repository owner (username or organization) | |
path | Yes | Path to the file or directory | |
repo | Yes | Repository name |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from GitHub MCP Server
Related Tools
- @PhialsBasement/mcp-github-server-plus
- @asbloom-py/mcp-servers
- @puravparab/Gitingest-MCP
- @Ryan0204/github-repo-mcp
- @AstroMined/pygithub-mcp-server