Add your description here
Project description
ByteHouse MCP Server
An MCP server for ByteHouse. ByteHouse MCP Server serves as a communication bridge between large language models and ByteHouse instances, capable of efficiently transmitting information to achieve seamless docking and collaboration between the two. It also provides intelligent services throughout the entire life cycle for ByteHouse data development, query optimization, and cluster operation and maintenance. During data development, it offers precise guidance and suggestions to improve efficiency and quality. In terms of query optimization, it supports the analysis of statements and the optimization of performance. In the aspect of cluster operation and maintenance, it provides services such as monitoring the status, warning of risks, and automatic diagnosis and repair to ensure the efficient operation of the system.
Features
Tools
-
run_select_query- Execute SQL queries on your ByteHouse cluster.
- Input:
sql(string): The SQL query to execute. - All ByteHouse queries are run with
readonly = 1to ensure they are safe.
-
list_databases- List all databases on your ByteHouse cluster.
-
list_tables- List all tables in a database.
- Input:
database(string): The name of the database.
-
run_dml_ddl_query- Execute DML or DDL queries on your ByteHouse cluster.
- Input:
sql(string): The SQL query to execute.
-
get_bytehouse_table_engine_doc- Get ByteHouse Engine Manual.
- Input:
doc_name(string): The name of the doc.
Configuration
Running the Server
# Run the server with stdio transport (default)
mcp-bytehouse
# Run the server with SSE transport
mcp-bytehouse --transport sse
-
Open the Claude Desktop configuration file located at:
- On macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - On Windows:
%APPDATA%/Claude/claude_desktop_config.json
- On macOS:
-
Add the following:
{
"mcpServers": {
"mcp-bytehouse": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/volcengine/mcp-server@master#subdirectory=server/mcp_server_bytehouse",
"--python",
"3.13",
"mcp-bytehouse",
],
"env": {
"BYTEHOUSE_HOST": "<ByteHouse-host>",
"BYTEHOUSE_PORT": "<ByteHouse-port>",
"BYTEHOUSE_USER": "<ByteHouse-user>",
"BYTEHOUSE_PASSWORD": "<ByteHouse-password>",
"BYTEHOUSE_SECURE": "true",
"BYTEHOUSE_VERIFY": "true",
"BYTEHOUSE_CONNECT_TIMEOUT": "30",
"BYTEHOUSE_SEND_RECEIVE_TIMEOUT": "30"
}
}
}
}
License
This project is licensed under the Apache License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bytehouse_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: bytehouse_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75bedc91dc898691114c8faf87e5339cb29781b42884dda4216fffd6967d16f3
|
|
| MD5 |
cf9d6c8aa6824287642ed895e3b13a4a
|
|
| BLAKE2b-256 |
8021da8846ca73527c3c4b2879d933e919002a003aac33924d414b0dee02c874
|
File details
Details for the file bytehouse_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bytehouse_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 34.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eacfe2f2f24265c736442b2ef6ef4c59c55988913683108e04c80716b3cf909d
|
|
| MD5 |
b47a8bc5492740aab0bd56880616eaf5
|
|
| BLAKE2b-256 |
65f10a47b5affb6ed727d1b91175a707dc62a289ae1ca3cfb58db500242718c2
|