Skip to directory
CursorVS Code

About Spanner MCP

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

Connection and setup
Hosting
Google-managed remote
Transport
Streamable HTTP
Endpoint
https://spanner.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 spanner.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

Exact tool identifiers and descriptions extracted from the product-specific Google Cloud MCP reference Tools table. The live list can still vary by permissions or selected toolset.

  • get_instance
    01
  • list_instances
    02
  • list_configs
    03
  • get_config
    04
  • create_instance
    05
  • update_instance
    06
  • create_database
    07
  • get_database_ddl
    08
  • list_databases
    09
  • create_session
    10
  • execute_sql
    11
  • execute_sql_readonly
    12
  • commit
    13
  • update_database_schema
    14
  • get_operation
    15
  • get_system_metrics
    16

This server’s available tools can vary by account, permissions, or configuration. The list shown is not its full runtime catalog.

Original sources
  • official tool reference

    Product-specific Google MCP reference publishes 16 exact tool identifiers in its tools reference.

  • 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.

Documentation checked date not recorded. Connection has not been runtime tested.

Views

17 days

Platforms

Remote · Streamable HTTP

Google-managed remote

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.