get_file_contents
Retrieve the contents of a file or directory from a specified GitHub repository. Input repository owner, name, and path to access files or directories directly through the GitHub API.
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)
This server cannot be installed
Other Tools from GitHub MCP Server
Related Tools
- @PhialsBasement/mcp-github-server-plus
- @modelcontextprotocol/github
- @AstroMined/pygithub-mcp-server
- @puravparab/Gitingest-MCP
- @containerelic/github-enterprise-mcp