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
| Name | Type | Required | Description |
|---|---|---|---|
owner | string | yes | Repository owner |
repo | string | yes | Repository 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
| Field | Type | Description |
|---|---|---|
id | number | Repository ID |
name | string | Repository name |
full_name | string | Full repository name (owner/repo) |
owner | object | |
private | boolean | Whether repository is private |
html_url | string | Repository web URL |
description | string | null | Repository description |
language | string | null | Primary programming language |
stargazers_count | number | Number of stars |
forks_count | number | Number of forks |
open_issues_count | number | Number of open issues |
updated_at | string | ISO timestamp of last update |
pushed_at | string | null | ISO timestamp of last push |
default_branch | string | Default branch name |
permissions | object |
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.