MCP.so
登录

YugabyteDB MCP Server

@yugabyte

关于 YugabyteDB MCP Server

An MCP server implementation for YugabyteDB that allows LLMs to directly interact with your database.

基本信息

分类

其他

传输方式

stdio

发布者

yugabyte

提交者

Sfurti Sarah

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "yugabytedb-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/cloned/yugabytedb-mcp-server/",
        "run",
        "src/server.py"
      ],
      "env": {
        "YUGABYTEDB_URL": "dbname=database_name host=hostname port=5433 user=username password=password load_balance=true"
      }
    }
  }
}

工具

未检测到工具

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

概览

What is YugabyteDB MCP Server?

The YugabyteDB MCP Server is an MCP (Model Context Protocol) implementation that enables large language models to directly interact with a YugabyteDB database. It allows LLMs to list database tables with schemas and row counts, and execute read-only SQL queries, returning results as JSON, and is designed for use with MCP clients like Claude Desktop, Cursor, and Windsurf Editor.

How to use YugabyteDB MCP Server?

Install by cloning the repository and running uv sync. Set the YUGABYTEDB_URL environment variable with your database connection string, then start the server with uv run server.py. Configure your MCP client (e.g., Claude Desktop, Cursor, Windsurf Editor) by adding a server entry using uv as the command and specifying the environment variable.

Key features of YugabyteDB MCP Server

  • List all tables with schema and row counts.
  • Run read-only SQL queries returning JSON results.
  • Compatible with Claude Desktop, Cursor, Windsurf Editor.
  • Built with FastMCP for easy MCP integration.
  • Uses environment variable for database connection.

Use cases of YugabyteDB MCP Server

  • Ask an LLM to summarize all tables in your YugabyteDB database.
  • Run ad-hoc SELECT queries via natural language and get JSON results.
  • Integrate with AI coding assistants to explore and query database schema.
  • Use in development workflows to quickly inspect database structure.

FAQ from YugabyteDB MCP Server

What are the prerequisites for YugabyteDB MCP Server?

Prerequisites include Python 3.10 or higher, uv installed, a running YugabyteDB database, and an MCP client such as Claude Desktop or Cursor.

What environment variables are required?

The only required environment variable is YUGABYTEDB_URL, which specifies the connection string for your

评论

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