UNPKG

ultimate-mcp-server

Version:

The definitive all-in-one Model Context Protocol server for AI-assisted coding across 30+ platforms

70 lines 2.22 kB
/** * Platform detection and compatibility layer */ export interface PlatformInfo { name: string; version?: string; transportSupport: { stdio: boolean; sse: boolean; http: boolean; websocket: boolean; }; features: { streaming: boolean; authentication: boolean; fileAccess: boolean; environmentVariables: boolean; }; detected: boolean; } export declare const SUPPORTED_PLATFORMS: { readonly CLAUDE_DESKTOP: "claude-desktop"; readonly CURSOR: "cursor"; readonly WINDSURF: "windsurf"; readonly VSCODE: "vscode"; readonly ZEDNOW: "zednow"; readonly CONTINUE: "continue"; readonly CLINE: "cline"; readonly BOLTAI: "bolt-ai"; readonly LIBRECHAT: "librechat"; readonly BIGAGI: "big-agi"; readonly MSPILOT: "mspilot"; readonly MODELCOMPUTER: "model.computer"; readonly CLAUDE_CLI: "claude-cli"; readonly MCPHUB: "mcphub"; readonly SHELL_ASSISTANT: "shell-assistant"; readonly OPEROS: "operos"; readonly SRCBOOK: "srcbook"; readonly GLAMA: "glama"; readonly AIDE: "aide"; readonly PEAR_AI: "pear-ai"; readonly AUGMEND: "augmend"; readonly VOID: "void"; readonly MELTY: "melty"; readonly SMITHERY: "smithery"; readonly DOUBLE: "double"; readonly CODY: "cody"; readonly PIECES: "pieces-app"; readonly AIDER: "aider"; readonly MENTAT: "mentat"; readonly RIFT: "rift"; readonly TABBY: "tabby"; readonly COPILOT: "github-copilot"; readonly JETBRAINS: "jetbrains"; readonly SUBLIME: "sublime-text"; readonly NEOVIM: "neovim"; readonly EMACS: "emacs"; }; export type SupportedPlatform = typeof SUPPORTED_PLATFORMS[keyof typeof SUPPORTED_PLATFORMS]; export declare class PlatformDetector { private userAgent?; private processEnv; constructor(); private detectUserAgent; detect(): PlatformInfo; private getPlatformInfo; isCompatible(platform: PlatformInfo, requiredTransport: 'stdio' | 'sse' | 'http' | 'websocket'): boolean; getRecommendedTransport(platform: PlatformInfo): 'stdio' | 'sse' | 'http' | 'websocket'; } //# sourceMappingURL=platform-detector.d.ts.map