An MCP server for Timeplus. generatesql to give LLM more knowledge about how to query Timeplus via SQL - Execute SQL queries on your Timeplus cluster. - Input: sql (string): The SQL query to execute. - By default, all Timeplus queries are run with readonly = 1 to ensure they are safe. If you want to run DDL or DML queries, you can set the environment variable TIMEPLUSREADONLY to false. listdatabas
Add this skill
npx mdskills install jovezhong/mcp-timeplusWell-documented MCP server with useful database and Kafka tools, clear setup instructions
1# Timeplus MCP Server2[](https://pypi.org/project/mcp-timeplus)34An MCP server for Timeplus.56<a href="https://glama.ai/mcp/servers/9aleefsq9s"><img width="380" height="200" src="https://glama.ai/mcp/servers/9aleefsq9s/badge" alt="mcp-timeplus MCP server" /></a>78## Features910### Prompts1112* `generate_sql` to give LLM more knowledge about how to query Timeplus via SQL1314### Tools1516* `run_sql`17 - Execute SQL queries on your Timeplus cluster.18 - Input: `sql` (string): The SQL query to execute.19 - By default, all Timeplus queries are run with `readonly = 1` to ensure they are safe. If you want to run DDL or DML queries, you can set the environment variable `TIMEPLUS_READ_ONLY` to `false`.2021* `list_databases`22 - List all databases on your Timeplus cluster.2324* `list_tables`25 - List all tables in a database.26 - Input: `database` (string): The name of the database.2728* `list_kafka_topics`29 - List all topics in a Kafka cluster3031* `explore_kafka_topic`32 - Show some messages in the Kafka topic33 - Input: `topic` (string): The name of the topic. `message_count` (int): The number of messages to show, default to 1.3435* `create_kafka_stream`36 - Setup a streaming ETL in Timeplus to save the Kafka messages locally37 - Input: `topic` (string): The name of the topic.3839* `connect_to_apache_iceberg`40 - Connect to a database based on Apache Iceberg. Currently this is only available via Timeplus Enterprise and it's planned to make it available for Timeplus Proton soon.41 - Input: `iceberg_db` (string): The name of the Iceberg database. `aws_account_id` (int): The AWS account ID (12 digits). `s3_bucket` (string): The S3 bucket name. `aws_region` (string): The AWS region, default to "us-west-2". `is_s3_table_bucket` (bool): Whether the S3 bucket is a S3 table bucket, default to False.4243## Configuration4445First, ensure you have the `uv` executable installed. If not, you can install it by following the instructions [here](https://docs.astral.sh/uv/).46471. Open the Claude Desktop configuration file located at:48 - On macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`49 - On Windows: `%APPDATA%/Claude/claude_desktop_config.json`50512. Add the following:5253```json54{55 "mcpServers": {56 "mcp-timeplus": {57 "command": "uvx",58 "args": ["mcp-timeplus"],59 "env": {60 "TIMEPLUS_HOST": "<timeplus-host>",61 "TIMEPLUS_PORT": "<timeplus-port>",62 "TIMEPLUS_USER": "<timeplus-user>",63 "TIMEPLUS_PASSWORD": "<timeplus-password>",64 "TIMEPLUS_SECURE": "false",65 "TIMEPLUS_VERIFY": "true",66 "TIMEPLUS_CONNECT_TIMEOUT": "30",67 "TIMEPLUS_SEND_RECEIVE_TIMEOUT": "30",68 "TIMEPLUS_READ_ONLY": "false",69 "TIMEPLUS_KAFKA_CONFIG": "{\"bootstrap.servers\":\"a.aivencloud.com:28864\", \"sasl.mechanism\":\"SCRAM-SHA-256\",\"sasl.username\":\"avnadmin\", \"sasl.password\":\"thePassword\",\"security.protocol\":\"SASL_SSL\",\"enable.ssl.certificate.verification\":\"false\"}"70 }71 }72 }73}74```7576Update the environment variables to point to your own Timeplus service.77783. Restart Claude Desktop to apply the changes.7980You can also try this MCP server with other MCP clients, such as [5ire](https://github.com/nanbingxyz/5ire).8182## Development83841. In `test-services` directory run `docker compose up -d` to start a Timeplus Proton server. You can also download it via `curl https://install.timeplus.com/oss | sh`, then start with `./proton server`.85862. Add the following variables to a `.env` file in the root of the repository.8788```89TIMEPLUS_HOST=localhost90TIMEPLUS_PORT=812391TIMEPLUS_USER=default92TIMEPLUS_PASSWORD=93TIMEPLUS_SECURE=false94TIMEPLUS_VERIFY=true95TIMEPLUS_CONNECT_TIMEOUT=3096TIMEPLUS_SEND_RECEIVE_TIMEOUT=3097TIMEPLUS_READ_ONLY=false98TIMEPLUS_KAFKA_CONFIG={"bootstrap.servers":"a.aivencloud.com:28864", "sasl.mechanism":"SCRAM-SHA-256","sasl.username":"avnadmin", "sasl.password":"thePassword","security.protocol":"SASL_SSL","enable.ssl.certificate.verification":"false"}99```1001013. Run `uv sync` to install the dependencies. Then do `source .venv/bin/activate`.1021034. For easy testing, you can run `mcp dev mcp_timeplus/mcp_server.py` to start the MCP server. Click the "Connect" button to connect the UI with the MCP server, then switch to the "Tools" tab to run the available tools.1041055. To build the Docker image, run `docker build -t mcp_timeplus .`.106107### Environment Variables108109The following environment variables are used to configure the Timeplus connection:110111#### Required Variables112* `TIMEPLUS_HOST`: The hostname of your Timeplus server113* `TIMEPLUS_USER`: The username for authentication114* `TIMEPLUS_PASSWORD`: The password for authentication115116#### Optional Variables117* `TIMEPLUS_PORT`: The port number of your Timeplus server118 - Default: `8443` if HTTPS is enabled, `8123` if disabled119 - Usually doesn't need to be set unless using a non-standard port120* `TIMEPLUS_SECURE`: Enable/disable HTTPS connection121 - Default: `"false"`122 - Set to `"true"` for secure connections123* `TIMEPLUS_VERIFY`: Enable/disable SSL certificate verification124 - Default: `"true"`125 - Set to `"false"` to disable certificate verification (not recommended for production)126* `TIMEPLUS_CONNECT_TIMEOUT`: Connection timeout in seconds127 - Default: `"30"`128 - Increase this value if you experience connection timeouts129* `TIMEPLUS_SEND_RECEIVE_TIMEOUT`: Send/receive timeout in seconds130 - Default: `"300"`131 - Increase this value for long-running queries132* `TIMEPLUS_DATABASE`: Default database to use133 - Default: None (uses server default)134 - Set this to automatically connect to a specific database135* `TIMEPLUS_READ_ONLY`: Enable/disable read-only mode136 - Default: `"true"`137 - Set to `"false"` to enable DDL/DML138* `TIMEPLUS_KAFKA_CONFIG`: A JSON string for the Kafka configuration. Please refer to [librdkafka configuration](https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md) or take the above example as a reference.139
Full transparency — inspect the skill content before installing.