# SDK, Cloud or MCP? Choose between GroupDocs.Signature for Java (the on-premise SDK), GroupDocs.Signature Cloud (a hosted REST API) and the GroupDocs.Signature MCP server (signing tools for AI agents). GroupDocs.Signature reaches Java applications in three ways. They differ in where the documents are processed and who writes the code. This page helps you pick one. ## At a glance | | GroupDocs.Signature for Java (SDK) | GroupDocs.Signature Cloud | GroupDocs.Signature MCP server | |---|---|---|---| | **What it is** | A Maven artifact (`com.groupdocs:groupdocs-signature`) from the GroupDocs repository | A hosted REST API with SDKs for several languages | A Model Context Protocol server with signing tools | | **Who calls it** | Your Java code | Your code, over HTTPS | An AI agent (Claude, Cursor, GitHub Copilot and other MCP clients) | | **Where documents go** | Stay on your machine or server | Uploaded to GroupDocs Cloud storage | Stay on the machine that runs the server | | **Internet access** | Not needed to sign or verify; time stamps, long-term validation data and metered licences contact their servers when you use them | Required | Not needed once installed | | **What you can do** | Every signature type and operation: sign, search, verify, update, delete, previews, document info | Signing, verification and search through REST endpoints | Sign with text, QR code, barcode or digital signatures, verify signatures, search existing signatures, read document information | | **Runs on** | Java 8 or later, on any operating system with a Java runtime (Windows, Linux, macOS) | Any platform that can make HTTPS calls | The .NET build of the server, or its Docker image; a Java launcher is planned | | **Licensing** | GroupDocs.Signature license (evaluation mode without one) | GroupDocs Cloud subscription | GroupDocs.Signature license | ## Choose the SDK when - Documents must not leave your environment (compliance, air-gapped systems, on-premise deployments). [Network access and data privacy]({{< ref "signature/java/getting-started/network-access-and-data-privacy.md" >}}) lists every request the library can make. - You need the whole API: all signature types, appearance control, previews, search, update and delete. - You sign many documents in batch jobs and want no network round trips. Start with [Installation]({{< ref "signature/java/getting-started/installation.md" >}}) and the [Features overview]({{< ref "signature/java/getting-started/features-overview.md" >}}). ## Choose GroupDocs.Signature Cloud when - You prefer a managed service to adding and updating a library in your build. - Your application already works with cloud storage, or runs where you cannot provide a Java runtime and the fonts that signing needs (see [signing documents inside a Linux container]({{< ref "signature/java/use-cases/signing-documents-linux-container-fonts.md" >}})). See the [GroupDocs.Signature Cloud documentation](https://docs.groupdocs.cloud/signature/). ## Choose the MCP server when - An AI agent should sign or check documents itself, as a step in a conversation or a workflow, without you writing signing code. - You want local processing for an agent: the server runs next to your project, and documents stay on that machine. The MCP server is a separate program, not part of the Java library: today it runs as a .NET program or a Docker image, so a Java project can use it without changing its own code. See the [GroupDocs.Signature MCP server]({{< ref "signature/mcp/_index.md" >}}) documentation. ## Combine them - **SDK + documentation MCP server**: when an AI coding assistant writes Java code against this library, connect it to the [documentation MCP server](https://docs.groupdocs.com/mcp) and point it at the `llms.txt` of the [Java examples repository](https://github.com/groupdocs-signature/GroupDocs.Signature-for-Java). - **SDK in production, MCP server for prototyping**: let an agent try signing scenarios through the MCP server, then implement the chosen workflow with the SDK.