Content Tools - fleXRPL/github-mcp GitHub Wiki

Content Tools

Content tools allow you to interact with files and directories in GitHub repositories.

Available Tools

  • Get file content
  • List directory contents

Example Usage

{
  "name": "get_file_content",
  "parameters": {
    "owner": "octocat",
    "repo": "Hello-World",
    "path": "README.md"
  }
}

Tool Interaction Flow

sequenceDiagram
    participant User
    participant MCPServer
    participant GitHub
    User->>MCPServer: Call get_file_content
    MCPServer->>GitHub: Fetch file content
    GitHub-->>MCPServer: Return file data
    MCPServer-->>User: Return results

Related