Skip to content

Commit 767a860

Browse files
Fix cluster settings to activate mcp protocol (#10862)
Since version 3.1, activating mcp protocol is done trough "plugins.ml_commons.mcp_connector_enabled" Signed-off-by: pietro-A2lean <[email protected]>
1 parent 4caf318 commit 767a860

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_ml-commons-plugin/agents-tools/mcp/mcp-connector.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Before using MCP tools, you must complete the following prerequisites.
2323

2424
### Enable MCP and configure trusted connector endpoints
2525

26-
- Enable the MCP protocol by configuring the `plugins.ml_commons.mcp_feature_enabled` setting.
26+
- Enable the MCP protocol by configuring the `plugins.ml_commons.mcp_connector_enabled` setting.
2727
- Configure trusted connector endpoints in the `plugins.ml_commons.trusted_connector_endpoints_regex` setting. For security purposes, this setting uses regex patterns to define which MCP server URLs are allowed.
2828

2929
To configure both settings, send the following request:
@@ -35,7 +35,7 @@ POST /_cluster/settings/
3535
"plugins.ml_commons.trusted_connector_endpoints_regex": [
3636
"<mcp server url>"
3737
],
38-
"plugins.ml_commons.mcp_feature_enabled": "true"
38+
"plugins.ml_commons.mcp_connector_enabled": "true"
3939
}
4040
}
4141
```
@@ -251,4 +251,4 @@ The agent uses both the OpenSearch tools specified in the `tools` array and the
251251
## Additional resources
252252

253253
* For more information about the MCP protocol, see [MCP protocol documentation](https://modelcontextprotocol.io/introduction).
254-
* For information about using MCP in Java, see [MCP Java SDK](https://github.com/modelcontextprotocol/java-sdk).
254+
* For information about using MCP in Java, see [MCP Java SDK](https://github.com/modelcontextprotocol/java-sdk).

0 commit comments

Comments
 (0)