Skip to content

[Backport 3.0] initial commit for MCP server in OpenSearch#3799

Merged
zane-neo merged 1 commit into3.0from
backport/backport-3781-to-3.0
Apr 29, 2025
Merged

[Backport 3.0] initial commit for MCP server in OpenSearch#3799
zane-neo merged 1 commit into3.0from
backport/backport-3781-to-3.0

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport 9b0294d from #3781

* initial commit for MCP server in OpenSearch

Signed-off-by: zane-neo <zaniu@amazon.com>

* Make change to support register or remove tools across cluster

Signed-off-by: zane-neo <zaniu@amazon.com>

* format code

Signed-off-by: zane-neo <zaniu@amazon.com>

* fix UT failure caused by code change

Signed-off-by: zane-neo <zaniu@amazon.com>

* format code

Signed-off-by: zane-neo <zaniu@amazon.com>

* format code

Signed-off-by: zane-neo <zaniu@amazon.com>

* add license header

Signed-off-by: zane-neo <zaniu@amazon.com>

* fix notifications initialized not respond issue

Signed-off-by: zane-neo <zaniu@amazon.com>

* fix minor issues and add UTs

Signed-off-by: zane-neo <zaniu@amazon.com>

* Add more UTs

Signed-off-by: zane-neo <zaniu@amazon.com>

---------

Signed-off-by: zane-neo <zaniu@amazon.com>
(cherry picked from commit 9b0294d)
@mingshl
Copy link
Copy Markdown
Collaborator

mingshl commented Apr 29, 2025

There is failing test @zane-neo can you take a look?

@mingshl
Copy link
Copy Markdown
Collaborator

mingshl commented Apr 29, 2025

'''

/__w/ml-commons/ml-commons/ml-algorithms/src/test/java/org/opensearch/ml/engine/algorithms/agent/MLAgentExecutorTest.java:722: error: incompatible types: org.opensearch.transport.client.Client cannot be converted to org.opensearch.client.Client

'''

@zane-neo
Copy link
Copy Markdown
Collaborator

'''

/__w/ml-commons/ml-commons/ml-algorithms/src/test/java/org/opensearch/ml/engine/algorithms/agent/MLAgentExecutorTest.java:722: error: incompatible types: org.opensearch.transport.client.Client cannot be converted to org.opensearch.client.Client

'''

This is not introduced by the PR and it should be the issue in opensearch-metadata-sdk client repo, we can fix this later.

@zane-neo zane-neo merged commit 904eac5 into 3.0 Apr 29, 2025
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants