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.

80 lines (79 loc) 3.16 kB
import { z } from 'zod'; export declare const GitHubReposSearchQuerySchema: z.ZodObject<{ queries: z.ZodArray<z.ZodObject<{ mainResearchGoal: z.ZodString; researchGoal: z.ZodString; reasoning: z.ZodString; } & { keywordsToSearch: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; topicsToSearch: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; owner: z.ZodOptional<z.ZodString>; stars: z.ZodOptional<z.ZodString>; size: z.ZodOptional<z.ZodString>; created: z.ZodOptional<z.ZodString>; updated: z.ZodOptional<z.ZodString>; match: z.ZodOptional<z.ZodArray<z.ZodEnum<["name", "description", "readme"]>, "many">>; sort: z.ZodOptional<z.ZodEnum<["forks", "stars", "updated", "best-match"]>>; limit: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { mainResearchGoal: string; researchGoal: string; reasoning: string; created?: string | undefined; updated?: string | undefined; owner?: string | undefined; stars?: string | undefined; sort?: "updated" | "best-match" | "forks" | "stars" | undefined; keywordsToSearch?: string[] | undefined; match?: ("name" | "description" | "readme")[] | undefined; limit?: number | undefined; size?: string | undefined; topicsToSearch?: string[] | undefined; }, { mainResearchGoal: string; researchGoal: string; reasoning: string; created?: string | undefined; updated?: string | undefined; owner?: string | undefined; stars?: string | undefined; sort?: "updated" | "best-match" | "forks" | "stars" | undefined; keywordsToSearch?: string[] | undefined; match?: ("name" | "description" | "readme")[] | undefined; limit?: number | undefined; size?: string | undefined; topicsToSearch?: string[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { queries: { mainResearchGoal: string; researchGoal: string; reasoning: string; created?: string | undefined; updated?: string | undefined; owner?: string | undefined; stars?: string | undefined; sort?: "updated" | "best-match" | "forks" | "stars" | undefined; keywordsToSearch?: string[] | undefined; match?: ("name" | "description" | "readme")[] | undefined; limit?: number | undefined; size?: string | undefined; topicsToSearch?: string[] | undefined; }[]; }, { queries: { mainResearchGoal: string; researchGoal: string; reasoning: string; created?: string | undefined; updated?: string | undefined; owner?: string | undefined; stars?: string | undefined; sort?: "updated" | "best-match" | "forks" | "stars" | undefined; keywordsToSearch?: string[] | undefined; match?: ("name" | "description" | "readme")[] | undefined; limit?: number | undefined; size?: string | undefined; topicsToSearch?: string[] | undefined; }[]; }>;