Connect Github
Automate Github (Personal Access Token) from agents using your API key.
Github
Automate Github (Personal Access Token) from agents using your API key.
Connect with a provider API key
The client enters their provider key in the hosted connect flow. CybrLink stores it in the credential layer, then agents call through scoped MCP/API access without seeing the raw secret.
Where to get your Github API keyStep 1
Open the portal connect flow
Step 2
Enter the provider API key
Step 3
Create a scoped MCP/API key
Sample request
// 1. Mint a session token for the end user
const session = await link.connect.session({
integrationKey: "github-pat",
userId: "u_42",
});
// 2. After the user enters their provider API key, proxy a request
const res = await link.proxy("github-pat", "u_42", {
method: "GET",
endpoint: "/api/v1/me",
});More in this category
Available agent tools
Typed, scoped actions your AI agent can run through CybrLink's MCP server once Github is connected.
GITHUB_GET_AUTHENTICATED_USERGet the GitHub user tied to the connected personal access token. Returns { login, id, name, company, html_url, public_repos }.
GITHUB_LIST_REPOSList repositories the connected GitHub token can access. Returns { repos: [{ id, name, full_name, private, html_url, description }] }.
GITHUB_LIST_ISSUESList issues in a GitHub repository accessible to the connected token. Returns { issues: [{ id, number, title, state, html_url, user, labels }] }.
GITHUB_CREATE_ISSUECreate an issue in a GitHub repository using the connected token. Use only after explicit user approval. Returns { id, number, title, state, html_url }.
Github + AI agents: common questions
- How do I connect Github to an AI agent?
- Create a free CybrLink account, open the dashboard, and click Connect on Github. You authorize once with an API key; CybrLink stores the credential in its token vault and your agent reaches Github through the CybrLink MCP server or the agent proxy API. The credential itself is never placed in the model's context.
- Does Github work with Claude, GPT, and other MCP clients?
- Yes. CybrLink exposes a remote MCP (Model Context Protocol) server, so any MCP-capable client or agent framework — including Claude, OpenAI-based agents, and custom agents — can call Github once you've connected it. Non-MCP agents can use the authenticated HTTP proxy instead.
- Is it safe to give an AI agent access to Github?
- CybrLink scopes every connection to the permissions you grant, keeps tokens out of the model, logs each call to an activity audit trail, and lets you revoke the Github connection at any time from the dashboard.