- * When {@code true}, the CLI scans the working directory for {@code .mcp.json},
- * {@code .vscode/mcp.json} and skill directories, and merges them with
- * explicitly provided configurations.
+ * Enables runtime discovery of supported configuration. Explicitly supplied
+ * configuration takes precedence over discovered values.
*
* @param enableConfigDiscovery
* {@code true} to enable discovery, {@code false} to disable
diff --git a/java/src/main/java/com/github/copilot/rpc/SessionConfig.java b/java/src/main/java/com/github/copilot/rpc/SessionConfig.java
index e611f66c8..4d0a8987e 100644
--- a/java/src/main/java/com/github/copilot/rpc/SessionConfig.java
+++ b/java/src/main/java/com/github/copilot/rpc/SessionConfig.java
@@ -1235,14 +1235,8 @@ public Optional
- * When {@code true}, the CLI scans the working directory for {@code .mcp.json},
- * {@code .vscode/mcp.json} and skill directories, and merges them with
- * explicitly provided {@link #setMcpServers(Map)} and
- * {@link #setSkillDirectories(List)}, with explicit values taking precedence on
- * name collision.
+ * Enables runtime discovery of supported configuration. Explicitly supplied
+ * configuration takes precedence over discovered values.
*
* @param enableConfigDiscovery
* {@code true} to enable discovery, {@code false} to disable
diff --git a/nodejs/src/types.ts b/nodejs/src/types.ts
index fc0fa51d0..8fb4152ec 100644
--- a/nodejs/src/types.ts
+++ b/nodejs/src/types.ts
@@ -1915,13 +1915,8 @@ export interface SessionConfigBase {
configDirectory?: string;
/**
- * When true, automatically discovers MCP server configurations (e.g. `.mcp.json`,
- * `.vscode/mcp.json`) and skill directories from the working directory and merges
- * them with any explicitly provided `mcpServers` and `skillDirectories`, with
- * explicit values taking precedence on name collision.
- *
- * Note: custom instruction files (`.github/copilot-instructions.md`, `AGENTS.md`, etc.)
- * are always loaded from the working directory regardless of this setting.
+ * Enables runtime discovery of supported configuration. Explicitly supplied
+ * configuration takes precedence over discovered values.
*
* @default false
*/
diff --git a/python/copilot/client.py b/python/copilot/client.py
index e6ac9b03e..091cee151 100644
--- a/python/copilot/client.py
+++ b/python/copilot/client.py
@@ -2088,13 +2088,9 @@ async def create_session(
including tool visibility controls.
agent: Agent to use for the session.
config_directory: Override for the configuration directory.
- enable_config_discovery: When True, automatically discovers MCP server
- configurations (e.g. ``.mcp.json``, ``.vscode/mcp.json``) and skill
- directories from the working directory and merges them with any
- explicitly provided ``mcp_servers`` and ``skill_directories``, with
- explicit values taking precedence on name collision. Custom instruction
- files (``.github/copilot-instructions.md``, ``AGENTS.md``, etc.) are
- always loaded regardless of this setting.
+ enable_config_discovery: Enables runtime discovery of supported
+ configuration. Explicitly supplied configuration takes precedence
+ over discovered values.
skip_embedding_retrieval: When True, skips embedding-based retrieval.
organization_custom_instructions: Organization-level custom instructions.
enable_on_demand_instruction_discovery: Enables on-demand instruction file
@@ -2761,13 +2757,9 @@ async def resume_session(
including tool visibility controls.
agent: Agent to use for the session.
config_directory: Override for the configuration directory.
- enable_config_discovery: When True, automatically discovers MCP server
- configurations (e.g. ``.mcp.json``, ``.vscode/mcp.json``) and skill
- directories from the working directory and merges them with any
- explicitly provided ``mcp_servers`` and ``skill_directories``, with
- explicit values taking precedence on name collision. Custom instruction
- files (``.github/copilot-instructions.md``, ``AGENTS.md``, etc.) are
- always loaded regardless of this setting.
+ enable_config_discovery: Enables runtime discovery of supported
+ configuration. Explicitly supplied configuration takes precedence
+ over discovered values.
skip_embedding_retrieval: When True, skips embedding-based retrieval.
organization_custom_instructions: Organization-level custom instructions.
enable_on_demand_instruction_discovery: Enables on-demand instruction file
diff --git a/rust/src/types.rs b/rust/src/types.rs
index 028702655..8c2b867b3 100644
--- a/rust/src/types.rs
+++ b/rust/src/types.rs
@@ -1724,7 +1724,8 @@ pub struct SessionConfig {
/// applied automatically at session creation/resume time. `None` means no
/// explicit value is set and the runtime default takes effect.
pub mcp_oauth_token_storage: Option