mcp-config
Version:
CLI client to edit MCP server configurations
18 lines (17 loc) • 645 B
TypeScript
import { MCPConfig, MCPClientConfig } from '../types/types.js';
/**
* Checks which MCP client configs exist on the system
*/
export declare const getAvailableMCPClients: () => Promise<MCPClientConfig[]>;
/**
* Prompts the user to select an MCP client
*/
export declare const promptUserForMCPClient: (availableClients: MCPClientConfig[]) => Promise<MCPClientConfig>;
/**
* Gets the MCP config file, creates it if it doesn't exist
*/
export declare const getMCPConfig: () => Promise<MCPConfig>;
/**
* Updates the MCP config file with new server configurations
*/
export declare const updateMCPConfig: (config: MCPConfig) => Promise<void>;