GitHub Repository MCP Server

get-file-content

Retrieve the content of a specific file from a GitHub repository by providing the owner, repository name, and file path. Integrates with the MCP Server to provide file data for AI interactions.

Instructions

Get content of a specific file from a GitHub repository

Input Schema

NameRequiredDescriptionDefault
ownerYesGitHub repository owner/organization name
pathYesPath to the file in the repository
repoYesGitHub repository name

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "owner": { "description": "GitHub repository owner/organization name", "type": "string" }, "path": { "description": "Path to the file in the repository", "type": "string" }, "repo": { "description": "GitHub repository name", "type": "string" } }, "required": [ "owner", "repo", "path" ], "type": "object" }

You must be authenticated.

Other Tools from GitHub Repository MCP Server

Related Tools

ID: ncc1bjxpdm