4,500+ servers built on MCP Fusion
Vinkius
Lago logo
Vinkius
Google ADK logo

How to Use the Lago MCP in Google ADK

Connect Lago to your Google ADK agents to process usage events and manage billing directly from your Gemini workflows.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Lago MCP on Cursor AI Code Editor MCP Client Lago MCP on Claude Desktop App MCP Integration Lago MCP on OpenAI Agents SDK MCP Compatible Lago MCP on Visual Studio Code MCP Extension Client Lago MCP on GitHub Copilot AI Agent MCP Integration Lago MCP on Google Gemini AI MCP Integration Lago MCP on Lovable AI Development MCP Client Lago MCP on Mistral AI Agents MCP Compatible Lago MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Google ADK

Connect Lago MCP to Google ADK

Create your Vinkius account to connect Lago to Google ADK and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Enterprise Event Ingestion from BigQuery

The `batch_events` tool transmits large volumes of usage data from your Google Cloud infrastructure to Lago using our MCP server. Your Gemini agent queries BigQuery, formats the raw usage rows, and passes them directly to this ingestion tool. For real-time updates, the agent uses `send_event` to push individual actions as they happen. This architecture handles high-throughput pipelines without requiring intermediate middleware.

Context-Aware Subscription Management via MCP Server

The `get_subscription` tool retrieves active plan details to feed into Gemini's 1M+ token context window. This allows your Google ADK agent to analyze a customer's entire billing history and usage patterns in a single reasoning step. When the agent detects an upsell opportunity, it executes `create_subscription` to transition the customer to a higher tier. You control which tools are exposed by configuring the toolset filter during initialization.

Automated Ledger and Wallet Operations

The `create_wallet` tool sets up prepaid credit balances for your enterprise clients. Your agent monitors these balances and triggers top-ups by calling the tool when credits fall below a defined threshold. To resolve billing disputes, the agent calls `list_invoices` to pull historical payment records. It compares these records against your internal cloud logs to verify billing accuracy.

Setup guide

Set up Lago MCP in Google ADK

Prerequisites

  • Python 3.10+ installed
  • google-adk package (pip install google-adk)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install Google ADK

    Run pip install google-adk to install the Agent Development Kit. MCP support is included via the McpToolset class.

  2. 2

    Connect via SSE transport

    Use McpToolset.from_server() with SseServerParams pointing to your Vinkius endpoint. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com.

  3. 3

    Create an LlmAgent

    Pass the returned mcp_tools list directly to LlmAgent(tools=mcp_tools). The ADK maps each MCP tool to a native Gemini function call — no manual schema definitions required.

  4. 4

    Run with any Gemini model

    The agent works with any Gemini model (gemini-2.0-flash, gemini-2.5-pro, etc.). Copy the full example on the right to get started with Lago tools in your ADK agent.

agent.py
from google.adk.agents import LlmAgent
from google.adk.tools.mcp_tool.mcp_toolset import McpToolset
from google.adk.tools.mcp_tool.mcp_session_manager import SseServerParams

# Connect to the MCP via SSE
mcp_tools, exit_stack = await McpToolset.from_server(
    connection_params=SseServerParams(
        url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    )
)

# Create your agent with auto-discovered tools
agent = LlmAgent(
    name="Lago_agent",
    model="gemini-2.0-flash",
    instruction="You have access to Lago tools via MCP.",
    tools=mcp_tools,
)

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Lago. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Lago MCP in Google ADK

Your agent extracts usage metrics from your Google Cloud databases. It then calls `batch_events` to push those metrics to Lago in structured payloads.
Yes, the agent uses `create_wallet` to provision prepaid balances. It can also query those balances to alert customers when they run low on credits.
You restrict the exposed tools in your Google ADK configuration. By omitting `create_plan` from the tool filter, you ensure the agent only performs read or ingestion tasks.
Yes, the Vinkius platform hosts the server and exposes a secure HTTP endpoint. Your agent connects using the StreamableHttpServerParameters class.
Every request to this MCP server executes inside an isolated, zero-trust container. Your usage events and customer invoice files are processed in-memory and never stored on Vinkius servers.

Start using the Lago MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 12 tools

We've already built the connector for Lago. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 12 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.