Skip to main content
Glama
TimeBase MCP

TimeBase MCP

Official
by epam

TimeBase MCP

A Model Context Protocol server that lets a coding agent (Claude Code, VS Code, Cursor, Claude Desktop, etc.) explore and query TimeBase: list streams, read schemas and symbols, preview messages, run QQL queries, and inspect server status and activity.

The server can run two ways:

  • Locally, your agent launches timebase-mcp as a local process (stdio) that connects to your TimeBase.

  • Remotely, you deploy timebase-mcp as a shared HTTP service that multiple users connect their agents to.

Which guide do I need?

You want to

Go to

Use TimeBase MCP locally (Cursor, VS Code, Claude Code/Desktop)

Agent Plugins Quickstart

Manual local setup

Local setup

Deploy a shared remote MCP server

Remote deployment

Connect to a running remote server

Connect to a remote server

Add optional WebAdmin inspection

Add WebAdmin access

Related MCP server: TDengine Query MCP Server

Documentation

See also

Available Tools

16 tools
compile_queryA
Read-only

Compile TimeBase QQL query. Returns parser-level diagnostics only (not full semantic/logical validation). error_token is the first unexpected token, which may be after the actual root cause.

Inputs: query (required), instance_key. Returns: error, valid, error_token, error_context, +1 more

execute_queryB
Destructive

Execute a TimeBase QQL query

Inputs: query (required), limit, instance_key. Returns: result

get_server_configurationA
Read-only

Get the MCP server runtime configuration, some TB server configuration fields may be undefined or have default value until the first connection is established.

Inputs: no named parameters. Returns: version, principal, transport, inbound_auth_mode, +2 more

get_stream_messagesA
Read-only

Get the first or last N messages from a stream

Inputs: stream_key (required), count, space, reverse, +1 more. Returns: result

get_stream_schemaA
Read-only

Get the schema of a specific stream

Inputs: stream_key (required), instance_key. Returns: stream_key, schema_text

get_stream_space_time_rangeA
Read-only

Get the time range of a specific stream space in UTC

Inputs: space (required), stream_key (required), instance_key. Returns: end, space, start, stream_key

get_stream_symbolsC
Read-only

Get the symbols of a specific stream

Inputs: stream_key (required), limit, cursor, instance_key. Returns: symbols, stream_key, next_cursor, returned_count, +1 more

get_stream_time_rangeB
Read-only

Get the time range of a specific stream in UTC

Inputs: stream_key (required), instance_key. Returns: end, start, stream_key

get_timebase_activity_detailA
Read-only

Get details for one cursor, loader, connection, or lock. Limited TimeBase server versions support.

Inputs: id (required), kind (required), instance_key, instrument_limit, +3 more. Returns: kind, detail, warnings, instruments, +1 more

get_timebase_statusA
Read-only

Get TimeBase version, license, and runtime environment. Limited TimeBase server versions support.

Inputs: instance_key. Returns: license, runtime, version, http_url, +3 more

list_qql_functionsA
Read-only

List QQL function signatures supported by the connected TimeBase server

Inputs: kind, function_id, instance_key. Returns: stateful, stateless, function_count, overload_count

list_streamsC
Read-only

List available TimeBase streams with their descriptions

Inputs: limit, cursor, instance_key. Returns: streams, next_cursor, total_streams, returned_count, +1 more

list_stream_spacesA
Read-only

List spaces for a specific TimeBase stream

Inputs: stream_key (required), instance_key. Returns: spaces, stream_key, returned_count, supports_spaces

list_timebase_activityA
Read-only

List active cursors, loaders, connections, and locks. Limited TimeBase server versions support.

Inputs: kind, limit, instance_key. Returns: locks, counts, cursors, loaders, +3 more

list_timebase_instancesA
Read-only

List configured TimeBase server instances.

Inputs: no named parameters. Returns: result

search_logs_kbA
Read-only

Search the TimeBase logs knowledge base using a log excerpt, stack trace, or error text, and return the most relevant troubleshooting matches.

Inputs: query (required), limit. Returns: query, advice, matches, normalized_query

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 16 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: stream listing, stream metadata, time ranges, messages, QQL compilation/execution, server status/configuration/activity, and log knowledge-base search. The few potentially similar stream time-range tools are clearly differentiated by scope (stream vs stream space).

    Naming Consistency5/5

    All tool names use snake_case with a predictable verb_noun or verb_noun_qualifier pattern such as list_streams, get_stream_schema, and execute_query. No mixed casing or inconsistent verb conventions appear.

    Tool Count4/5

    Sixteen tools are reasonable for a server covering streams, QQL queries, server administration, activity inspection, and troubleshooting search. The count is slightly above the typical 3–15 range but each tool maps to a meaningful operation.

    Completeness4/5

    The surface covers stream discovery, schema/symbol inspection, time ranges, message retrieval, QQL compilation/execution, function listing, server instances/status/config, activity detail, and log troubleshooting. Minor gaps may exist around write/insert operations or broader stream lifecycle management, but core read/query workflows are well covered.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers