gcloud alpha api-registry mcp enable

NAME
gcloud alpha api-registry mcp enable - enables MCP server for a given service in the current project
SYNOPSIS
gcloud alpha api-registry mcp enableSERVICE[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Enables MCP server for a given service in the currentproject.
POSITIONAL ARGUMENTS
SERVICE
The MCP server to enable.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudbetaapi-registrymcpenable

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-09 UTC.