feat: Add Merge Agent Handler tool #3911
Merged
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.
This tool is a wrapper around the Merge Agent Handler platform and gives your agent access to third-party tools and integrations via the Model Context Protocol (MCP). Merge Agent Handler securely manages authentication, permissions, and monitoring of all tool interactions across platforms like Linear, Jira, Slack, GitHub, and many more.
Note
Adds MergeAgentHandlerTool to run Merge Agent Handler MCP tools, with exports, docs, and comprehensive tests.
MergeAgentHandlerTooladded (tools/merge_agent_handler_tool/merge_agent_handler_tool.py): executes MCPtools/call, fetches tool schemas viatools/list, builds dynamic Pydantic arg schemas, supportsfrom_tool_nameandfrom_tool_pack,AGENT_HANDLER_API_KEYauth, optionalbase_url, and session handling.MergeAgentHandlerToolincrewai_tools/tools/__init__.pyand top-levelcrewai_tools/__init__.py.tests/tools/merge_agent_handler_tool_test.pycovering initialization, URL/headers, JSON-RPC request/response handling, error paths, arg passing, and constructors.Written by Cursor Bugbot for commit d02b985. This will update automatically on new commits. Configure here.