{
  "markdown": "# Pub/Sub Managed MCP Extension\n\nThe Pub/Sub managed MCP extension lets you manage Pub/Sub resources and publish\nmessages. You can create, list, get, update, and delete Pub/Sub topics,\nsubscriptions, and snapshots, as well as publish messages to topics.\n\n## Why use the Pub/Sub managed MCP server?\n\nGoogle and Google Cloud\n[managed MCP servers](https://docs.cloud.google.com/mcp/overview) can be used in\nyour AI applications with enterprise-ready governance, security, and access\ncontrol.\n\n## Before you begin\n\n1.  In the Google Cloud console, on the\n    [project selector page](https://console.cloud.google.com/projectselector2/home/dashboard),\n    select or create a Google Cloud project.\n\n    > **Note**: If you don't plan to keep the resources that you create in this\n    > procedure, create a project instead of selecting an existing project.\n    > After you finish these steps, you can delete the project, removing all\n    > resources associated with the project.\n\n2.  Get your administrator to grant you the\n    [MCP Tool User role](https://docs.cloud.google.com/iam/docs/roles-permissions/mcp#mcp.toolUser)\n    (`roles/mcp.toolUser`) on the Google Cloud project. If you created a new\n    project, then you already have the required permissions.\n\n3.  Ensure your administrator has enabled the\n    [Pub/Sub API](https://console.cloud.google.com/marketplace/product/google/pubsub.googleapis.com)\n    on the Google Cloud project.\n\n## Configure authentication\n\nThis extension uses Google Application Default Credentials (ADC) to perform\nauthentication. To login with ADC, run the following command in your terminal:\n\n```bash\ngcloud auth application-default login\n```\n\nFor additional details, see the\n[ADC documentation](https://docs.cloud.google.com/docs/authentication/application-default-credentials#personal).\n\n## Install the extension\n\nTo install the extension, run the following command in your terminal:\n\n```bash\ngemini extensions install https://github.com/gemini-cli-extensions/pubsub\n```\n\n## Available tools\n\nTo see a complete list of available tools and their schemas, see the\n[Pub/Sub MCP reference](https://docs.cloud.google.com/pubsub/docs/reference/mcp).\n\n## Sample use cases\n\nThe following are sample use cases for the Pub/Sub MCP server:\n\n-   Create a Pub/Sub pipeline that includes a topic with subscriptions.\n-   Create a subscription that uses Pub/Sub features such as message filtering.\n-   Add Single Message Transforms (SMTs) to your existing Pub/Sub pipeline.\n\n### Sample prompts\n\n-   \"Build a pipeline that consumes messages from Pub/Sub topic my-topic,\n    filters out messages that have attribute priority=low, and writes the\n    messages to Cloud Storage bucket my-bucket.\"\n-   \"Create a subscription from topic my-topic to BigQuery table my-table, with\n    failed deliveries sent to my-dead-letter-topic.\"\n\n## Optional security and safety configurations\n\nMCP introduces new security risks and considerations due to the wide variety of\nactions that you can take with MCP tools. To minimize and manage these risks,\nGoogle Cloud offers defaults and customizable policies to control the use of MCP\ntools in your Google Cloud organization or project.\n\nFor more information about MCP security and governance, see\n[AI security and safety](https://docs.cloud.google.com/mcp/ai-security-safety).\n\n## Quotas and limits\n\nThe Pub/Sub MCP server doesn't have its own quotas. There is no limit on the\nnumber of call that can be made to the MCP server. You are still subject to the\nquotas enforced by the APIs called by the MCP server tools.\n\n## Reference and resources\n\n*   Explore the\n    [Pub/Sub remote MCP server reference documentation](https://docs.cloud.google.com/pubsub/docs/reference/mcp),\n    which includes a list of all available tools, and the full input and output\n    schema for each tool.\n*   See the [Pub/Sub overview](https://docs.cloud.google.com/pubsub/docs).\n*   Learn about\n    [MCP security and governance](https://docs.cloud.google.com/mcp/ai-security-safety).\n",
  "bytes": 4003,
  "sha": "bf3e1ad1e1f8f0ff97068108fbc2e72969f8e6bda3f7eb9ef3fa9a12add76f73",
  "repo_slug": "gemini-cli-extensions/pubsub",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_gemini_cli_extensions_pubsub_01cdfe31/readme"
}