import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js'; import { RenderProfile, ReactiveGraph, LoadProfile, FpsSample, ComponentInstance, ProjectInfo, RouteInfo, ComponentRelation } from '../types.js'; import { SessionStore } from './sessions.js'; export interface McpDeps { getProject: () => ProjectInfo; getRoutes: () => RouteInfo[]; getLiveComponents: () => ComponentInstance[]; getComponentRelations: () => ComponentRelation[]; getRenderProfiles: () => RenderProfile[]; /** Resolves with the current reactive graph after refreshing from the browser. */ getReactiveGraph: () => Promise; getLoadProfiles: () => LoadProfile[]; getFpsSamples: () => FpsSample[]; sessions: SessionStore; } export declare function buildMcpServer(deps: McpDeps): McpServer; export { StreamableHTTPServerTransport };