How to Use the DHL MCP in Google ADK
Connect your Google ADK enterprise agents to DHL to automate shipping, track packages, and pull real-time rates.
Works with every AI agent you already use
…and any MCP-compatible client
Connect DHL MCP to Google ADK
Create your Vinkius account to connect DHL 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.
Enterprise DHL Logistics with Google ADK
`create_shipment` generates DHL labels directly from your Google ADK agent pipeline. Using Google ADK, your Gemini-powered agent can query BigQuery for pending orders and trigger DHL shipments directly to physical logistics using this MCP server. Since Gemini handles massive context windows, your Google ADK agent can parse thousands of order lines to run `validate_address` against DHL standards. This workflow fixes shipping typos before booking, saving thousands of dollars in return-to-sender fees.
Automated Rate Audits and Location Mapping
`get_rates` pulls live DHL shipping costs into your Google ADK decision models. Your Google ADK agent compares DHL options instantly, choosing the most cost-effective shipping service for every zip code. When customers ask Google ADK for drop-off points, the agent executes `find_locations` to map the nearest DHL centers. It parses opening hours and available services, returning exact coordinates to the customer in natural language.
Automated Customs and Tracking Updates
`get_proforma_invoice` generates customs documentation for international DHL shipments inside Google ADK on the fly. This prevents DHL packages from getting held up at international borders while Google ADK tracks the transit. For post-purchase support, the Google ADK agent uses `track_shipment` to monitor DHL packages. If a DHL delivery gets delayed, the Google ADK agent automatically updates your BigQuery database and alerts the customer with the new delivery estimate.
Set up DHL MCP in Google ADK
Prerequisites
- Python 3.10+ installed
-
google-adkpackage (pip install google-adk) - Active Vinkius subscription with a valid endpoint token
- 1
Install Google ADK
Run
pip install google-adkto install the Agent Development Kit. MCP support is included via theMcpToolsetclass. - 2
Connect via SSE transport
Use
McpToolset.from_server()withSseServerParamspointing to your Vinkius endpoint. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Create an LlmAgent
Pass the returned
mcp_toolslist directly toLlmAgent(tools=mcp_tools). The ADK maps each MCP tool to a native Gemini function call — no manual schema definitions required. - 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 DHL tools in your ADK agent.
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="DHL_agent",
model="gemini-2.0-flash",
instruction="You have access to DHL 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 DHL. 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 DHL MCP in Google ADK
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the DHL MCP today
We host it, we monitor it, we maintain it. You just paste one token.