Diagram
Three side-by-side cards compare REST, RPC, and MCP Preview by how clients connect and example services, showing Service Health supports both REST and RPC for the same capability.
How REST, RPC, and MCP Differ for Clients
REST, RPC, and MCP are three API interaction styles that differ in how a client connects to a Google Cloud service. Service Health shows the overlap clearly because it offers both a REST API and an RPC API for listing health events and getting event details. REST clients use REST interfaces, RPC clients use RPC client stubs, and MCP clients use MCP tools or connect to an MCP server.
| API style | Example services | How clients interact |
|---|---|---|
| REST | Service Health REST API, Cloud Build REST API, Cloud Storage JSON API | REST interfaces, client libraries, gcloud CLI |
| RPC | Service Health RPC API, App Design Center RPC APIs | RPC client stubs |
| MCP | Service Health MCP tools, App Design Center MCP server | MCP tools or MCP server connection |
Domain 2 of 4
27 practice questions
Practice this DomainLast updated