Skip to directory

About Pub/Sub MCP

Google Cloud managed MCP server for Pub/Sub. Exact tool names and accessible operations depend on the published server reference and configured Google Cloud permissions.

What you can use it for

  • Create a new Cloud Pub/Sub topic. Important Notes A topic is a named resource that represents a feed of messages.
  • Update an existing Cloud Pub/Sub topic. Important Notes A topic is a named resource that represents a feed of messages. Certain properties of a topic, such as its name, are not modifiable.
  • Delete an existing Cloud Pub/Sub topic. Important Notes A topic is a named resource that represents a feed of messages. Existing subscriptions to this topic are not deleted, but their topic field is set to _deleted-topic_ .
  • Get the configuration of a Cloud Pub/Sub topic. Important Notes A topic is a named resource that represents a feed of messages.
  • List all Cloud Pub/Sub topics in a given project. Important Notes A topic is a named resource that represents a feed of messages.
  • Create a new Cloud Pub/Sub subscription to a given topic. Important Notes A subscription is a named resource that represents a stream of messages from a single, specific topic, to be delivered to the subscribing application.
Connection and setup
Hosting
Google-managed remote
Transport
Streamable HTTP
Endpoint
https://pubsub.googleapis.com/mcp
Authentication
Google Cloud authentication: OAuth 2.0 using Application Default Credentials (ADC) in supported Google clients, or a client OAuth ID/secret or bearer token in compatible third-party clients. The principal needs mcp.tools.call plus the underlying product permissions; API key authentication is only available for services that explicitly support it.

Requirements

  • A Google Cloud project and access to the target product/resource.
  • Enable this MCP service and its underlying Google Cloud API as required by the product guide.
  • An MCP client that supports Streamable HTTP.
  • An identity with the MCP Tool User role (roles/mcp.toolUser) or equivalent mcp.tools.call permission, plus permissions for the underlying product operations.

Setup steps

  1. Choose the correct global or regional endpoint for your data location; this catalog lists the documented endpoint.
  2. In the Google Cloud project, enable the MCP service and the underlying product API if the product guide requires it.
  3. Authenticate the client with Google Cloud ADC (simplest with Antigravity/Gemini CLI) or configure OAuth 2.0 credentials in a compatible client.
  4. Grant the connecting identity roles/mcp.toolUser and only the product IAM roles needed for the intended operations.
  5. Add pubsub.googleapis.com to the client as a Streamable HTTP MCP server and complete sign-in.
  6. Refresh the client tool list and check that the tools match the product reference; availability may depend on permissions and selected toolset.
Tools 15

The 15 tools manage topics, subscriptions and snapshots and publish messages. Delete topic affects attached subscriptions; deleting snapshots drops retained messages; publishing emits messages to subscribers. Review topic/subscription, delivery and retention settings before writes. Google IAM applies.

  • create_topic

    Create a new Cloud Pub/Sub topic. Important Notes A topic is a named resource that represents a feed of messages.

    01
  • update_topic

    Update an existing Cloud Pub/Sub topic. Important Notes A topic is a named resource that represents a feed of messages. Certain properties of a topic, such as its name, are not modifiable.

    02
  • delete_topic

    Delete an existing Cloud Pub/Sub topic. Important Notes A topic is a named resource that represents a feed of messages. Existing subscriptions to this topic are not deleted, but their topic field is set to _deleted-topic_ .

    03
  • get_topic

    Get the configuration of a Cloud Pub/Sub topic. Important Notes A topic is a named resource that represents a feed of messages.

    04
  • list_topics

    List all Cloud Pub/Sub topics in a given project. Important Notes A topic is a named resource that represents a feed of messages.

    05
  • create_subscription

    Create a new Cloud Pub/Sub subscription to a given topic. Important Notes A subscription is a named resource that represents a stream of messages from a single, specific topic, to be delivered to the subscribing application.

    06
  • update_subscription

    Update an existing Cloud Pub/Sub subscription. Important Notes A subscription is a named resource that represents a stream of messages from a single, specific topic, to be delivered to the subscribing application. Certain properties of a subscription, such as its topic, are not modifiable.

    07
  • delete_subscription

    Delete an existing Cloud Pub/Sub subscription. Important Notes A subscription is a named resource that represents a stream of messages from a single, specific topic, to be delivered to the subscribing application. All messages retained in the subscription are immediately dropped. Calls to Pull after deletion will return NOT_FOUND .

    08
  • get_subscription

    Get the configuration of a Cloud Pub/Sub subscription. Important Notes A subscription is a named resource that represents a stream of messages from a single, specific topic, to be delivered to the subscribing application.

    09
  • list_subscriptions

    List all Cloud Pub/Sub subscriptions in a given project. Important Notes A subscription is a named resource that represents a stream of messages from a single, specific topic, to be delivered to the subscribing application.

    10
  • create_snapshot

    Create a new Cloud Pub/Sub snapshot from a given subscription. Important Notes A snapshot is a named resource that captures the acknowledgment state of messages in an existing subscription to allow for managing acknowledgments in bulk. Snapshots are used in Seek operations to manage message acknowledgments in bulk.

    11
  • delete_snapshot

    Delete an existing Cloud Pub/Sub snapshot. Important Notes A snapshot is a named resource that captures the acknowledgment state of messages in an existing subscription to allow for managing acknowledgments in bulk. When the snapshot is deleted, all messages retained in the snapshot are immediately dropped.

    12
  • get_snapshot

    Get the configuration of a Cloud Pub/Sub snapshot. Important Notes A snapshot is a named resource that captures the acknowledgment state of messages in an existing subscription to allow for managing acknowledgments in bulk.

    13
  • list_snapshots

    List all Cloud Pub/Sub snapshots in a given project. Important Notes A snapshot is a named resource that captures the acknowledgment state of messages in an existing subscription to allow for managing acknowledgments in bulk.

    14
  • publish

    Publish a series of one or more messages to an existing topic. Usage Create a new byte array to hold the message data. Populate the byte array with the message data. Call publish passing the topic name and the byte array. Important Notes If the publish call returns NOT_FOUND, it likely means the topic does not exist. In this case, you should return an error.

    15
Original sources
  • official server catalog

    Official Google Cloud catalog lists this product as an available remote MCP server.

  • official setup guide

    Google Cloud describes remote MCP client setup, Streamable HTTP transport, supported authentication options, and ADC setup.

  • official authentication guide

    Google documents supported identity types and authorization requirements for Google Cloud MCP calls.

  • official source

    Official Google Cloud primary MCP documentation checked 2026-10-28.

  • official source

    Official Google Cloud primary MCP documentation checked 2026-10-28.

Documentation checked 2026-10-28. Connection has not been runtime tested.