get_file_contents
Retrieve file or directory contents from a GitHub repository by specifying the owner, repo, path, and optional branch. Simplify GitHub file access for efficient repository management.
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 Plus
Related Tools
- @modelcontextprotocol/github
- @asbloom-py/mcp-servers
- @puravparab/Gitingest-MCP
- @containerelic/github-enterprise-mcp
- @taylor-lindores-reeves/mcp-github-projects