Menu

Post image 1
Post image 2
1 / 2
0

Part 2: The MCP Server — Turning ADRs and Incidents into a Queryable Org-Knowledge Surface

DEV Community·Raj Murugan·about 1 month ago
#t8zeArfh
Reading 0:00
15s threshold

In Part 1 I argued that an org-aware DevOps agent has to see two things at once: state (what your infrastructure currently is) and intent (what your team decided it should be). The first half is solved by mature observability. The second is what this series is actually about. This post is the deep dive on the half I built. The MCP server. Four tools, one Bedrock Knowledge Base, and a small but load-bearing decision about where the structure lives. The thing I want you to take away: the MCP isn't a wrapper around a search bar. It's a typed query layer over your org's documented decisions, with metadata as the contract. Let's get into it. Why MCP, not prompt-stuffing The first version of this build, like everyone's first version, had every ADR pasted into the system prompt. It worked great for a week. Then I added a second service. Then a third. By the time I had a real corpus, four things had broken: Cost. Every turn re-pays for the same context window.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More