MCP Toolbox Java SDK reaches v1.0 with decoupled credential providers, default tool parameters, pruning of server-bound parameters, and runtime warnings for credentials sent over plain HTTP.
Who it is for
Enterprise Java teams building Spring Boot and LangChain4j agents that reach AlloyDB or other databases through MCP Toolbox.
Key points
Credentials resolve asynchronously on every request; Google OIDC via ADC ships in the box.
Server-bound parameters such as tenant_id are removed from tool definitions so the LLM cannot set them.
Sample uses AlloyDB with pgvector embeddings, Spring Boot and LangChain4j; deployment target is Cloud Run.
Adds a Gradle dependency example; a Maven dependency is given as com.google.cloud.mcp:mcp-toolbox-sdk-java 1.0.0.
AI:Gemini Enterprise custom UIs must handle three auth layers themselves: user or workload auth to StreamAssist, 3LO for Federated Connectors via the Keystore, and per-tool OAuth for ADK agents via GCP Auth Manager.
AI:Google's adk-recipes repo is split into core reference patterns, installable vertical Plugin Recipes (retail first), and deployable contrib services, all readable by coding assistants.