gh_get_repo

Pack: github_private · Endpoint: https://gateway.pipeworx.io/github_private/mcp

Get detailed info for a specific repository. Returns description, language, stars, forks, open issues, default branch, and access level.

Parameters

NameTypeRequiredDescription
ownerstringyesRepository owner
repostringyesRepository name

Example call

Arguments

{
  "owner": "octocat",
  "repo": "Hello-World"
}

curl

curl -X POST https://gateway.pipeworx.io/github_private/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gh_get_repo","arguments":{"owner":"octocat","repo":"Hello-World"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('gh_get_repo', {
  "owner": "octocat",
  "repo": "Hello-World"
});

Response shape

FieldTypeDescription
idnumberRepository ID
namestringRepository name
full_namestringFull repository name (owner/repo)
ownerobject
privatebooleanWhether repository is private
html_urlstringRepository web URL
descriptionstring | nullRepository description
languagestring | nullPrimary programming language
stargazers_countnumberNumber of stars
forks_countnumberNumber of forks
open_issues_countnumberNumber of open issues
updated_atstringISO timestamp of last update
pushed_atstring | nullISO timestamp of last push
default_branchstringDefault branch name
permissionsobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "number",
      "description": "Repository ID"
    },
    "name": {
      "type": "string",
      "description": "Repository name"
    },
    "full_name": {
      "type": "string",
      "description": "Full repository name (owner/repo)"
    },
    "owner": {
      "type": "object",
      "properties": {
        "login": {
          "type": "string",
          "description": "Owner login"
        },
        "id": {
          "type": "number",
          "description": "Owner ID"
        },
        "avatar_url": {
          "type": "string",
          "description": "Owner avatar URL"
        },
        "url": {
          "type": "string",
          "description": "Owner API URL"
        }
      }
    },
    "private": {
      "type": "boolean",
      "description": "Whether repository is private"
    },
    "html_url": {
      "type": "string",
      "description": "Repository web URL"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Repository description"
    },
    "language": {
      "type": [
        "string",
        "null"
      ],
      "description": "Primary programming language"
    },
    "stargazers_count": {
      "type": "number",
      "description": "Number of stars"
    },
    "forks_count": {
      "type": "number",
      "description": "Number of forks"
    },
    "open_issues_count": {
      "type": "number",
      "description": "Number of open issues"
    },
    "updated_at": {
      "type": "string",
      "description": "ISO timestamp of last update"
    },
    "pushed_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "ISO timestamp of last push"
    },
    "default_branch": {
      "type": "string",
      "description": "Default branch name"
    },
    "permissions": {
      "type": "object",
      "properties": {
        "admin": {
          "type": "boolean",
          "description": "Admin access"
        },
        "push": {
          "type": "boolean",
          "description": "Push access"
        },
        "pull": {
          "type": "boolean",
          "description": "Pull access"
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "github_private": {
      "url": "https://gateway.pipeworx.io/github_private/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026