*/
export function interpolateMcpPluginRoot(
fsPath: string,
tokens: readonly string[],
envVars: readonly string[],
): IMcpServerDefinition {
const replace = (s: string) => tokens.reduce((result, token) => result.replaceAll(token, fsPath), s);
const config = def.configuration;
let interpolated: IMcpServerConfiguration;
if (config.type === McpServerType.LOCAL) {
const local: Mutable<IMcpStdioServerConfiguration> = { ...config };
local.command = replace(local.command);