Core
MCP Toolbox SDK for integrating functionalities of MCP Toolbox into your Agentic apps.
The MCP Toolbox service provides a centralized way to manage and expose tools (like API connectors, database query tools, etc.) for use by GenAI applications.
These Java SDKs act as clients for that service. They handle the communication needed to:
By using these SDKs, you can easily leverage your MCP Toolbox-managed tools directly within your Java applications or AI orchestration frameworks.
First make sure MCP Toolbox Server is set up and is running (either locally or deployed on Cloud Run). Follow the instructions here: MCP Toolbox Getting Started Guide
This SDK is distributed via a Maven Central Repository.
Add the dependency to your pom.xml:
<dependency>
<groupId>com.google.cloud.mcp</groupId>
<artifactId>mcp-toolbox-sdk-java</artifactId>
<!-- Replace 'VERSION' with the latest version from https://mvnrepository.com/artifact/com.google.cloud.mcp/mcp-toolbox-sdk-java -->
<version>VERSION</version>
<scope>compile</scope>
</dependency>
dependencies {
// Replace 'VERSION' with the latest version from https://mvnrepository.com/artifact/com.google.cloud.mcp/mcp-toolbox-sdk-java
implementation("com.google.cloud.mcp:mcp-toolbox-sdk-java:VERSION")
}
Note
Source code for Java-sdk
MCP Toolbox SDK for integrating functionalities of MCP Toolbox into your Agentic apps.