safevibe
Version:
Safevibe CLI - Simple personal secret vault for AI developers and amateur vibe coders
33 lines (32 loc) • 797 B
TypeScript
import { ChildProcess } from "node:child_process";
export interface McpServerProcess {
process: ChildProcess;
ready: boolean;
stop: () => Promise<void>;
}
/**
* Start the MCP server as a subprocess
*/
export declare function startMcpServer(): Promise<McpServerProcess>;
/**
* Check if the MCP server executable exists
*/
export declare function checkMcpServer(): Promise<boolean>;
/**
* Get MCP server configuration for Cursor
*/
export declare function getMcpConfig(): {
mcpServers: {
safevibe: {
command: string;
args: string[];
env: {
SAFEVIBE_BACKEND_URL: string;
};
};
};
};
/**
* Generate Cursor configuration instructions
*/
export declare function getCursorInstructions(): string;