import { AmaMcpServer, type ResourceToolOptions, type ToolDefinition } from '@ama-mcp/core'; import type { McpServer } from '@modelcontextprotocol/server'; /** * Options for SDK context registration */ export interface SdkContextOptions extends Partial, ToolDefinition { /** * Path to project root where package.json is located * @default '.' */ projectPath?: string; /** * Explicit list of SDK packages (overrides package.json sdkContext.packages) */ sdkPackages?: string[]; } /** * Type of the response from the SDK context retriever tool */ export type SdkContextResponse = { content: ({ type: 'text'; text: string; } | { type: 'resource_link'; name: string; uri: string; })[]; }; /** * Register both SDK context resources and tool * @param server MCP server instance * @param options Configuration options */ export declare const registerSdkContextToolAndResources: (server: McpServer, options?: SdkContextOptions) => void; /** * Create and configure an SDK Context MCP server * @param options Configuration options for the server * @returns Configured AmaMcpServer instance with SDK context tools and resources registered */ export declare const createSdkContextServer: (options?: SdkContextOptions) => AmaMcpServer; //# sourceMappingURL=mcp-server.d.ts.map