mcp-agent
mcp-agent copied to clipboard
Callbacks to track agent server/tool calls
Is it possible to register a callback that tells me when a tool call by the agent occurs? For example, I have a MCP "search server", and when I chat with my app, I'd like to know if the agent is calling the search tools.