<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Venkatesh Malu on Medium]]></title>
        <description><![CDATA[Stories by Venkatesh Malu on Medium]]></description>
        <link>https://medium.com/@venke80?source=rss-2751339a0426------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*wtF3AqtL083gPoLa.</url>
            <title>Stories by Venkatesh Malu on Medium</title>
            <link>https://medium.com/@venke80?source=rss-2751339a0426------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:17:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@venke80/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Is Your AI Agent Worth It?]]></title>
            <link>https://medium.com/@venke80/is-your-ai-agent-worth-it-9f5571d9b912?source=rss-2751339a0426------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f5571d9b912</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[skills]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[mcps]]></category>
            <dc:creator><![CDATA[Venkatesh Malu]]></dc:creator>
            <pubDate>Sat, 16 May 2026 13:07:25 GMT</pubDate>
            <atom:updated>2026-05-16T13:07:25.571Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Practical ROI Framework for Agentic Implementations</h3><p>Everyone’s building agents. Far fewer are measuring whether those agents are actually paying off. Here’s a five-step framework to find out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hVDPTeGr6tV9swdMqVEc5Q.png" /><figcaption>ROI curve vs. total cost of ownership over a typical 12-month agent deployment lifecycle.</figcaption></figure><p>Everyone’s deploying agents right now. Customer support, data pipelines, internal ops — if you’ve sat in any planning meeting in the past year, someone’s brought it up. And if you’re the one who has to sign off on the budget, you’ve probably asked the same question I keep hearing: <em>okay, but does it actually pay off?</em></p><p>Honestly? Sometimes yes, sometimes no, and almost always “it depends on how you measure.” Agent projects are hard to evaluate. The costs aren’t just the build — there’s maintenance, retraining, process redesign work your original estimate never included. The benefits spill into places your spreadsheet doesn’t track. But you can get to a defensible number. Here’s how I’d approach it.</p><p>· · ·</p><h3>Step 1: Know what you’re actually paying for</h3><p>Most teams budget for the build and stop there. That’s the mistake. The development cost is just the part you can see.</p><p>What you actually need to account for: the dev work itself, yes — but also the ongoing maintenance (agents break when processes change, and processes always change), the staff time to learn to work alongside them, and the process redesign that needs to happen before the agent has anything clean to run on. That last one is usually the biggest surprise.</p><ol><li>Upfront development: designing, building, integrating. This is the iceberg tip most people budget for.</li><li>Ongoing maintenance: monitoring pipelines, applying updates, debugging when upstream processes shift.</li><li>Staff training: your team still needs to work with these things effectively. That’s real time, not a one-hour orientation.</li><li>Process redesign: often the biggest hidden cost. Workflows usually need restructuring before an agent can run inside them without constantly failing.</li></ol><p>That’s your total cost of ownership. Get it wrong and your ROI math is broken before you’ve done anything else.</p><h3>Step 2: Find the use cases where the math is obvious</h3><p>Some problems are genuinely great fits. You can tell because the numbers aren’t borderline — they’re obvious. They tend to share the same profile: high volume, structured data, rules that don’t change week to week, outcomes you can actually count.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*74zzgC4yHMP1Dz96ntW_Fg.png" /></figure><blockquote>“The hardest part of building a course isn’t recording — it’s figuring out the arc. AI nails that part. Worth every cent.”</blockquote><p>The knowledge-worker productivity story is harder to pin down. I’d treat 20–35% as a floor, not a ceiling. The real question is what people actually do with the time they get back. If it goes toward higher-judgment work, the returns compound. If it evaporates into meetings or slack time, you haven’t gained much.</p><h3>Step 3: Be honest about what won’t work yet</h3><p>This is the part people skip when they’re excited about a new deployment. Some processes just aren’t worth automating right now, and forcing it will cost you more than doing nothing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1xWPoqJIu0t1XQLrG6lOXw.png" /></figure><p>“Not now” and “never” are different answers. A process drowning in exceptions today might be a solid candidate in 18 months, once you’ve logged enough examples for the agent to actually learn from. The timeline is part of the evaluation, not a reason to give up.</p><h3>Step 4: Measure more than labor hours</h3><p>Labor hours saved is the easy metric. It’s also incomplete, and teams that stop there consistently undercount the value their agents are delivering — and sometimes overcount it too.</p><p>Set up your measurement framework before you go live, not after. You need a baseline, and you can’t reconstruct one retroactively. Here’s what to track:</p><h3>Four things worth actually measuring</h3><p>Time saved is the obvious one, but do the subtraction: hours freed by the agent, minus hours spent maintaining, debugging, and updating it. Net time is the number that matters, not gross.</p><p>Error rates matter more than most teams realize. Human error has a real dollar cost — rework, customer complaints, compliance exposure. Run the numbers on what your current error rate is actually costing before you deploy, so you have something to compare against.</p><p>Capacity is trickier. The agent freed up 10 hours a week for your analyst. What happened to those 10 hours? If you don’t know, that’s a gap in your model worth closing.</p><p>Time to break even shapes the whole business case. An agent saving $200K a year that takes eight months to pay back looks very different from one that pays back in six weeks. Both might be worth doing but they’re not the same investment.</p><h3>Step 5: Don’t walk away after launch</h3><p>The worst thing you can do after a good deployment is leave it alone. Agents drift. Processes change. The agent you tuned for this quarter’s workflow is already slowly falling out of alignment with next quarter’s. This isn’t theoretical I’ve seen it happen within months.</p><p>Treat your agents like production systems, not projects with a ship date:</p><ol><li>Start with one use case, clear metrics, manageable scope. Prove it works before you try to build a platform around it.</li><li>Design for humans and agents working together. The teams that assume full automation is the goal end up doing expensive rework when reality hits.</li><li>Start with structured, rule-based processes. Save the messy, judgment-heavy workflows for later, once you’ve built confidence in the tooling.</li><li>Instrument before launch. Dashboards, baselines, alerting — set it up before go-live, not two months after when you’re trying to explain a performance drop.</li><li>Review quarterly. Agent performance, new edge cases, changed requirements. If nobody owns this review, it won’t happen.</li></ol><p><em>“The ROI equation keeps moving as the technology changes. The answer isn’t to lock in a number — it’s to keep measuring.”</em></p><h3>The bottom line</h3><p>The teams getting real value from agentic AI aren’t always the ones moving fastest. A lot of them are moving slower, on purpose — picking use cases carefully, instrumenting before launch, cutting deployments that aren’t delivering. That discipline is what separates the people with a portfolio that compounds from the people with a graveyard of half-working agents nobody monitors anymore.</p><p>Think of your deployments as a portfolio. Some will pay back fast. Others take time. A few will turn out to be bad bets and you’ll shut them down and that’s fine. The goal isn’t a perfect first deployment. It’s a process for building, measuring, and improving over time.</p><p>Pick one process, set your baselines, ship it, and keep watching it. Everything else follows from there.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f5571d9b912" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agentic AI’s Blind Spot: Why You Need an Agent and Skill Registry]]></title>
            <link>https://medium.com/@venke80/agentic-ais-blind-spot-why-you-need-an-agent-and-skill-registry-8a0293091333?source=rss-2751339a0426------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a0293091333</guid>
            <category><![CDATA[github-copilot]]></category>
            <category><![CDATA[mcps]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[aagentic]]></category>
            <dc:creator><![CDATA[Venkatesh Malu]]></dc:creator>
            <pubDate>Sat, 25 Apr 2026 03:27:28 GMT</pubDate>
            <atom:updated>2026-04-25T03:27:28.353Z</atom:updated>
            <content:encoded><![CDATA[<p>Six months into building agents, the same question keeps surfacing: who actually knows what’s running?</p><p>I keep seeing the same thing happen inside every org that is serious about agentic AI.</p><p>Someone builds an agent. Then someone builds another one. A month later another team stands up an MCP server, and then a second team stands up a different MCP server that does almost the same thing. Six months in, the platform lead asks a very simple question: what is actually running in production right now? Nobody has a clean answer.</p><p>That is the gap an agent registry is meant to fill.</p><h3>Why this question did not exist a year ago</h3><p>A year ago, most teams were still figuring out how to get an agent to reliably call a function. “Where do we register our agents?” was not on anyone’s whiteboard.</p><p>It is now. The questions I keep hearing from platform leads:</p><ul><li>Which agents exist across the org, and who owns them?</li><li>What skills are they loading?</li><li>Are those skills validated?</li><li>Can we run the same skill on Kubernetes, AgentCore, and Vertex AI without forking it three times?</li></ul><p>This is a governance problem, and governance problems end up solved with registries. A registry is not a new framework or a new runtime. It is the catalog that sits over the mess and gives you a way to find things.</p><p>If MCP gave agents access, and Agent Skills gave them behavior, the registry is what actually lets you run any of it at scale.</p><h3>Questions that only show up once the stack gets busy</h3><p>The registry question rarely shows up on day one. It shows up once a team has been building for a few weeks and the same conversations start repeating themselves.</p><ul><li>Where does our deploy-to-production skill actually live, and which version is being used?</li><li>How many MCP servers do we have pointing at the same database?</li><li>What is stopping the Jira-integration skill from being forked into five variants?</li><li>If security finds an issue in one agent, how fast can we find every other agent that uses the same tool?</li><li>When a developer writes a new skill, how does anyone else hear about it?</li><li>Who owns this agent, and is it still being maintained?</li></ul><p>These are not AI questions. They are supply-chain questions. Supply chains get solved with catalogs that have scoring, versioning, ownership, and search. That is basically the shape of an Agent and Skill registry.</p><h3>What a good registry actually does</h3><p>Forget the branding for a minute. Most useful registries in this space end up doing the same handful of things.</p><p>They catalog agents, MCP servers, and Skills as first-class artifacts. You can list them, search them, and link them to each other. A skill knows which tools it depends on. An agent knows which skills it uses. The graph is traceable.</p><p>They score and validate what they catalog. Provenance, quality signals, security posture. You stop shipping things nobody has actually looked at.</p><p>They deploy. If the catalog cannot actually ship an agent or skill to Kubernetes, AgentCore, or Vertex AI, it is not a registry. It is a spreadsheet.</p><p>They find the stuff you missed. Runtime discovery scans connected environments and surfaces the agents and tools that got deployed outside any governed workflow. The shadow inventory problem is usually worse than leadership thinks.</p><p>The mental model that tends to click for people: Docker Hub for AI agents, with security scanning built in, and a way to actually deploy what is inside.</p><h3>What agentregistry is</h3><p>Agentregistry is the open source implementation of all of that. It sits inside a broader Solo.io stack that includes <strong>agentgateway</strong> for request-time policy and <strong>kagent</strong> for running agents on Kubernetes.</p><p>A couple of design choices are worth flagging.</p><p>It is import-first. You do not migrate your existing repos, deployments, or live runtimes into a new system. You point agentregistry at them and it ingests. Public Git repos, private repos, Docker registries, HTTP/SSE endpoints, even existing Kubernetes clusters all become catalog entries.</p><p>It separates the catalog from the data plane. The registry knows what exists and how it scored. agentgateway sits in front of MCP servers at request time and decides what actually runs, with what auth, what observability, and what transport. That split is intentional, and it is the part that scales.</p><p>There is a developer side too. An arctl CLI and a local web UI on port 12121. You use it to publish artifacts, apply YAML manifests, and wire up clients like Cursor or VS Code.</p><p>The interesting bit is not any one of those choices on its own. It is that Skills, MCP servers, and agents all sit in the same catalog with the same lifecycle. Most tools treat skills as an afterthought. This one does not.</p><h3>Skills without a catalog do not scale</h3><p>Agent Skills came out of Anthropic in late 2025 as an open standard. A skill is a folder of instructions, reference data, and sometimes playbooks that an agent loads when a task matches its activation conditions. More structured than a saved prompt.</p><p>The thing skills do well is turn a general model into a reliable specialist. The thing they do badly is multiply. Five skills is fine. Fifty skills, sitting in different repos and referenced differently across GitHub Copilot, Cursor, VS Code, and whatever internal tooling you run, is a problem.</p><p>Agentregistry treats Skills as a first-class artifact alongside agents and MCP tools. Published, versioned, scored, discovered, and deployed like any other catalog entry. A skill stops being a file buried in one developer’s repo and becomes a governed capability your platform team can stand behind.</p><h3>What that looks like in practice</h3><p>Say you have a skill called deploy-to-production. It defines how your org promotes services, including pre-flight checks, scorecard thresholds, and rollback playbooks. Today that skill probably lives in a GitHub repo. Maybe two. Maybe five, because every team forked it.</p><p>With the skill in a registry:</p><ul><li>It gets published once.</li><li>It gets scored for security and quality.</li><li>Anyone in the org can find it with search.</li><li>Any agent, whether it is kagent, GitHub Copilot, or something on Vertex AI, pulls the validated version.</li><li>When the skill changes, consumers know.</li><li>If a team ships an agent with the old version, the registry surfaces it.</li></ul><p>The skill stops being tribal knowledge and starts being organizational knowledge.</p><p>The value is not in any one skill. It is in treating skills like a supply chain.</p><h3>The architecture, roughly</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tHecSmgfwBlYjS8q5w9ffg.png" /></figure><p>Two properties of this setup do most of the heavy lifting.</p><p>First, it is import-first, not migration-first. You do not rip anything out. You connect what you already have.</p><p>Second, validation happens once, at the registry layer. Every consumer inherits it. You stop duplicating security reviews across half a dozen teams.</p><p>The runtime side is pluralistic on purpose. Kubernetes today, AgentCore tomorrow, Vertex AI next quarter. You avoid betting on whichever platform wins this cycle.</p><p>Policy enforcement sits at the gateway, not in the catalog. The registry tells you what is approved. The gateway decides what actually runs, in real time, with observability attached.</p><h3>What most orgs are doing instead</h3><p>There are basically three patterns teams fall into here.</p><p>The first is ignoring it. Developers ship whatever they want, nobody catalogs anything, and the problem compounds quietly until the first real security review lands on someone’s desk. It works until it does not.</p><p>The second is one big Git repo with all the approved skills and agent configs in it. Better than nothing. But there is no scoring, no runtime portability, no shadow detection, and eventually someone forks the repo.</p><p>The third is rolling their own registry. Some large enterprises go this way. It works if you have a platform team with budget and runway. Most teams do not.</p><p>Agentregistry is interesting because it gives you the third option without the multi-quarter build, and because it is open source you are not betting on one vendor.</p><h3>The bigger point</h3><p>Operating agents at scale needs the same ingredients you need to operate anything at scale. A catalog, a policy plane, and a runtime. Right now that maps to a registry, a gateway, and whatever is running on top of Kubernetes or a managed agent platform.</p><p>Put them together and you stop managing agents one YAML file at a time. You start managing them the way you already manage services and container images. That is the whole play.</p><p>Agent Skills made agents capable. The Agent Registry is what makes them governable.</p><h3>One last thing</h3><p>If your team is already building with GitHub Copilot, Cursor, kagent, or any serious agent framework, the registry question is going to find you. Probably sooner than you think. The more successful you get, the faster it arrives.</p><p>Skills and MCP servers multiply. So do the agents that depend on them. Without a catalog, six months in, the stack is an archaeological dig.</p><p>The interesting thing about this moment is that the answer is emerging in the open, not behind one vendor’s paywall. agentregistry is one example of that. Worth watching where it goes.</p><p><em>If this resonated, feel free to clap, share, or follow. I write about platform engineering, cloud infrastructure, and agentic AI.</em></p><p>Agentic AI, MCP, Agent Skills, Platform Engineering, Cloud Native</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a0293091333" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Intentionally Broke My EKS Cluster to Test AWS’s AI DevOps Agent (Part 3)]]></title>
            <link>https://medium.com/@venke80/i-intentionally-broke-my-eks-cluster-to-test-awss-ai-devops-agent-part-3-7cda151bbb1e?source=rss-2751339a0426------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cda151bbb1e</guid>
            <category><![CDATA[ek]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[incident-response]]></category>
            <category><![CDATA[aiops]]></category>
            <dc:creator><![CDATA[Venkatesh Malu]]></dc:creator>
            <pubDate>Thu, 16 Apr 2026 16:46:17 GMT</pubDate>
            <atom:updated>2026-04-16T16:46:17.800Z</atom:updated>
            <content:encoded><![CDATA[<p>Two faults. One deployment. What did it actually find?</p><p>Parts 1 and 2 were almost too clean.</p><p>One fault, one blast radius, one log line pointing directly at the answer. Real incidents don’t work that way. So for Part 3, I injected two problems at once into the same deployment and watched whether the agent could separate them.</p><p>But before I get into the experiment, something happened the moment the cluster connected that I wasn’t expecting at all.</p><h3>The agent learned my cluster before I asked it to</h3><p>The second the Agent Space connected to cps-devtech-cluster-dev, it kicked off a task I hadn&#39;t triggered: SYSTEM_LEARNING.</p><p>No prompt. No trigger from me. It just started.</p><p>By the time it finished, it had mapped 13 containers and 7 external dependencies across the cluster and produced a topology with 571 relationships. GitHub Governance services, Azure AD sync pipelines, a CI/CD runner platform, an observability stack feeding Sumo Logic and CloudWatch. Things I hadn’t mentioned or asked about.</p><p>This matters more than it sounds. An agent that already knows your environment when an incident fires is a different thing entirely from one that starts cold every time a page fires. When it investigated the faults later, it already knew what the cluster was supposed to look like. Think of it like the difference between a doctor who ran your bloodwork last month and one meeting you for the first time in the ER.</p><h3>Something to know before you start: two consoles, not one</h3><p>This tripped me up and it will trip you up too if nobody tells you first.</p><p>The AWS Management Console at us-east-1.console.aws.amazon.com/devops-agent is where you manage Agent Spaces. It&#39;s the admin panel. Create, configure, set up IAM.</p><p>The DevOps Agent Web App is a completely separate interface. You reach it through Actions &gt; “Open web app” from your Agent Space page. This is where chat lives, where investigations appear, where the topology renders. If you’re looking for your investigation results in the AWS Console, you won’t find them. They’re in the other one.</p><p>Also: the web app session via the IAM authentication link expires in 10 minutes. Set up IAM Identity Center before your first real investigation or you’ll be re-authenticating mid-triage.</p><h3>The experiment: two faults, one deployment</h3><p>I deployed a standard nginx pod with two deliberate problems baked in.</p><p>The first was a liveness probe pointed at /healthz:</p><pre>livenessProbe:<br>  httpGet:<br>    path: /healthz        # nginx has no /healthz endpoint<br>    port: 80<br>  initialDelaySeconds: 5<br>  periodSeconds: 10<br>  failureThreshold: 3</pre><p>Nginx doesn’t serve /healthz by default. Every probe check returns a 404. After 3 consecutive failures, kubelet kills the container. The pod restarts. Same probe, same 404, same kill. That&#39;s the loop.</p><p>The second was a memory limit set at 64Mi:</p><pre>resources:<br>  limits:<br>    memory: &quot;64Mi&quot;        # nginx needs ~80Mi under any real load<br>    cpu: &quot;250m&quot;</pre><p>Just low enough to stay alive at idle but get OOMKilled the moment any real traffic comes through.</p><p>Both pods were in CrashLoopBackOff with 15 restarts each before I triggered the investigation.</p><h3>The investigation: how it actually thinks</h3><p>I triggered an investigation through the web app chat panel with a simple description: “api-server pods restarting every 30 seconds in fault-test namespace.”</p><p>What followed wasn’t a lookup. It was a reasoning chain. Here’s what it actually worked through:</p><pre>Observations:<br>  Both pods in CrashLoopBackOff (api-server-85559cd497-8g6mh, api-server-85559cd497-kh2gk)<br>  15 restarts each<br>  Container exit code: 0, reason: Completed<br>  → container isn&#39;t crashing from an application error<br><br>Liveness probe config:<br>  HTTP GET /healthz on port 80<br>  initialDelaySeconds: 5, periodSeconds: 10, failureThreshold: 3<br><br>Events:<br>  &quot;Liveness probe failed: HTTP probe failed with statuscode: 404&quot;<br>  → 38 occurrences for pod 8g6mh, 31 for pod kh2gk<br><br>Image check:<br>  nginx:1.25 does not have a /healthz endpoint in its default nginx.conf<br>  No custom nginx config or volume mounts provided<br><br>Cycle:<br>  Container starts → nginx serves on port 80 → liveness probe hits /healthz<br>  → nginx returns 404 → after 3 failures kubelet kills container<br>  → exit code 0 (Completed) → restart → same loop<br><br>Deployment revision 1, created 2026-04-16T02:48:33Z, no prior revisions</pre><p>The exit code 0 is the tell here. Most people assume a crashing pod means an application error. Exit code 0 with a liveness probe loop means the container was fine,Kubernetes killed it deliberately, and kept killing it.</p><p>and at last it gave me a clean picture why it was failing !!!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*-wXw2hwfx5c_2hDhPaQlQA.png" /></figure><p>and then comes Root cause analysis My favorite :)</p><h3>Root cause: why each fault behaves the way it does</h3><p>The liveness probe failure is deterministic. The probe fires on a fixed interval, /healthz returns 404 every single time, Kubernetes follows the spec — three consecutive failures and kubelet kills the container. It doesn&#39;t matter what the pod is doing or how much load it&#39;s under. The loop is guaranteed from the first second the pod starts. Exit code 0 every time, because the container itself ran fine. Kubernetes was the one doing the killing.</p><p>The memory fault is different. At idle, 64Mi is enough to keep nginx running. The OOM kill only happens when traffic pushes memory above the limit. No load, no OOM. That&#39;s why the agent surfaced only the liveness probe root cause in this run — the memory fault was sitting there, but the symptom hadn&#39;t shown up yet.</p><p><strong>Suggestion the Agent Gave : </strong><br>Fix the probe first. Then raise the memory limit before you put any real traffic through it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*vKL21hWjfWmOvsiwt0ifxQ.png" /></figure><h3>What the agent suggested</h3><p>At the bottom of the root cause finding, the agent didn’t just stop at diagnosis. It gave three specific remediation options, word for word:</p><blockquote>“To fix this, either: (1) change the liveness probe path to ‘/’ which nginx serves by default, (2) add a custom nginx configuration that includes a /healthz endpoint, or (3) remove the liveness probe if health checking is not required for this test deployment.”</blockquote><p>That’s the agent’s output. Not a generic suggestion — it knew the image, knew the default nginx config, and gave you options ranked by effort.</p><p><strong>Option 1</strong> (what the agent suggested first — change the path to /):</p><p>yaml</p><pre>livenessProbe:<br>  httpGet:<br>    path: /<br>    port: 80<br>  initialDelaySeconds: 5<br>  periodSeconds: 10<br>  failureThreshold: 3</pre><p>This is the quickest path back to a running pod. The agent recommended it for exactly that reason. The tradeoff is a 200 on / only confirms nginx is alive, not that your application logic is healthy.</p><p><strong>Option 2</strong> (what the agent suggested if you want a real health endpoint):</p><p>nginx</p><pre>location /health {<br>  return 200 &#39;OK&#39;;<br>  add_header Content-Type text/plain;<br>}</pre><p>Add that to your nginx config and point the probe at /health. The agent flagged this as the better choice for production workloads — an endpoint that exists intentionally rather than one that happens to return 200.</p><p>The agent also noted the memory limit as a separate concern — 64Mi is below what nginx needs under load — but it didn&#39;t surface that as an active root cause in this run since no traffic was hitting the pods. It confirmed the liveness probe loop was sufficient on its own to cause the CrashLoopBackOff</p><h3>What it can do when it really understands your system</h3><p>The investigation above was useful because it had infrastructure-level context: pod states, probe configs, CloudWatch metrics, event timelines. That’s already more than you get from a raw PagerDuty alert.</p><p>But zoom out. The SYSTEM_LEARNING task mapped 13 containers, 7 external dependencies, and 571 relationships across the cluster. It knew about the CI/CD runner platform, the GitHub integration, the deployment pipelines. Things I never mentioned.</p><p>That’s where the capability starts to shift. With that topology in memory, the agent can tell you which downstream services will degrade and in what order when a pod starts failing. That’s not a guess. It’s blast radius analysis from an actual map.</p><p>Connect your GitHub repo on top of that and it gets more interesting. Instead of “probe path is wrong,” you get “the /healthz path doesn&#39;t exist anywhere in the codebase, but /health is defined in src/server.js line 42 and used by the staging deployment.&quot; It&#39;s not reading infrastructure signals anymore. It&#39;s reading the system.</p><p>Most teams wire up the infrastructure side and stop there. The code and architecture integrations are where the real gap opens up between “log reader with cluster context” and something closer to a colleague who has actually read your code.</p><h3>Apply the fix and verify</h3><p>Patch the deployment with both corrections:</p><p>bash</p><pre>kubectl patch deployment api-server -n fault-test --type=&#39;json&#39; -p=&#39;[<br>  {&quot;op&quot;: &quot;replace&quot;, &quot;path&quot;: &quot;/spec/template/spec/containers/0/livenessProbe/httpGet/path&quot;, &quot;value&quot;: &quot;/&quot;},<br>  {&quot;op&quot;: &quot;replace&quot;, &quot;path&quot;: &quot;/spec/template/spec/containers/0/resources/limits/memory&quot;, &quot;value&quot;: &quot;128Mi&quot;}<br>]&#39;</pre><pre>kubectl rollout status deployment/api-server -n fault-test<br>kubectl get pods -n fault-test</pre><p>Pods came back clean. No restarts. The agent closed the investigation in the web app automatically once it saw the restart rate drop to zero.</p><h3>A few things I hit that aren’t in the docs</h3><p><strong>The Agent Space region.</strong> It lives in us-east-1 by AWS requirement even if your cluster is in Sydney or Mumbai. If you can&#39;t find the Agent Space in the console, you&#39;re probably looking in the wrong region.</p><p><strong>Vended logs are not automatic.</strong> Agent activity logs go nowhere by default. You have to wire up a CloudWatch delivery source and destination manually before your first investigation or you have no audit trail. I only caught this in Session 2.</p><p><strong>CLI investigations don’t appear in the web app.</strong> If you trigger a create-chat via the CLI, the userId comes from your assumed role session name. The web app uses a different identity. Two different userIds, two separate chat histories. For anything you want to see in the web app, use the &quot;+ New chat&quot; button directly.</p><p><strong>--no-verify-ssl is required</strong> on every aws devops-agent CLI command. The endpoint&#39;s certificate chain fails local verification. This isn&#39;t documented anywhere obvious.</p><h3>My honest verdict</h3><p>Three experiments across this series. One clean single-fault scenario in Part 2. One dual-fault scenario here. The pattern held both times: it follows the signal chain, doesn’t go sideways into wrong assumptions, and separates multiple failure types when the log signatures are distinct enough.</p><p>The SYSTEM_LEARNING task shifted my view the most. Having context before the incident rather than scrambling for it during the incident — that’s the part I didn’t expect to matter as much as it did.</p><p>Where it falls short: network-layer failures, application-level root causes, anything where the problem doesn’t surface a clear log signature. Those are real gaps and worth knowing before you put this in a runbook.</p><p>The honest answer: run it. Keep a human in the loop. It gets you to the right question faster than anything else I’ve tested, and that’s usually the hard part.</p><p>Links: <a href="https://medium.com/@venke80/i-intentionally-broke-my-eks-cluster-to-test-awss-new-ai-devops-agent-part-1-809b3dfeef75">Part 1</a> · <a href="https://aws.amazon.com/devops-agent/">AWS DevOps Agent</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cda151bbb1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Intentionally Broke My EKS Cluster to Test AWS’s AI DevOps Agent (Part 2)]]></title>
            <link>https://medium.com/@venke80/i-intentionally-broke-my-eks-cluster-to-test-awss-ai-devops-agent-part-2-50d6095e4216?source=rss-2751339a0426------2</link>
            <guid isPermaLink="false">https://medium.com/p/50d6095e4216</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ek]]></category>
            <category><![CDATA[agents]]></category>
            <dc:creator><![CDATA[Venkatesh Malu]]></dc:creator>
            <pubDate>Fri, 10 Apr 2026 03:21:39 GMT</pubDate>
            <atom:updated>2026-04-10T05:34:36.636Z</atom:updated>
            <content:encoded><![CDATA[<p>The investigation. Step by step. Does it actually think?</p><p>In <a href="https://medium.com/@venke80/i-intentionally-broke-my-eks-cluster-to-test-awss-new-ai-devops-agent-part-1-809b3dfeef75">Part 1</a>, we set the trap. The Agent Space was running in us-east-1, the cluster in ap-south-1 was wired up, CloudWatch Container Insights had eyes on everything, and PagerDuty was ready to fire. Then I slipped one character into the CoreDNS ConfigMap: 8.8.4.4 became 8.8.4.x. Restarted the pods and waited.</p><p>Ninety seconds later, both CoreDNS pods were in CrashLoopBackOff. My phone buzzed. PagerDuty had fired.</p><p>The agent was on the case. Here’s what happened next.</p><h3>What the agent sees first</h3><p>The agent starts with the PagerDuty alert, not a full cluster scan. The alert told it something was broken. Its job was to figure out what.</p><p>From the PagerDuty incident, it pulled the affected service details and cross-referenced the EKS cluster state. The first thing it noticed was obvious enough: two CoreDNS pods in CrashLoopBackOff with a climbing restart count.</p><p>A lot of tools stop there. “CoreDNS pods are crashing” is a symptom, not a root cause. The agent kept going.</p><h3>Pulling the crash logs</h3><p>The agent pulled the container logs from CloudWatch Container Insights. This is why enabling it in Part 1 matters. Without those logs, there’s nothing to reason over at this stage.</p><p>What it found:</p><pre>[ERROR] plugin/errors: 2 SERVFAIL (unexpected EOF)<br>[ERROR] Failed to query upstream: read udp ... i/o timeout<br>[FATAL] CoreDNS failed to start: invalid upstream address: 8.8.4.x</pre><p>That last line is the tell. 8.8.4.x is not a valid IP. CoreDNS tried to parse it on startup, failed, and crashed. Every restart, same result. That&#39;s the CrashLoopBackOff loop explained.</p><p>The agent didn’t stop at the log line. It traced back to the resource that owned that config: the coredns ConfigMap in kube-system. Most humans get there too, but usually after ruling out network policies, node pressure, and whatever else crossed their mind first.</p><h3>Tracing back to the ConfigMap</h3><p>The agent fetched the current ConfigMap and flagged the exact line:</p><p>diff</p><pre>forward . 8.8.8.8 8.8.4.4<br>+ forward . 8.8.8.8 8.8.4.x   &lt;- invalid address</pre><p>Then it checked the change history. Using CloudWatch and the Kubernetes event stream, it found the ConfigMap had been modified about two minutes before the first crash. That’s something most people only discover by manually running kubectl get events and squinting at timestamps mid-incident.</p><p>The agent’s summary looked roughly like this:</p><pre>Investigation Summary<br>─────────────────────────────────────────────────────<br>Incident source  : PagerDuty - CoreDNS pod crash storm<br>Affected pods    : coredns-5d78c9869d-kxqbp (CrashLoopBackOff x4)<br>                   coredns-5d78c9869d-r9vlt (CrashLoopBackOff x4)<br>Root cause       : Invalid upstream address in CoreDNS ConfigMap<br>                   coredns (kube-system) -&gt; forward directive<br>Bad value        : 8.8.4.x  (not a valid IP)<br>Config changed   : ~2 minutes before first crash<br>Impact           : Full DNS resolution failure across cluster<br>─────────────────────────────────────────────────────<br>Suggested fix:<br>  kubectl edit configmap coredns -n kube-system<br>  Correct the forward directive to: forward . 8.8.8.8 8.8.4.4</pre><p>No runbook. No pre-built rule for “invalid character in upstream IP.” It followed the logs to the config, checked the timeline, and connected the two. A good SRE does the same thing. The difference is they usually need twenty minutes and a Slack thread to get there.</p><h3>Applying the fix</h3><p>The agent tells you what to fix. It doesn’t run the fix itself, which is the right call. You don’t want any tool automatically patching CoreDNS without a human confirming it first. So I ran:</p><pre>kubectl edit configmap coredns -n kube-system</pre><p>Changed the forward line back:</p><pre>diff<br><br>- forward . 8.8.8.8 8.8.4.x<br>+ forward . 8.8.8.8 8.8.4.4</pre><p>Then restarted CoreDNS:</p><pre>kubectl rollout restart deployment coredns -n kube-system</pre><p>Watched the pods recover:</p><pre>kubectl get pods -n kube-system -w</pre><pre>NAME                       READY   STATUS    RESTARTS   AGE<br>coredns-5d78c9869d-kxqbp   1/1     Running   0          23s<br>coredns-5d78c9869d-r9vlt   1/1     Running   0          21s</pre><p>About 40 seconds. The agent saw the restarts stop, and PagerDuty closed the incident automatically.</p><h3>The cross-region question</h3><p>Since the Agent Space is in us-east-1 and my cluster is in ap-south-1, I half-expected some gap in the investigation. There wasn&#39;t one. The agent queries your EKS API and CloudWatch log groups wherever they live. The Agent Space region is just where the coordination layer runs. Your data stays put.</p><p>If you do see gaps in log data during an investigation, check that the IAM role has access to your log groups in the right region:</p><pre># Verify the agent role can access your log groups<br>aws logs describe-log-groups \<br>  --log-group-name-prefix /aws/containerinsights/dev-eks-cluster \<br>  --region ap-south-1</pre><p>If that returns results cleanly, the agent can see them too.</p><h3>What I actually think</h3><p>The investigation was good. Not perfect, but good.</p><p>It followed the right path: PagerDuty alert, pod crashes, container logs, ConfigMap, change timeline. It didn’t wander off into node issues or network policies. That kind of focus matters more than it sounds when you’re half asleep at 2am and the wrong guess adds another hour to the incident.</p><p>Where it falls short: it can tell you what changed and when, but not who. Attribution is outside its scope. For any post-incident review you still need git history or CloudTrail. The agent gets you to the diagnosis. Everything after that is still on you.</p><p>The bigger limitation I want to test honestly is this: the failure I created was clean. One cause, one blast radius, one obvious fix. Real production incidents are usually none of those things. Multiple services breaking at once, timing that doesn’t line up, logs pointing in two directions. Part 3 is where I throw that at it and see what happens.</p><p>PART 1 link : <a href="https://medium.com/@venke80/i-intentionally-broke-my-eks-cluster-to-test-awss-new-ai-devops-agent-part-1-809b3dfeef75">https://medium.com/@venke80/i-intentionally-broke-my-eks-cluster-to-test-awss-new-ai-devops-agent-part-1-809b3dfeef75</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50d6095e4216" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Intentionally Broke My EKS Cluster to Test AWS’s New AI DevOps Agent (Part 1)]]></title>
            <link>https://medium.com/@venke80/i-intentionally-broke-my-eks-cluster-to-test-awss-new-ai-devops-agent-part-1-809b3dfeef75?source=rss-2751339a0426------2</link>
            <guid isPermaLink="false">https://medium.com/p/809b3dfeef75</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[devops-tool]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Venkatesh Malu]]></dc:creator>
            <pubDate>Wed, 08 Apr 2026 17:27:52 GMT</pubDate>
            <atom:updated>2026-04-08T17:27:52.870Z</atom:updated>
            <content:encoded><![CDATA[<p>You get the page. An alert screams that <em>something</em> is broken, but it never tells you <em>what</em> or <em>why</em>. And so the scavenger hunt begins: you dig through logs, double-check the latest deployment, and desperately try to connect a vague symptom to a specific root cause. We’ve all been there and lost hours in that fog.</p><p>When AWS announced their new DevOps Agent, they made a bold promise to bridge that very gap. I was skeptical. So, I decided to put it to the test. I pointed it at my dev EKS cluster, wired everything up, and then did something you should probably only do on purpose: I broke it.</p><p>This post is Part 1 of my experiment: the setup. We’ll walk through creating the necessary roles, connecting the agent to EKS and PagerDuty, and getting all the observability plumbing in place. Let’s get our hands dirty.</p><h3>First, a Few Ground Rules</h3><p>Before we dive in, a couple of heads-ups. The DevOps Agent is still in Preview, which means it only lives in the <strong>us-east-1</strong> region for now. Even if your clusters are elsewhere (mine is in ap-south-1), you have to create the &quot;Agent Space&quot; in us-east-1. It&#39;s a bit of a quirk, but it&#39;s designed to investigate resources across regions, so it&#39;s not a deal-breaker.</p><p>Here’s what you’ll need to follow along:</p><ul><li>An <strong>EKS cluster</strong> (v1.27 or newer).</li><li><strong>CloudWatch Container Insights</strong> enabled. This is non-negotiable; it’s the agent’s eyes and ears.</li><li><strong>IAM Identity Center</strong> is optional, but you’ll want it if you plan to give your team access to the agent’s web console.</li><li>Your trusty kubectl and eksctl command-line tools, ready for action.</li></ul><h3>Step 1: Giving the Agent the Keys to the Kingdom</h3><p>First up, the agent can’t do anything without permissions. We need to create an IAM role it can assume to inspect our resources, read CloudWatch logs, and map out our services. AWS calls this the “Agent Space role.”</p><p>It’s a standard process: create a trust policy that allows the aidevops.amazonaws.com service to assume a role, then attach the managed AIOpsAssistantPolicy.</p><p>Here are the commands to get it done:</p><pre># Define the trust policy. This basically says, &quot;I trust the AWS DevOps Agent service.&quot;<br>cat &gt; agent-trust-policy.json &lt;&lt; &#39;EOF&#39;<br>{<br>  &quot;Version&quot;: &quot;2012-10-17&quot;,<br>  &quot;Statement&quot;: [<br>    {<br>      &quot;Effect&quot;: &quot;Allow&quot;,<br>      &quot;Principal&quot;: {<br>        &quot;Service&quot;: &quot;aidevops.amazonaws.com&quot;<br>      },<br>      &quot;Action&quot;: &quot;sts:AssumeRole&quot;<br>    }<br>  ]<br>}<br>EOF<br><br># Now, create the role with that policy<br>aws iam create-role \<br>  --role-name DevOpsAgentSpaceRole \<br>  --assume-role-policy-document file://agent-trust-policy.json \<br>  --region us-east-1<br><br># And finally, attach the permissions it needs<br>aws iam attach-role-policy \<br>  --role-name DevOpsAgentSpaceRole \<br>  --policy-arn arn:aws:iam::aws:policy/AIOpsAssistantPolicy</pre><p>After running that, you’ll get a JSON output with the Role ARN. <strong>Copy that ARN!</strong> You’re going to need it in the very next step.</p><h3>Step 2: Creating the Agent’s “Home Base”</h3><p>With the role ready, we can create the Agent Space. Think of this as the agent’s control plan where it coordinates investigations and stores its findings.</p><p>You could do this in the AWS Console, but where’s the fun in that? Here’s the CLI command. Remember to plug in the Role ARN you just copied and add any tags that will help the agent find your resources. I’m using Environment and Team tags.</p><pre># Remember to use your own Role ARN here!<br>aws aidevops create-agent-space \<br>  --name &quot;dev-eks-agentspace&quot; \<br>  --role-arn arn:aws:iam::111122223333:role/DevOpsAgentSpaceRole \<br>  --tags Key=Environment,Value=dev Key=Team,Value=platform \<br>  --region us-east-1</pre><p>It’ll take a couple of minutes to spin up. You can check its status with this command until it flips from CREATING to ACTIVE.</p><pre>aws aidevops describe-agent-space \<br>  --agent-space-id as-0xf3a91bc2 \<br>  --region us-east-1 \<br>  --query &quot;agentSpace.status&quot;</pre><h3>Step 3: Letting the Agent Talk to Kubernetes</h3><p>The agent now exists, but it’s completely blind to our EKS cluster. We need to grant it access so it can run the equivalent of kubectl get pods and inspect the cluster state. With modern EKS, we do this by creating an &quot;access entry&quot; for the IAM role we made earlier.</p><p>This grants the DevOpsAgentSpaceRole permissions to interact with our cluster&#39;s API server. I&#39;m assigning it the AmazonEKSAdminViewPolicy, which provides the read-only access it needs to observe things.</p><pre># Create an access entry for the agent&#39;s role<br>aws eks create-access-entry \<br>  --cluster-name dev-eks-cluster \<br>  --principal-arn arn:aws:iam::111122223333:role/DevOpsAgentSpaceRole \<br>  --type STANDARD \<br>  --region ap-south-1</pre><pre># Associate the read-only view policy<br>aws eks associate-access-policy \<br>  --cluster-name dev-eks-cluster \<br>  --principal-arn arn:aws:iam::111122223333:role/DevOpsAgentSpaceRole \<br>  --policy-arn arn:aws:eks::aws:cluster-access-policy/AmazonEKSAdminViewPolicy \<br>  --access-scope type=cluster \<br>  --region ap-south-1</pre><p>Once the addon status shows ACTIVE, you should see new log groups appear in CloudWatch under /aws/containerinsights/dev-eks-cluster/. This is the raw data the agent will use to work its magic.</p><h3>Step 6: Setting the Trap</h3><p>The final piece is discovery. The agent needs to know which resources belong to it, and it does this by looking for specific tags. My Agent Space is configured to find resources tagged Environment=dev, so I made sure that tag was applied to my EKS cluster.</p><p>At this point, the cluster was healthy. Pods were running, DNS was working, and my on-call schedule was blissfully quiet.</p><p>Time to change that. My target: CoreDNS. It’s the perfect candidate for a critical failure. If DNS breaks, everything breaks. I decided to introduce a subtle but fatal typo into its configuration.</p><p>bash</p><pre>kubectl edit configmap coredns -n kube-system</pre><p>I located the forward directive, which points to upstream DNS resolvers, and made a small, <strong>human-like error.</strong></p><pre>diff<br>- forward . 8.8.8.8 8.8.4.4<br>+ forward . 8.8.8.8 8.8.4.x    # The &quot;x&quot; is not a valid IP address component</pre><p>With the bad config in place, I just needed to apply it by restarting the CoreDNS pods.</p><pre>kubectl rollout restart deployment coredns -n kube-system</pre><p>I waited about 90 seconds and then checked the pods.</p><pre>NAME                       READY   STATUS             RESTARTS   AGE<br>coredns-5d78c9869d-kxqbp   0/1     CrashLoopBackOff   4          3m<br>coredns-5d78c9869d-r9vlt   0/1     CrashLoopBackOff   4          3m</pre><p>That’s the sight we all dread: CrashLoopBackOff.</p><p>A moment later, my phone buzzed. PagerDuty. The alert had fired. The DevOps Agent had just been activated.</p><p>The trap is set. An AI is now on the case, tasked with figuring out why my cluster’s DNS is broken. In <strong>Part 2</strong>, we’ll break down the agent’s investigation step-by-step and see if it can trace the problem from a PagerDuty alert all the way back to my one-character typo in a ConfigMap.</p><p>This version is now up-to-date with the General Availability status. Let me know if you need any other changes</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=809b3dfeef75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Port.io Solves the Enterprise MCP Chaos Problem]]></title>
            <link>https://medium.com/@venke80/how-port-io-solves-the-enterprise-mcp-chaos-problem-ac46d293d452?source=rss-2751339a0426------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac46d293d452</guid>
            <category><![CDATA[ai-devops]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[mcps]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Venkatesh Malu]]></dc:creator>
            <pubDate>Sun, 05 Apr 2026 05:11:55 GMT</pubDate>
            <atom:updated>2026-04-05T05:11:55.465Z</atom:updated>
            <content:encoded><![CDATA[<p>One entry point. Your rules. Every AI tool your team needs.</p><h3>The problem nobody talks about until it’s too late</h3><p>You start with one MCP server.</p><p>Maybe it’s the GitHub one, so your Copilot or Claude can read your repos. Works great. Then someone on the platform team adds a Jira MCP so agents can query tickets. Then an AWS one. Then someone builds an internal deployment tool and wraps it in MCP too. Then a third-party vendor ships their own.</p><p>Three months in, you have eight MCP servers running across the org. Nobody has a clear list of what’s approved. Onboarding a new engineer means a 45-minute Slack conversation just to figure out which MCP URL to put in their IDE config. And security is asking uncomfortable questions about which agents have access to what.</p><p>This is where Port.io comes in — and it’s one of the more practical answers to this problem I’ve seen.</p><h3>What is Port.io, quickly</h3><p>Port is an internal developer portal platform. At its core, it gives platform teams a way to build a software catalog — a single source of truth for all your services, infrastructure, and ownership — and build self-service actions on top of it.</p><p>But in the last year, Port has made a serious push into AI. Their MCP server isn’t just a way to let AI agents talk to your developer portal. It’s designed to be the <strong>central routing layer</strong> for every MCP server your organization runs.</p><p>Think of it as an API gateway, but for MCP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xGNB5IPn4Ir7VHhuNoUoJA.png" /></figure><h3>Step-by-step: Setting this up</h3><h3>Prerequisites</h3><p>Before anything else you need:</p><ul><li>A Port account (free tier works for testing)</li><li>A Port Client ID and Client Secret (generated from your Port dashboard under Settings → Credentials)</li><li>Your Port region — either EU or US (check your Port app URL; if it contains &quot;us&quot; it&#39;s US, otherwise EU)</li></ul><h3>Step 1: Install the Port MCP Server</h3><p>You have two options here.</p><p><strong>Option A — Using uvx (simplest for local/dev)</strong></p><p>If you have uv installed:</p><pre>uvx mcp-server-port \<br>  --client-id YOUR_PORT_CLIENT_ID \<br>  --client-secret YOUR_PORT_CLIENT_SECRET \<br>  --region EU \<br>  --log-level INFO</pre><p><strong>Option B — Using Docker (recommended for enterprise/shared environments)</strong></p><pre>docker run -d \<br>  --name port-mcp-server \<br>  -e PORT_CLIENT_ID=your_client_id \<br>  -e PORT_CLIENT_SECRET=your_client_secret \<br>  -e PORT_REGION=EU \<br>  -p 8080:8080 \<br>  ghcr.io/port-labs/port-mcp-server:latest</pre><p>Docker is the better choice when you’re deploying this as a shared team resource rather than per-developer.</p><h3>Step 2: Connect your AI client to the Port MCP Server</h3><p>In your IDE or AI tool (Claude Desktop, Cursor, etc.), update your MCP configuration to point to the Port server instead of individual MCP servers.</p><p>For Claude Desktop, edit claude_desktop_config.json:</p><p>json</p><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;port&quot;: {<br>      &quot;command&quot;: &quot;uvx&quot;,<br>      &quot;args&quot;: [&quot;mcp-server-port&quot;],<br>      &quot;env&quot;: {<br>        &quot;PORT_CLIENT_ID&quot;: &quot;your_client_id&quot;,<br>        &quot;PORT_CLIENT_SECRET&quot;: &quot;your_client_secret&quot;,<br>        &quot;PORT_REGION&quot;: &quot;EU&quot;<br>      }<br>    }<br>  }<br>}</pre><p>For a remote/shared Port MCP server running in Docker, you’d point to the HTTP endpoint instead:</p><p>json</p><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;port&quot;: {<br>      &quot;url&quot;: &quot;https://your-port-mcp-server.internal/mcp&quot;,<br>      &quot;transport&quot;: &quot;http&quot;<br>    }<br>  }<br>}</pre><h3>Step 3: Connect your external MCP servers to Port</h3><p>This is the key step. Instead of each developer configuring GitHub MCP, Jira MCP, AWS MCP separately, you register them all in Port once.</p><p>In the Port UI:</p><ol><li>Go to <strong>AI Interfaces → MCP Servers</strong></li><li>Click <strong>Add MCP Server</strong></li><li>Fill in the server name, URL, and description</li><li>Select which tools to expose (x-allowed-actions-to-run) — this is how you prevent an agent from doing things it shouldn&#39;t</li></ol><p>Port supports both official public MCP servers and internal custom ones. You can add any server that follows the MCP spec.</p><p>For example, to add the GitHub MCP server:</p><pre>Name: GitHub<br>URL: https://api.githubcopilot.com/mcp/<br>Tools allowed: list_repos, read_file, create_pr (pick what makes sense for your org)</pre><p>For an internal deployment tool:</p><pre>Name: Internal Deploy Service<br>URL: https://deploy.internal.yourcompany.com/mcp<br>Tools allowed: get_deployment_status, trigger_rollback</pre><h3>Step 4: Build your MCP Registry for governance</h3><p>This is what turns Port from a convenience into an actual enterprise governance layer.</p><p>Port lets you build an <strong>MCP Server Registry</strong> inside your software catalog — a blueprint that tracks every MCP server your org has approved, who owns it, what it’s allowed to do, and what the setup instructions are.</p><p>Create a blueprint in Port for your MCP registry:</p><p>json</p><pre>{<br>  &quot;identifier&quot;: &quot;mcp_server&quot;,<br>  &quot;title&quot;: &quot;MCP Server&quot;,<br>  &quot;properties&quot;: {<br>    &quot;server_url&quot;: {<br>      &quot;type&quot;: &quot;string&quot;,<br>      &quot;title&quot;: &quot;Server URL&quot;<br>    },<br>    &quot;allowed_tools&quot;: {<br>      &quot;type&quot;: &quot;array&quot;,<br>      &quot;title&quot;: &quot;Allowed Tools&quot;,<br>      &quot;items&quot;: { &quot;type&quot;: &quot;string&quot; }<br>    },<br>    &quot;status&quot;: {<br>      &quot;type&quot;: &quot;string&quot;,<br>      &quot;title&quot;: &quot;Status&quot;,<br>      &quot;enum&quot;: [&quot;approved&quot;, &quot;pending&quot;, &quot;deprecated&quot;]<br>    },<br>    &quot;owner_team&quot;: {<br>      &quot;type&quot;: &quot;string&quot;,<br>      &quot;title&quot;: &quot;Owner Team&quot;<br>    },<br>    &quot;setup_guide&quot;: {<br>      &quot;type&quot;: &quot;string&quot;,<br>      &quot;format&quot;: &quot;markdown&quot;,<br>      &quot;title&quot;: &quot;Setup Instructions&quot;<br>    }<br>  }<br>}</pre><p>Now platform teams manage the registry in Port. Developers can query it through the portal (or through AI — “what MCP servers do we have for AWS?”) instead of digging through Confluence.</p><h3>Step 5: Token-based authentication for CI/CD</h3><p>For non-interactive environments like pipelines and automated agents, use the Client Credentials flow instead of user credentials.</p><p>Generate a token:</p><p>bash</p><pre>curl -X POST https://api.getport.io/v1/auth/access_token \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{<br>    &quot;clientId&quot;: &quot;your_client_id&quot;,<br>    &quot;clientSecret&quot;: &quot;your_client_secret&quot;<br>  }&#39;</pre><p>Use the token in your MCP config:</p><p>json</p><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;port&quot;: {<br>      &quot;url&quot;: &quot;https://your-port-mcp-server.internal/mcp&quot;,<br>      &quot;transport&quot;: &quot;http&quot;,<br>      &quot;headers&quot;: {<br>        &quot;Authorization&quot;: &quot;Bearer YOUR_ACCESS_TOKEN&quot;<br>      }<br>    }<br>  }<br>}</pre><p>This is the pattern for giving CI/CD pipelines or background AI agents access without tying access to a specific user’s credentials.</p><h3>What this looks like in practice</h3><p>Say a developer opens Cursor and types: <em>“What’s the deployment status of the payments service, and can you check if there’s an open Jira ticket for the timeout issue we saw last night?”</em></p><p>Without Port, the agent would need separate configurations for your internal deploy MCP and Jira MCP, and the developer would need to know both exist and are configured correctly.</p><p>With Port as the routing layer:</p><ul><li>The agent sends the query to Port</li><li>Port routes the deployment status query to your internal deploy MCP</li><li>Port routes the Jira query to the Jira MCP</li><li>Both responses come back through Port, respecting whatever permissions you’ve set</li><li>The developer gets a unified answer</li></ul><p>From the developer’s perspective, there’s one MCP. From the platform team’s perspective, you have full control.</p><h3>The governance angle (why this matters for enterprise)</h3><p>The thing most MCP discussions gloss over is governance. Who decides what an AI agent is allowed to do? How do you prevent an agent from doing a production deployment when it was only supposed to read logs?</p><p>Port’s x-allowed-actions-to-run per MCP server is a start, but the real power is combining it with Port&#39;s existing RBAC. You can scope what each team, role, or environment can access through the same permission model you already use for your developer portal.</p><p>Practical things this unlocks:</p><ul><li>Junior developers’ AI agents can query but not execute actions in production</li><li>SRE agents get broader access during incident response</li><li>Security can audit every tool call through Port’s activity log</li><li>Deprecated MCP servers can be marked in the registry so developers stop using them</li></ul><h3>Known limitations (being honest)</h3><p>Port is not a full MCP gateway in the Kong or infrastructure sense. It doesn’t do rate limiting, per-request billing, or deep traffic analytics out of the box. If you need enterprise API gateway features on top of MCP routing, you’d combine Port with something like Kong or AWS API Gateway.</p><p>Also, the MCP connector feature is newer, so some edge cases around streaming, complex tool schemas, and multi-tenant routing are still being ironed out. Worth testing with your specific toolset before going to production.</p><h3>Summary</h3><p>If your org is serious about AI tooling and you’re already running more than two or three MCP servers, the routing and governance problem is coming for you. Port.io is one of the more practical solutions right now because it sits in a layer most platform teams already own — the developer portal — and extends it rather than replacing it.</p><p>The setup isn’t complicated. The bigger work is deciding your governance model: which teams get access to what, how you handle approval workflows, and how you deprecate servers that shouldn’t be used anymore. Port gives you the infrastructure for that. The policy work is still yours to do.</p><p><em>If you’re implementing this and run into specific issues around token auth or multi-tenant routing, drop a comment — happy to go deeper on either.</em></p><p><strong>Tags:</strong> DevOps, Platform Engineering, MCP, Model Context Protocol, Developer Portal, Enterprise AI, Cloud Infrastructure, Port.io</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac46d293d452" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>