Zum Hauptinhalt springen

GitHub

Verbindungstypgithub

Let your AI agents read code, issues, pull requests and Actions runs, through GitHub's read-only MCP server.

Auf einen Blick​

EigenschaftWert
Class namegithub
ResourceConnectorClass (lumen.ai/v1alpha1); a workspace creates a Connector with classRef: {name: github}
Drivermcp
Providesmcp, github
Modepull (Lumen reaches out to the system)
Credential keystoken, privateKey (kept in a Secret, never in config)
Installation must providemcp
Regionseu

A workspace adds this connection on the Connections page or with lumen connect; credentials are kept in a Secret, never in the flow.

Eintrag in der MCP-Galerie​

EigenschaftWert
Server addresshttps://api.githubcopilot.com/mcp/readonly
Sign-inbearer
Read onlyyes
Data locationUS
Vendor docshttps://github.com/github/github-mcp-server

Einstellungen​

Wird unter config: im Connector gesetzt.

EinstellungTypStandardwertBeschreibung
appIdstring-The number on the app's settings page, under About. Not the client ID.pattern `^[1-9][0-9]{0,15}$`
autherforderlichstring-How Lumen signs infixed to bearer
installationIdstring-The number at the end of the installation's settings address. Empty: Lumen finds the installation on the repositories' owner.pattern `^[1-9][0-9]{0,15}$`
permissionslist of string-Optional. Limits each token to these permissions, such as contents:write or pull_requests:write. Empty: everything the app was granted.maxItems 30
repositorieslist of string-Optional. Limits each token to these repositories (owner/name), all of one owner. Empty: every repository the installation reaches.maxItems 100
signInstring"token"Sign in withone of token, app
toolsmap of object-Tools agents may use
urlerforderlichstring-Server addressfixed to https://api.githubcopilot.com/mcp/readonly

Das vollständige JSON Schema dieser Einstellungen: github.schema.json.

Geführte Einrichtung​

lumen connect und die Web-App führen Sie durch das Hinzufügen dieser Verbindung.

Abgefragte Zugangsdaten

  • privateKey: Private key (.pem file)
  • token: Token

Verwendung​

connector.yaml
apiVersion: lumen.ai/v1alpha1
kind: Connector
metadata:
name: my-github
namespace: tenant-acme
spec:
classRef: {name: github}
config: {}