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.
8 lines (7 loc) • 841 B
TypeScript
import { GitHubPullRequestsSearchParams, GitHubPullRequestItem } from './githubAPI';
import type { PullRequestSearchResult } from '../types';
import { OctokitWithThrottling } from './client';
import { AuthInfo } from '@modelcontextprotocol/sdk/server/auth/types';
export declare function searchGitHubPullRequestsAPI(params: GitHubPullRequestsSearchParams, authInfo?: AuthInfo, sessionId?: string): Promise<PullRequestSearchResult>;
export declare function transformPullRequestItemFromREST(item: Record<string, unknown>, params: GitHubPullRequestsSearchParams, octokit: InstanceType<typeof OctokitWithThrottling>, authInfo?: AuthInfo): Promise<GitHubPullRequestItem>;
export declare function fetchGitHubPullRequestByNumberAPI(params: GitHubPullRequestsSearchParams, authInfo?: AuthInfo, sessionId?: string): Promise<PullRequestSearchResult>;