MCP meets OCI: AI agents see your GPUs in OKE

Discover how to deploy an MCP server on OKE so your AI agents can query GPU metrics in real time without Prometheus. Try it out!

miércoles, 8 de julio de 2026 • 3 min read • Q2BSTUDIO Team

GPU metrics without Prometheus: MCP on Oracle Kubernetes Engine

The convergence between the MCP (Model Context Protocol) and Oracle's cloud infrastructure is opening a new dimension in the observability of artificial intelligence agents. Traditionally, AI-based assistants lack visibility into the hardware running their workloads, especially GPUs, the most expensive resource in any Kubernetes cluster. With MCP, an agent can directly ask: 'How is the GPU doing?' and get real-time metrics without needing Prometheus, dashboards, or complex pipelines. This article explores how to deploy an MCP server on Oracle Kubernetes Engine (OKE) so AI agents can access NVIDIA data via NVML, and how companies like Q2BSTUDIO can help you integrate these capabilities into your systems.

The problem is clear: an agent orchestrating inferences with vLLM or managing deployments can query pod status, read logs, or monitor CPU, but GPU utilization, temperature, power consumption, or memory pressure remain invisible. MCP bridges this gap by standardizing communication between agents and external tools. Think of MCP as a 'USB for AI agents': a protocol that allows discovering and calling functions (tools) natively from Claude, Goose, Cursor, or Windsurf. By deploying an MCP server on OKE as a DaemonSet, each GPU node exposes direct driver metrics without intermediaries. Agents receive structured JSON and can reason about hardware status, for example, deciding to scale replicas if GPU utilization exceeds 90%.

The architecture is clean: the MCP server runs on each GPU node in OKE, reading NVML through Go bindings. No sidecars, metric pipelines, or network hops to a central Prometheus. The registered tools are list_gpus, get_gpu_metrics, get_gpu_processes, and gpu_summary. With a single call, the agent obtains data such as used memory, temperature, power, or PCIe traffic. This allows AI for business assistants to make informed decisions: identify thermal bottlenecks, detect idle GPUs, and suggest migrations to more cost-effective shapes, such as moving from a BM.GPU.A10.4 to a VM.GPU.A10.1, thus optimizing the cost of cloud services aws and azure or OCI.

Deployment on OKE is straightforward: build the image with the binary compiled with CGO, upload it to OCIR, and apply a DaemonSet with nodeSelector for GPUs and tolerations for the standard taint. Each pod consumes only 64 MB of memory. Then, any MCP-compatible agent can connect via ClusterIP or port-forward. This turns hardware observability into a first-class input for agent logic. Instead of building custom integrations for each framework, you deploy an MCP server once and all agents use it. This fits perfectly with the Agentic AI Foundation (AAIF) initiative and reinforces the need for standard protocols in infrastructure.

Beyond technology, this visibility has a direct impact on GPU financial management. Knowing real-time utilization allows applying FinOps strategies: if a BM.GPU.H100.8 node shows several idle GPUs, the agent can recommend consolidating workloads or shutting down on-demand instances. Companies adopting these capabilities often combine them with business intelligence services power bi to visualize historical trends and alerts, or with custom applications that integrate these flows into their own dashboards. Cybersecurity also benefits: by monitoring processes by PID, anomalous GPU usage indicating unauthorized mining can be detected.

For organizations looking to leap into intelligent infrastructure, Q2BSTUDIO offers custom software that connects AI agents with legacy systems, deploys MCP servers in hybrid cloud environments, and automates resource orchestration. We have experience implementing AI agents on OKE and other platforms, integrating hardware metrics directly into decision models. If you are exploring how to give your artificial intelligence assistants visibility into their own hardware, our team can help you design and implement a robust, scalable solution aligned with the emerging standards of the MCP ecosystem.

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.