UNPKG

octocode-mcp

Version:

Model Context Protocol (MCP) server for advanced GitHub repository analysis and code discovery. Provides AI assistants with powerful tools to search, analyze, and understand codebases across GitHub.

6 lines (5 loc) 376 B
import { AuthInfo } from '@modelcontextprotocol/sdk/server/auth/types'; export declare const OctokitWithThrottling: any; export declare function getOctokit(authInfo?: AuthInfo): Promise<InstanceType<typeof OctokitWithThrottling>>; export declare function clearCachedToken(): void; export declare function getDefaultBranch(owner: string, repo: string): Promise<string | null>;