get_file_contents
Retrieve the contents of a specific file or directory from a GitHub repository by specifying the owner, repository, path, and optional branch. Returns file data in MCP response format.
Instructions
Get contents of a file in a GitHub repository.
Copy
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from PyGithub MCP Server
Related Tools
- @containerelic/github-enterprise-mcp
- @asbloom-py/mcp-servers
- @PhialsBasement/mcp-github-server-plus
- @modelcontextprotocol/github
- @puravparab/Gitingest-MCP