/** * MCP Version Tool * * Returns the current version of the Xano Developer MCP server. * Can be used standalone or within the MCP server. */ import { z } from "zod"; import type { ToolResult } from "./types.js"; export interface McpVersionResult { version: string; } /** * Get the MCP server version from package.json. */ export declare function getServerVersion(): string; /** * Set a custom version (useful for testing) */ export declare function setServerVersion(version: string): void; /** * Get the MCP server version. * * @returns Version information * * @example * ```ts * import { mcpVersion } from '@xano/developer-mcp'; * * const { version } = mcpVersion(); * console.log(`Running version ${version}`); * ``` */ export declare function mcpVersion(): McpVersionResult; /** * Get the MCP version and return a ToolResult. */ export declare function mcpVersionTool(): ToolResult; export declare const mcpVersionToolSpec: import("./define_tool.js").BuiltTool<{}, { version: z.ZodString; }>;