mochow-mcp-server-python
1
The Baidu Vector Database MCP Server offers an interface to access and manage databases and tables through model context protocol. It supports various operations like creating, listing, and querying databases and tables, and integrates with applications like Claude Desktop and Cursor.
Baidu Vector Database MCP Server
This repository contains an MCP server providing access to the Baidu Cloud Vector Database.
Prerequisites
- Python 3.10 or higher
- uv installed to run the MCP server
Usage
Clone the repository and run with uv
. Modify endpoint
and api-key
as needed. You can also set environment variables in the .env
file to run the server.
Supported Applications
The MCP server is compatible with various applications supporting the model context protocol:
- Claude Desktop
- Cursor
- Custom MCP clients
Available Tools
- Database operations: list, create, and use databases
- Table operations: list, describe, and get stats for tables
- Data operations: delete and select table rows using filters
- Index operations: create, rebuild, drop indexes and describe details
- Retrieval operations: vector and full-text search
Environment Variables
MOCHOW_ENDPOINT
: URI of the Baidu Cloud Vector Database instanceMOCHOW_API_KEY
: API key of the Baidu Cloud Vector Database instance