import type { Schema } from "../extensions/schema/index.js"; import type { Tool } from "../tool/types.js"; import type { Resource } from "../resource/types.js"; import type { Prompt } from "../prompt/types.js"; export type { ToolAnnotations } from "./annotations.js"; import type { ToolAnnotations } from "./annotations.js"; /** * Generic MCP tool definition */ export interface MCPTool { name: string; description: string; inputSchema: Schema; execute: (input: TInput) => Promise; title?: string; annotations?: ToolAnnotations; } /** * Wire format for a single tool in a tools/list response. */ export interface ToolListEntry { name: string; description: string; inputSchema: unknown; title?: string; annotations?: ToolAnnotations; } export interface MCPRegistry { tools: Map; resources: Map>; prompts: Map; } export type { MCPServerConfig, MCPStats } from "./schemas/index.js"; //# sourceMappingURL=types.d.ts.map