MCP.so
登录

MCP Server for Spanner

@k65miyazakiy

关于 MCP Server for Spanner

暂无概览

基本信息

分类

其他

许可证

MIT

运行时

node

传输方式

stdio

发布者

k65miyazakiy

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Server for Spanner?

MCP Server for Spanner is a Model Context Protocol (MCP) server that connects to Google Cloud Spanner databases and executes SQL queries. It is designed for AI assistants to interact with Spanner databases.

How to use MCP Server for Spanner?

Clone the repository, install dependencies (npm install), build (npm run build), then configure the server using environment variables (PROJECT_ID, INSTANCE_ID, DATABASE_ID, API_ENDPOINT) or command-line arguments. The server can be launched via Claude Desktop settings or with MCP Inspector for development.

Key features of MCP Server for Spanner

  • Execute SELECT queries on Spanner tables
  • Run INSERT, UPDATE, DELETE data modification queries
  • Execute DDL statements (CREATE TABLE, ALTER TABLE, etc.)
  • List all tables in the database
  • Show detailed table structure (schema)

Use cases of MCP Server for Spanner

  • AI assistants querying Spanner data via natural language
  • Automated schema exploration and documentation
  • Developing and testing Spanner applications with an emulator
  • Performing ad‑hoc operations on a Spanner emulator during development

FAQ from MCP Server for Spanner

What is MCP Server for Spanner?

It is an MCP server that enables AI assistants to interact with Google Cloud Spanner databases by executing SQL queries and retrieving schema information.

What are the runtime requirements?

Node.js 22 or later is required. The tool currently only supports connecting to a Spanner emulator (not a production Spanner instance).

What data can be accessed?

The server can read and modify any data in the configured Spanner database, including tables, rows, and schema objects. It does not access external systems.

How does the server communicate?

It uses the standard MCP transport over STDIO, as configured in the MCP client (e.g., Claude Desktop).

How is authentication handled?

Authentication is configured via environment variables (PROJECT_ID, INSTANCE_ID, DATABASE_ID, API_ENDPOINT). For the emulator, no actual Google Cloud credentials are needed; the emulator endpoint is specified directly.

评论

其他 分类下的更多 MCP 服务器