This PR adds support for the Model Context Protocol (MCP) and CLI tool calling (run_command) to zop.
Changes:
- Updated provider interfaces and implementations (Anthropic, OpenAI, Google) to support tool calling.
- Added a tool registry and a built-in
run_command tool.
- Integrated
mark3labs/mcp-go for MCP client support.
- Updated the Controller to handle tool calling loops.
- Added tests for tool calling, MCP configuration, and the Controller loop.
This PR adds support for the Model Context Protocol (MCP) and CLI tool calling (run_command) to zop.
### Changes:
- Updated provider interfaces and implementations (Anthropic, OpenAI, Google) to support tool calling.
- Added a tool registry and a built-in `run_command` tool.
- Integrated `mark3labs/mcp-go` for MCP client support.
- Updated the Controller to handle tool calling loops.
- Added tests for tool calling, MCP configuration, and the Controller loop.