New support for .mcp.json configuration files in your project directory:
function saveMcpConfig(config) {
let mcpPath = path.join(cwd(), ".mcp.json");
writeFileSync(mcpPath, JSON.stringify(config, null, 2), { encoding: "utf8" });
}
This allows you to configure MCP servers and tools on a per-project basis.