AI agent decision making with MCP