WisebotAI
Integrations

MCP — GitHub

Link GitHub for repository-aware tools such as code search or PR context.

MCP — GitHub

Connect

  1. Dashboard → ConnectorsGitHub.
  2. Complete OAuth in the browser when prompted.
  3. Return to Agent settings and enable the GitHub connector for agents that need it.

Capabilities

Depending on configuration, agents may call GitHub-backed MCP tools—align repository access with least privilege.

Common MCP tools (after connecting in the dashboard):

  • get_commit_history — recent commits for owner/repo
  • read_repository_files — file contents at a ref
  • analyze_repository — structure and security signals

TypeScript SDK (with knowledge + GitHub MCP)

import { WisebotAI, Tools } from "@wisebotai/sdk";

const client = new WisebotAI({
  apiKey: process.env.WISEBOTAI_API_KEY ?? process.env.WISE_KEY!,
  baseUrl,
});

await client.knowledge.upload({ file: policyPdf, filename: "refund-policy.pdf" });

await client.agents.create({
  name: "Release-Ops-Agent",
  model: "gpt-4o-mini",
  tools: [
    Tools.KnowledgeBase({ label: "refund-policy.pdf" }),
    Tools.Connector({ provider: "github" }),
  ],
});

Connect GitHub first under Dashboard → Connectors; the SDK registers tool stubs—the live MCP tools come from your integration.

Tokens

Store fine-grained or classic tokens per org policy; rotate on offboarding.