דלג לתוכן הראשי

GitHub

Connection typegithub

הסוכנים שלכם יוכלו לקרוא קוד, issues, pull requests והרצות Actions, דרך שרת ה-MCP של GitHub לקריאה בלבד.

במבט אחד​

מאפייןערך
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.

MCP gallery entry​

מאפייןערך
Server addresshttps://api.githubcopilot.com/mcp/readonly
Sign-inbearer
Read onlyyes
Data locationUS
Vendor docshttps://github.com/github/github-mcp-server

הגדרות​

Set under config: on the Connector.

הגדרהסוגברירת מחדלתיאור
appIdstring-The number on the app's settings page, under About. Not the client ID.pattern `^[1-9][0-9]{0,15}$`
authחובהstring-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
urlחובהstring-Server addressfixed to https://api.githubcopilot.com/mcp/readonly

ה-JSON Schema המלא של ההגדרות: github.schema.json.

Guided setup​

lumen connect and the web app guide a person through adding this connection.

Credentials asked for

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

שימוש​

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