mcp-appium-visual
Version:
MCP Server for Appium mobile automation with visual recovery
35 lines • 1 kB
TypeScript
/**
* Server management functions for mcp-appium-visual
*/
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
/**
* Server configuration options
*/
export interface ServerConfig {
appiumUrl?: string;
}
/**
* Create a server instance
* @param config Optional server configuration
* @returns A new MCP server instance with all tools registered
*/
export declare function createServer(config?: ServerConfig): McpServer;
/**
* Shared server instance for compatibility with existing code
*/
export declare const server: McpServer;
/**
* Start the MCP-Appium server with the specified options
*
* @param options Server configuration options
* @returns The running MCP server instance
*/
export declare function startServer(options?: {
port?: number;
host?: string;
appiumHost?: string;
appiumPort?: number;
logLevel?: "debug" | "info" | "warn" | "error";
transportType?: "http" | "stdio";
}): Promise<McpServer>;
//# sourceMappingURL=server.d.ts.map