Timeplus
Interact with the Timeplus real-time data platform for querying and managing data streams.
Timeplus MCP Server
An MCP server for Timeplus.
Features
Prompts
generate_sqlto give LLM more knowledge about how to query Timeplus via SQL
Tools
run_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 = 1to ensure they are safe. If you want to run DDL or DML queries, you can set the environment variableTIMEPLUS_READ_ONLYtofalse.
list_databases- List all databases on your Timeplus cluster.
list_tables- List all tables in a database.
- Input:
database(string): The name of the database.
list_kafka_topics- List all topics in a Kafka cluster
explore_kafka_topic- Show some messages in the Kafka topic
- Input:
topic(string): The name of the topic.message_count(int): The number of messages to show, default to 1.
create_kafka_stream- Setup a streaming ETL in Timeplus to save the Kafka messages locally
- Input:
topic(string): The name of the topic.
connect_to_apache_iceberg- 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.
- 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.
Configuration
First, ensure you have the uv executable installed. If not, you can install it by following the instructions here.
- 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-timeplus": { "command": "uvx", "args": ["mcp-timeplus"], "env": { "TIMEPLUS_HOST": "", "TIMEPLUS_PORT": "", "TIMEPLUS_USER": "", "TIMEPLUS_PASSWORD": "", "TIMEPLUS_SECURE": "false", "TIMEPLUS_VERIFY": "true", "TIMEPLUS_CONNECT_TIMEOUT": "30", "TIMEPLUS_SEND_RECEIVE_TIMEOUT": "30", "TIMEPLUS_READ_ONLY": "false", "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"}" } } } }
Update the environment variables to point to your own Timeplus service.
- Restart Claude Desktop to apply the changes.
You can also try this MCP server with other MCP clients, such as 5ire.
Development
- In
test-servicesdirectory rundocker compose up -dto start a Timeplus Proton server. You can also download it viacurl https://install.timeplus.com/oss | sh, then start with./proton server. - Add the following variables to a
.envfile in the root of the repository.
TIMEPLUS_HOST=localhost
TIMEPLUS_PORT=8123
TIMEPLUS_USER=default
TIMEPLUS_PASSWORD=
TIMEPLUS_SECURE=false
TIMEPLUS_VERIFY=true
TIMEPLUS_CONNECT_TIMEOUT=30
TIMEPLUS_SEND_RECEIVE_TIMEOUT=30
TIMEPLUS_READ_ONLY=false
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"}
- Run
uv syncto install the dependencies. Then dosource .venv/bin/activate. - For easy testing, you can run
mcp dev mcp_timeplus/mcp_server.pyto 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. - To build the Docker image, run
docker build -t mcp_timeplus ..
Environment Variables
The following environment variables are used to configure the Timeplus connection:
Required Variables
TIMEPLUS_HOST: The hostname of your Timeplus serverTIMEPLUS_USER: The username for authenticationTIMEPLUS_PASSWORD: The password for authentication
Optional Variables
TIMEPLUS_PORT: The port number of your Timeplus server- Default:
8443if HTTPS is enabled,8123if disabled - Usually doesn't need to be set unless using a non-standard port
- Default:
TIMEPLUS_SECURE: Enable/disable HTTPS connection- Default:
"false" - Set to
"true"for secure connections
- Default:
TIMEPLUS_VERIFY: Enable/disable SSL certificate verification- Default:
"true" - Set to
"false"to disable certificate verification (not recommended for production)
- Default:
TIMEPLUS_CONNECT_TIMEOUT: Connection timeout in seconds- Default:
"30" - Increase this value if you experience connection timeouts
- Default:
TIMEPLUS_SEND_RECEIVE_TIMEOUT: Send/receive timeout in seconds- Default:
"300" - Increase this value for long-running queries
- Default:
TIMEPLUS_DATABASE: Default database to use- Default: None (uses server default)
- Set this to automatically connect to a specific database
TIMEPLUS_READ_ONLY: Enable/disable read-only mode- Default:
"true" - Set to
"false"to enable DDL/DML
- Default:
TIMEPLUS_KAFKA_CONFIG: A JSON string for the Kafka configuration. Please refer to librdkafka configuration or take the above example as a reference.
相關伺服器
bricks and context
Production-grade MCP server for Databricks: SQL Warehouses, Jobs API, multi-workspace support.
mem0-mcp-selfhosted
Self-hosted mem0 MCP server for Claude Code. Run a complete memory server against self-hosted Qdrant + Neo4j + Ollama while using Claude as the main LLM.
Vertica MCP Server
Provides read-only access to Vertica databases.
Apache AGE MCP Server
A server for Apache AGE, a graph database extension for PostgreSQL.
OpenAlex Author Disambiguation
Disambiguate authors and resolve institutions using the OpenAlex.org API.
Quanti: connectors MCP
Unify your marketing team around one AI-powered source of truth. Quanti connects your marketing data to your warehouse. Execute SQL queries on BigQuery, explore table schemas, discover pre-built use cases, and analyze performance across Google Analytics, Google Ads, Meta Ads, TikTok, affiliate networks and more. all through natural conversation
dbt-docs
MCP server for dbt-core (OSS) users as the official dbt MCP only supports dbt Cloud. Supports project metadata, model and column-level lineage and dbt documentation.
CelestialMCP
Provides astronomical data such as celestial object positions, rise/set times, and visibility information.
Neon MCP Server
Interact with Neon Postgres databases using natural language to manage projects, branches, queries, and migrations via the Neon API.
CData Tableau CRM Analytics Server
A read-only MCP server for querying live Tableau CRM Analytics data using the CData JDBC Driver.