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.

8 lines (7 loc) 575 B
import type { GitHubCodeSearchQuery, GitHubReposSearchQuery } from '../types'; import { GitHubPullRequestsSearchParams } from './githubAPI'; export declare function getOwnerQualifier(owner: string): string; export declare function buildCodeSearchQuery(params: GitHubCodeSearchQuery): string; export declare function buildRepoSearchQuery(params: GitHubReposSearchQuery): string; export declare function buildPullRequestSearchQuery(params: GitHubPullRequestsSearchParams): string; export declare function shouldUseSearchForPRs(params: GitHubPullRequestsSearchParams): boolean;