# Closed-loop incident response: connect AWS DevOps Agent to OpenSearch

DevFeed: [Closed-loop incident response: connect AWS DevOps Agent to OpenSearch](<https://devfeed.tech/articles/closed-loop-incident-response-connect-aws-devops-agent-to-opensearch-63866.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/devops/closed-loop-incident-response-connect-aws-devops-agent-to-opensearch/>)

Author: Sitaraman Vijay Krishna

Published: 2026-10-02T15:24:49Z

Content type: tutorial

Language: en

Sources: [AWS DevOps & Developer Productivity Blog](<https://devfeed.tech/sources/aws-devops-developer-productivity-blog.md>)

Topics: [MSP MCP](<https://devfeed.tech/topics/msp-mcp.md>), [opensearch](<https://devfeed.tech/topics/opensearch.md>), [DevOps](<https://devfeed.tech/topics/devops.md>), [Amazon Bedrock AgentCore](<https://devfeed.tech/topics/amazon-bedrock-agentcore.md>), [Grafana Cloud](<https://devfeed.tech/topics/grafana-cloud.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-opensearch-service](<https://devfeed.tech/tags/amazon-opensearch-service.md>), [aws](<https://devfeed.tech/tags/aws.md>), [devops-agent](<https://devfeed.tech/tags/devops-agent.md>), [incident-response](<https://devfeed.tech/tags/incident-response.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [opensearch](<https://devfeed.tech/tags/opensearch.md>), [root](<https://devfeed.tech/tags/root.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

This tutorial explains how to connect AWS DevOps Agent to OpenSearch observability data through MCP so alerts can trigger automated investigations and root cause analysis. It covers hosting the MCP server on ECS, Bedrock AgentCore, or the built-in OpenSearch 3.3+ endpoint, along with alert routing and fine-grained access control role mapping.

## Source excerpt

Connect AWS DevOps Agent to your Amazon OpenSearch Service observability data using the Model Context Protocol (MCP), so an alert that fires at 2 AM triggers autonomous root cause investigation. Covers three MCP server hosting paths (self-managed on Amazon ECS, Amazon Bedrock AgentCore, or built-in OpenSearch 3.3+), plus alert routing and FGAC role mapping.