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) • 358 B
TypeScript
import { CallToolResult } from '@modelcontextprotocol/sdk/types';
import type { ToolResponse } from './types.js';
export declare function createResult(options: {
data: unknown;
instructions?: string;
isError?: boolean;
}): CallToolResult;
export declare function createResponseFormat(responseData: ToolResponse, keysPriority?: string[]): string;