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.
9 lines (8 loc) • 2 kB
JavaScript
import { createRequire as __createRequire } from 'module';
import { fileURLToPath as __fileURLToPath } from 'url';
import { dirname as __dirname_fn } from 'path';
const require = __createRequire(import.meta.url);
const __filename = __fileURLToPath(import.meta.url);
const __dirname = __dirname_fn(__filename);
import{CloneRepoQuerySchema as c,FetchContentQuerySchema as u,FileContentQuerySchema as r,FindFilesQuerySchema as i,GitHubCodeSearchQuerySchema as a,GitHubPullRequestSearchQuerySchema as o,GitHubReposSearchSingleQuerySchema as l,GitHubViewRepoStructureQuerySchema as p,NpmPackageQuerySchema as h,RipgrepQuerySchema as S,ViewStructureQuerySchema as s}from"@octocodeai/octocode-core/schemas";import{executeCloneRepo as n,executeFetchContent as y,executeFindFiles as Q,executeLspGetSemantics as x,executeRipgrepSearch as C,executeViewStructure as G,exploreMultipleRepositoryStructures as R,fetchMultipleGitHubFileContents as d,initialize as b,initializeProviders as F,loadToolContent as H,LspGetSemanticsQuerySchema as M,searchMultipleGitHubCode as g,searchMultipleGitHubPullRequests as P,searchMultipleGitHubRepos as f,searchPackages as w}from"@octocodeai/octocode-tools-core";export{c as CloneRepoQuerySchema,u as FetchContentQuerySchema,r as FileContentQuerySchema,i as FindFilesQuerySchema,a as GitHubCodeSearchQuerySchema,o as GitHubPullRequestSearchQuerySchema,l as GitHubReposSearchSingleQuerySchema,p as GitHubViewRepoStructureQuerySchema,M as LspGetSemanticsQuerySchema,h as NpmSearchQuerySchema,S as RipgrepQuerySchema,s as ViewStructureQuerySchema,n as executeCloneRepo,y as executeFetchContent,Q as executeFindFiles,x as executeLspGetSemantics,C as executeRipgrepSearch,G as executeViewStructure,R as exploreMultipleRepositoryStructures,d as fetchMultipleGitHubFileContents,b as initialize,F as initializeProviders,H as loadToolContent,g as searchMultipleGitHubCode,P as searchMultipleGitHubPullRequests,f as searchMultipleGitHubRepos,w as searchPackages};