1.3 KiB
1.3 KiB
AlloyDB MCP Usage
AlloyDB supports a remote Model Context Protocol (MCP) server, allowing AI applications to interact with AlloyDB resources.
Endpoint
The AlloyDB MCP server endpoint is regional:
https://alloydb.REGION.rep.googleapis.com/mcp
Replace REGION with the regional location of the endpoint (e.g.,
us-central1).
Setup and Authentication
- Enable the AlloyDB API in your project.
- Grant the
roles/mcp.toolUserrole to the principal making the tool calls. - Configure your MCP host to point to the regional endpoint.
For more details, see the Use the AlloyDB remote MCP server guide.
Resources
- AlloyDB MCP Reference
- MCP Toolbox: An open-source alternative to the remote MCP server that runs on a local machine or IDE.
- For additional specialized skills including health auditing, performance monitoring, and lifecycle management, install the AlloyDB for PostgreSQL Gemini CLI extension or Claude Plugin.