Support MCP Tools in Agent#1810
Merged
letonghan merged 16 commits intoopea-project:mainfrom Jun 30, 2025
Merged
Conversation
Signed-off-by: letonghan <letong.han@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
for more information, see https://pre-commit.ci
Signed-off-by: letonghan <letong.han@intel.com>
for more information, see https://pre-commit.ci
Signed-off-by: letonghan <letong.han@intel.com>
Collaborator
|
Can you please add UT for testing agent using MCP tool? |
Signed-off-by: letonghan <letong.han@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
for more information, see https://pre-commit.ci
Collaborator
Author
Yes, UT added in 23f0bb0 |
Signed-off-by: letonghan <letong.han@intel.com>
for more information, see https://pre-commit.ci
Signed-off-by: letonghan <letong.han@intel.com>
for more information, see https://pre-commit.ci
Collaborator
Author
|
@minmin-intel @lkk12014402 all tests passed, please help to review. Thanks in advance! |
lkk12014402
reviewed
Jun 26, 2025
joshuayao
approved these changes
Jun 30, 2025
lvliang-intel
approved these changes
Jun 30, 2025
WenjiaoYue
pushed a commit
that referenced
this pull request
Jul 7, 2025
* init agent mcp, add mcp_tool in base agent Signed-off-by: letonghan <letong.han@intel.com> * compatible with both yaml tools and mcp tools Signed-off-by: letonghan <letong.han@intel.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * refine async functions, enable singleton for agent instance Signed-off-by: letonghan <letong.han@intel.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add mcp related arguments Signed-off-by: letonghan <letong.han@intel.com> * refine mcp tool initialization, add ut for mcp Signed-off-by: letonghan <letong.han@intel.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * refine mcp service, start in docker container Signed-off-by: letonghan <letong.han@intel.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * change args order Signed-off-by: letonghan <letong.han@intel.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: letonghan <letong.han@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Compatible Agent with MCP tools
Issues
#1574
Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
Added
mcpandlangchain-mcp-adaptersinrequirements.in, and updatedrequirements.txt.Tests
Local tested