UNPKG

repomix-reader-mcp

Version:

Simple Model Context Protocol server for reading and grep-searching Repomix output files

17 lines (14 loc) 297 B
import { Tool } from '@modelcontextprotocol/sdk/types.js'; export interface ToolHandler { (args: any): Promise<{ content: Array<{ type: string; text: string; }>; isError?: boolean; }>; } export interface ToolDefinition { definition: Tool; handler: ToolHandler; }