paperclip/packages/shared/src/app-definitions/github.json

82 lines
2.3 KiB
JSON

{
"schemaVersion": 1,
"slug": "github",
"name": "GitHub",
"description": "Read code and pull requests, and coordinate repository work.",
"categories": [
"developer"
],
"featured": true,
"branding": {
"logoUrl": "/brands/apps/github.svg",
"darkLogoUrl": "/brands/apps/github-dark.svg"
},
"urlPatterns": [
"https://api.githubcopilot.com/mcp/*"
],
"methods": [
{
"key": "managed",
"label": "Connect with GitHub",
"transport": "mcp_remote",
"auth": "oauth",
"oauthStrategy": "paperclip_cloud_connector",
"connectorProfile": "github.code",
"grantKinds": [
"user",
"agent"
],
"ownershipModes": [
"platform_shared"
],
"whenToUse": "Connect your GitHub account for durable MCP, shell Git, gh, and repository access.",
"defaults": {
"serverUrl": "https://api.githubcopilot.com/mcp/"
},
"guidanceMd": "Authorize Paperclip, then choose selected repositories in GitHub. You can edit repository access later from GitHub's installation settings.",
"warnings": [
"Shell Git and gh receive this identity for the run and are not constrained by per-tool Ask-first controls."
],
"riskTier": "S3",
"requiredResourceFilters": [
"organization",
"repository"
]
},
{
"key": "mcp-key",
"label": "Personal access token (advanced)",
"transport": "mcp_remote",
"auth": "api_key",
"ownershipModes": [
"customer"
],
"whenToUse": "Use the provider-hosted connection for the quickest setup.",
"defaults": {
"serverUrl": "https://api.githubcopilot.com/mcp/"
},
"guidanceMd": "Create a fine-grained token limited to the repositories agents should use.",
"riskTier": "S3",
"credentialFields": [
{
"key": "authorization",
"label": "GitHub token",
"type": "password",
"required": true,
"placeholder": "github_pat_...",
"secret": true
}
],
"keyPlacement": {
"location": "header",
"name": "Authorization",
"prefix": "Bearer "
},
"requiredResourceFilters": [
"organization",
"repository"
]
}
]
}