import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { Hono } from "hono"; import type { OntologyConfig } from "../../config/types.js"; export interface McpServerOptions { /** The ontology configuration */ config: OntologyConfig; /** Environment to use */ env: string; /** Port for the MCP HTTP server */ port?: number; } export interface CreateMcpAppOptions { /** The ontology configuration */ config: OntologyConfig; /** Environment to use */ env: string; } /** * Create the MCP server instance with per-request authentication */ export declare function createMcpServer(options: McpServerOptions): Server; /** * Create an MCP Hono app without starting a server. * Use this to mount MCP on an existing server alongside other routes. */ export declare function createMcpApp(options: CreateMcpAppOptions): Promise; /** * Start the MCP server as an HTTP server with Streamable HTTP transport */ export declare function startMcpServer(options: McpServerOptions): Promise<{ port: number; }>; export { generateMcpTools, filterToolsByAccess } from "./tools.js";