4,000+ servers built on vurb.ts
Vinkius

OpenCost (K8s Cost) MCP Server for Google ADKGive Google ADK instant access to 6 tools to Get Allocation, Get Assets, Get Cloud Cost, and more

MCP Inspector GDPR Free for Subscribers

Google Agent Development Kit (ADK) is Google's framework for building production AI agents. Add OpenCost (K8s Cost) as an MCP tool provider through Vinkius and your ADK agents can call every tool with full schema introspection.

Ask AI about this MCP Server for Google ADK

The OpenCost (K8s Cost) MCP Server for Google ADK is a standout in the Cloud Infrastructure category — giving your AI agent 6 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
python
from google.adk.agents import Agent
from google.adk.tools.mcp_tool import McpToolset
from google.adk.tools.mcp_tool.mcp_session_manager import (
    StreamableHTTPConnectionParams,
)

# Your Vinkius token. get it at cloud.vinkius.com
mcp_tools = McpToolset(
    connection_params=StreamableHTTPConnectionParams(
        url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
    )
)

agent = Agent(
    model="gemini-2.5-pro",
    name="opencost_k8s_cost_agent",
    instruction=(
        "You help users interact with OpenCost (K8s Cost) "
        "using 6 available tools."
    ),
    tools=[mcp_tools],
)
OpenCost (K8s Cost)
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About OpenCost (K8s Cost) MCP Server

Connect your OpenCost instance to any AI agent to gain real-time visibility into your Kubernetes spending and infrastructure efficiency through natural language.

Google ADK natively supports OpenCost (K8s Cost) as an MCP tool provider. declare Vinkius Edge URL and the framework handles discovery, validation, and execution automatically. Combine 6 tools with Gemini's long-context reasoning for complex multi-tool workflows, with production-ready session management and evaluation built in.

What you can do

  • Workload Allocation — Query costs and resources allocated to clusters, nodes, namespaces, controllers, and pods using get_allocation.
  • Asset Inspection — Retrieve backing cost data for physical infrastructure like Nodes, Disks, and Load Balancers via get_assets.
  • Cloud Billing Integration — Access AWS CUR, Azure Export, and GCP Billing data directly with get_cloud_cost to reconcile K8s costs with provider bills.
  • Third-Party Costs — Track external service expenses (e.g., Datadog, MongoDB Atlas) using custom cost timeseries and total summary tools.
  • Granular Filtering — Aggregate data by labels, annotations, or service levels to understand exactly where your budget is going.

The OpenCost (K8s Cost) MCP Server exposes 6 tools through the Vinkius. Connect it to Google ADK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

All 6 OpenCost (K8s Cost) tools available for Google ADK

When Google ADK connects to OpenCost (K8s Cost) through Vinkius, your AI agent gets direct access to every tool listed below — spanning kubernetes, cost-optimization, cloud-billing, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.

get

Get allocation on OpenCost (K8s Cost)

Query costs and resources allocated to Kubernetes workloads

get

Get assets on OpenCost (K8s Cost)

Retrieve backing cost data broken down by individual assets

get

Get cloud cost on OpenCost (K8s Cost)

Retrieve cloud cost data directly from cloud provider billing reports

get

Get custom cost timeseries on OpenCost (K8s Cost)

g., Datadog, MongoDB Atlas). Get samples of third-party service costs over time steps

get

Get custom cost total on OpenCost (K8s Cost)

Get summary of third-party costs over a window

set

Set log level on OpenCost (K8s Cost)

Change OpenCost log level at runtime

Connect OpenCost (K8s Cost) to Google ADK via MCP

Follow these steps to wire OpenCost (K8s Cost) into Google ADK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

01

Install Google ADK

Run pip install google-adk
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Create the agent

Save the code above and integrate into your ADK workflow
04

Explore tools

The agent will discover 6 tools from OpenCost (K8s Cost) via MCP

Why Use Google ADK with the OpenCost (K8s Cost) MCP Server

Google ADK provides unique advantages when paired with OpenCost (K8s Cost) through the Model Context Protocol.

01

Google ADK natively supports MCP tool servers. declare a tool provider and the framework handles discovery, validation, and execution

02

Built on Gemini models, ADK provides long-context reasoning ideal for complex multi-tool workflows with OpenCost (K8s Cost)

03

Production-ready features like session management, evaluation, and deployment come built-in. not bolted on

04

Seamless integration with Google Cloud services means you can combine OpenCost (K8s Cost) tools with BigQuery, Vertex AI, and Cloud Functions

OpenCost (K8s Cost) + Google ADK Use Cases

Practical scenarios where Google ADK combined with the OpenCost (K8s Cost) MCP Server delivers measurable value.

01

Enterprise data agents: ADK agents query OpenCost (K8s Cost) and cross-reference results with internal databases for comprehensive analysis

02

Multi-modal workflows: combine OpenCost (K8s Cost) tool responses with Gemini's vision and language capabilities in a single agent

03

Automated compliance checks: schedule ADK agents to query OpenCost (K8s Cost) regularly and flag policy violations or configuration drift

04

Internal tool platforms: build self-service agent platforms where teams connect their own MCP servers including OpenCost (K8s Cost)

Example Prompts for OpenCost (K8s Cost) in Google ADK

Ready-to-use prompts you can give your Google ADK agent to start working with OpenCost (K8s Cost) immediately.

01

"Show me the cost allocation for all namespaces over the last 7 days."

02

"What are the backing asset costs for our nodes today?"

03

"Get the total summary for third-party service costs for the current month."

Troubleshooting OpenCost (K8s Cost) MCP Server with Google ADK

Common issues when connecting OpenCost (K8s Cost) to Google ADK through Vinkius, and how to resolve them.

01

McpToolset not found

Update: pip install --upgrade google-adk

OpenCost (K8s Cost) + Google ADK FAQ

Common questions about integrating OpenCost (K8s Cost) MCP Server with Google ADK.

01

How does Google ADK connect to MCP servers?

Import the MCP toolset class and pass the server URL. ADK discovers and registers all tools automatically, making them available to your agent's tool-use loop.
02

Can ADK agents use multiple MCP servers?

Yes. Declare multiple MCP tool providers in your agent configuration. ADK merges all tool schemas and the agent can call tools from any server in a single turn.
03

Which Gemini models work best with MCP tools?

Gemini 2.0 Flash and Pro models both support function calling required for MCP tools. Flash is recommended for latency-sensitive use cases, Pro for complex reasoning.

Explore More MCP Servers

View all →