# AI-driven database investigation using MCP, Agent Skills, and AWS DevOps Agent

DevFeed: [AI-driven database investigation using MCP, Agent Skills, and AWS DevOps Agent](<https://devfeed.tech/articles/ai-driven-database-investigation-using-mcp-agent-skills-and-aws-devops-agent-131174.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/database/integrate-mcp-tools-agent-skills-and-aws-devops-agent-for-ai-driven-database-investigation/>)

Author: Sudhir Amin

Published: 2026-11-12T18:34:07Z

Content type: article

Language: en

Sources: [AWS Database Blog](<https://devfeed.tech/sources/aws-database-blog.md>)

Topics: [Agent Skills](<https://devfeed.tech/topics/agent-skills.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [RDS for SQL Server](<https://devfeed.tech/topics/rds-for-sql-server.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Amazon Bedrock AgentCore](<https://devfeed.tech/topics/amazon-bedrock-agentcore.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [Amazon Bedrock](<https://devfeed.tech/topics/amazon-bedrock.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [DevOps](<https://devfeed.tech/topics/devops.md>), [MSP MCP](<https://devfeed.tech/topics/msp-mcp.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-skills](<https://devfeed.tech/tags/agent-skills.md>), [agentcore](<https://devfeed.tech/tags/agentcore.md>), [ai](<https://devfeed.tech/tags/ai.md>), [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [amazon-rds](<https://devfeed.tech/tags/amazon-rds.md>), [autonomous](<https://devfeed.tech/tags/autonomous.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [connect](<https://devfeed.tech/tags/connect.md>), [database](<https://devfeed.tech/tags/database.md>), [dba](<https://devfeed.tech/tags/dba.md>), [devops](<https://devfeed.tech/tags/devops.md>), [devops-agent](<https://devfeed.tech/tags/devops-agent.md>), [diagnostic](<https://devfeed.tech/tags/diagnostic.md>), [investigation](<https://devfeed.tech/tags/investigation.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [rds-for-sql-server](<https://devfeed.tech/tags/rds-for-sql-server.md>), [skills](<https://devfeed.tech/tags/skills.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

AWS DevOps Agent can investigate RDS for SQL Server incidents by combining CloudWatch and Database Insights telemetry with SQL-specific MCP tools hosted in Lambda and exposed through Amazon Bedrock AgentCore Gateway. A Markdown skill defines triage thresholds, diagnostic steps, and report format; built-in telemetry identifies the problem type, while Gateway tools retrieve session, query, plan, and index details. In the example, an alarm led the agent to identify a head blocker holding a lock on dbo.Orders, with about 14 sessions waiting. It linked recurring spikes to a five-minute transaction pattern, noted it could not identify the client process, and recommended removing the delay, bounding client timeouts, and raising the alarm threshold. Access is constrained through SigV4, an allowlist, Secrets Manager credential retrieval by Lambda, and a read-only SQL login. The sample requires Database Insights, suitable database permissions, private VPC access, and supported AWS services and region.

## Source excerpt

Learn how to connect Amazon RDS for SQL Server diagnostic tools to AWS DevOps Agent through Amazon Bedrock AgentCore Gateway. MCP tools run in AWS Lambda behind a governed Gateway endpoint, and an investigation skill encodes your DBA team's method so the agent can triage alarms and run autonomous, auditable database investigations.