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.
11 lines (10 loc) • 1.06 kB
TypeScript
export { getOctokit, OctokitWithThrottling, getDefaultBranch, clearCachedToken, } from './client';
export { handleGitHubAPIError } from './errors';
export type { GitHubAPIError, GitHubAPIResponse, GitHubAPISuccess, Repository, OptimizedCodeSearchResult, GitHubPullRequestItem, GitHubPullRequestsSearchParams, RepositoryReference, GetContentParameters, GetRepoResponse, isGitHubAPIError, isGitHubAPISuccess, isRepository, } from './githubAPI';
export type { components } from '@octokit/openapi-types';
export type { RestEndpointMethodTypes } from '@octokit/plugin-rest-endpoint-methods';
export { buildCodeSearchQuery, buildRepoSearchQuery, buildPullRequestSearchQuery, shouldUseSearchForPRs, } from './queryBuilders';
export { searchGitHubCodeAPI } from './codeSearch';
export { searchGitHubReposAPI } from './repoSearch';
export { searchGitHubPullRequestsAPI, fetchGitHubPullRequestByNumberAPI, transformPullRequestItemFromREST, } from './pullRequestSearch';
export { fetchGitHubFileContentAPI, viewGitHubRepositoryStructureAPI, } from './fileOperations';