Skip to main content

getMcpConfigPath

client.mcp.getMcpConfigPath(): Promise<McpConfigPath>

Retrieves the filesystem path to the MCP configuration file.

Returns the absolute path where the MCP configuration is stored on disk. Useful for manual editing or backup of MCP server configurations.

Parameters​

No parameters.

Returns​

Promise<McpConfigPath> — A promise that resolves to the MCP configuration file path

Example​

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.mcp.getMcpConfigPath();
console.log(result);