### Configure Claude Desktop for RBDC MCP Server Source: https://github.com/rbatis/rbdc-mcp/blob/main/README.md Examples of `claude_desktop_config.json` configurations to integrate the RBDC MCP server with Claude Desktop. These snippets demonstrate basic setup, connecting to different database types, and specifying full executable paths for Windows environments. ```JSON { "mcpServers": { "rbdc-mcp": { "command": "rbdc-mcp", "args": ["--database-url", "sqlite://./database.db"] } } } ``` ```JSON { "mcpServers": { "rbdc-mcp-sqlite": { "command": "rbdc-mcp", "args": ["--database-url", "sqlite://./database.db"] }, "rbdc-mcp-mysql": { "command": "rbdc-mcp", "args": ["--database-url", "mysql://user:password@localhost:3306/database"] }, "rbdc-mcp-postgres": { "command": "rbdc-mcp", "args": ["--database-url", "postgres://user:password@localhost:5432/database"] } } } ``` ```JSON { "mcpServers": { "rbdc-mcp": { "command": "C:\\tools\\rbdc-mcp.exe", "args": ["--database-url", "sqlite://C:\\path\\to\\database.db"] } } } ``` -------------------------------- ### Install RBDC MCP Server via Command Line Source: https://github.com/rbatis/rbdc-mcp/blob/main/README.md Instructions for installing the RBDC MCP server using various command-line methods, including moving pre-built binaries, setting executable permissions, installing via Cargo for Rust projects, and building directly from source. ```Bash mv rbdc-mcp-macos-* rbdc-mcp chmod +x rbdc-mcp sudo mv rbdc-mcp /usr/local/bin/ ``` ```Bash mv rbdc-mcp-linux-x86_64 rbdc-mcp chmod +x rbdc-mcp sudo mv rbdc-mcp /usr/local/bin/ ``` ```Bash cargo install --git https://github.com/rbatis/rbdc-mcp.git ``` ```Bash git clone https://github.com/rbatis/rbdc-mcp.git cd rbdc-mcp cargo build --release ``` -------------------------------- ### Install RBDC MCP via Cargo Source: https://github.com/rbatis/rbdc-mcp/blob/main/README_cn.md Command to install the RBDC MCP server directly from the Git repository using Rust's Cargo package manager. Requires Rust to be installed as a prerequisite. ```bash cargo install --git https://github.com/rbatis/rbdc-mcp.git ``` -------------------------------- ### Install RBDC MCP Pre-compiled Binary Source: https://github.com/rbatis/rbdc-mcp/blob/main/README_cn.md Commands to install the pre-compiled RBDC MCP server binary on macOS and Linux systems. This involves moving the executable to a system PATH and making it executable. ```bash mv rbdc-mcp-macos-* rbdc-mcp chmod +x rbdc-mcp sudo mv rbdc-mcp /usr/local/bin/ ``` ```bash mv rbdc-mcp-linux-x86_64 rbdc-mcp chmod +x rbdc-mcp sudo mv rbdc-mcp /usr/local/bin/ ``` -------------------------------- ### Configure Claude Desktop for RBDC MCP (Basic) Source: https://github.com/rbatis/rbdc-mcp/blob/main/README_cn.md JSON configuration for Claude Desktop to integrate the RBDC MCP server, specifying the command to run the server and a SQLite database URL. This is a foundational setup for basic usage. ```json { "mcpServers": { "rbdc-mcp": { "command": "rbdc-mcp", "args": ["--database-url", "sqlite://./database.db"] } } } ``` -------------------------------- ### Build RBDC MCP from Source Source: https://github.com/rbatis/rbdc-mcp/blob/main/README_cn.md Commands to clone the repository, navigate into it, and build the RBDC MCP server from source code using Cargo. The resulting executable will be located in the `target/release/` directory. ```bash git clone https://github.com/rbatis/rbdc-mcp.git cd rbdc-mcp cargo build --release ``` -------------------------------- ### RBDC MCP Server Command-Line Configuration Options Source: https://github.com/rbatis/rbdc-mcp/blob/main/README.md API documentation outlining the available command-line parameters for configuring the RBDC MCP server. Each option includes its description, default value, and whether it is a required parameter. ```APIDOC Configuration Options: --database-url, -d: Description: Database connection URL Default: *Required* --max-connections: Description: Maximum connection pool size Default: 1 --timeout: Description: Connection timeout (seconds) Default: 30 --log-level: Description: Log level (error/warn/info/debug) Default: info ``` -------------------------------- ### RBDC MCP Server Configuration Options Source: https://github.com/rbatis/rbdc-mcp/blob/main/README_cn.md Lists the command-line parameters available for configuring the RBDC MCP server, including database URL, maximum connections, timeout, and log level, along with their descriptions and default values. ```APIDOC Configuration Options: --database-url, -d: Database connection URL (Required) --max-connections: Maximum connection pool size (Default: 1) --timeout: Connection timeout in seconds (Default: 30) --log-level: Log level (error/warn/info/debug) (Default: info) ``` -------------------------------- ### Configure Claude Desktop for Multiple Databases Source: https://github.com/rbatis/rbdc-mcp/blob/main/README_cn.md JSON configuration demonstrating how to set up Claude Desktop to connect to various database types (SQLite, MySQL, PostgreSQL) using different RBDC MCP server instances, each with its specific connection URL. ```json { "mcpServers": { "rbdc-mcp-sqlite": { "command": "rbdc-mcp", "args": ["--database-url", "sqlite://./database.db"] }, "rbdc-mcp-mysql": { "command": "rbdc-mcp", "args": ["--database-url", "mysql://user:password@localhost:3306/database"] }, "rbdc-mcp-postgres": { "command": "rbdc-mcp", "args": ["--database-url", "postgres://user:password@localhost:5432/database"] } } } ``` -------------------------------- ### Configure Claude Desktop with Full Path (Windows) Source: https://github.com/rbatis/rbdc-mcp/blob/main/README_cn.md JSON configuration for Claude Desktop on Windows, specifying the full path to the `rbdc-mcp.exe` executable and a SQLite database. This is useful when the executable is not added to the system's PATH environment variable. ```json { "mcpServers": { "rbdc-mcp": { "command": "C:\\tools\\rbdc-mcp.exe", "args": ["--database-url", "sqlite://C:\\path\\to\\database.db"] } } } ``` -------------------------------- ### Available Database Interaction Tools Source: https://github.com/rbatis/rbdc-mcp/blob/main/README.md A list of tools provided by the rbdc-mcp project for interacting with databases. These tools enable safe execution of SELECT queries, DML operations (INSERT, UPDATE, DELETE), and checking the status of the database connection pool. ```APIDOC Available Tools: sql_query: description: Execute SELECT queries safely sql_exec: description: Execute INSERT/UPDATE/DELETE operations db_status: description: Check connection pool status ``` -------------------------------- ### RBDC MCP Available Tools for Database Interaction Source: https://github.com/rbatis/rbdc-mcp/blob/main/README_cn.md Describes the high-level tools provided by RBDC MCP for interacting with databases via natural language, such as `sql_query` for SELECT operations, `sql_exec` for DML operations, and `db_status` for checking connection pool status. ```APIDOC Available Tools: sql_query: Safely execute SELECT queries sql_exec: Execute INSERT/UPDATE/DELETE operations db_status: Check connection pool status ``` -------------------------------- ### RBDC MCP Database Support and Connection URLs Source: https://github.com/rbatis/rbdc-mcp/blob/main/README_cn.md Details the database systems supported by RBDC MCP and their respective connection URL formats, including SQLite, MySQL, PostgreSQL, and MSSQL. ```APIDOC Database Support: SQLite: sqlite://path/to/database.db MySQL: mysql://user:password@host:port/database PostgreSQL: postgres://user:password@host:port/database MSSQL: mssql://user:password@host:port/database ``` -------------------------------- ### RBDC MCP Database Connection URL Formats Source: https://github.com/rbatis/rbdc-mcp/blob/main/README.md API documentation detailing the connection URL formats required for various database types supported by the RBDC MCP server. This includes specifications for SQLite, MySQL, PostgreSQL, and MSSQL. ```APIDOC Database Connection URL Formats: SQLite: sqlite://path/to/database.db MySQL: mysql://user:password@host:port/database PostgreSQL: postgres://user:password@host:port/database MSSQL: mssql://user:password@host:port/database ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.