# TimeBase

This MCP server lets an AI coding agent inspect TimeBase streams, schemas, symbols, messages, QQL results, and server activity.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8
- Author: epam
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/epam/TimeBase-MCP
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/timebase

## What it does

TimeBase connects an MCP-compatible coding agent with a TimeBase instance. The agent can enumerate streams, inspect schemas and symbols, sample messages, run QQL queries, and view server status and activity.

You can run `timebase-mcp` on the local machine over `stdio`, or deploy it as an HTTP service shared by several users. The local setup uses `uvx` to start the server.

A shared HTTP setup requires a separate server deployment. Connection settings include `TIMEBASE_URL`, `TIMEBASE_SERVERS`, `TIMEBASE_USERNAME`, `TIMEBASE_PASSWORD`, and `TIMEBASE_OAUTH2_TOKEN_URL`.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `TIMEBASE_URL`, `TIMEBASE_SERVERS`, `TIMEBASE_USERNAME`, `TIMEBASE_PASSWORD`, `TIMEBASE_OAUTH2_TOKEN_URL`, `TIMEBASE_OAUTH2_CLIENT_ID`, `TIMEBASE_OAUTH2_CLIENT_SECRET`, `TIMEBASE_OAUTH2_SCOPE`, `MCP_LOG_LEVEL`, `TIMEBASE_AUTH_MODE` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env TIMEBASE_URL=<TIMEBASE_URL> --env TIMEBASE_SERVERS=<TIMEBASE_SERVERS> --env TIMEBASE_USERNAME=<TIMEBASE_USERNAME> --env TIMEBASE_PASSWORD=<TIMEBASE_PASSWORD> --env TIMEBASE_OAUTH2_TOKEN_URL=<TIMEBASE_OAUTH2_TOKEN_URL> --transport stdio timebase -- uvx timebase-mcp
```
Replace <…> with your own values. 10 more environment variables are in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from timebase-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add timebase --env TIMEBASE_URL=<TIMEBASE_URL> --env TIMEBASE_SERVERS=<TIMEBASE_SERVERS> --env TIMEBASE_USERNAME=<TIMEBASE_USERNAME> --env TIMEBASE_PASSWORD=<TIMEBASE_PASSWORD> --env TIMEBASE_OAUTH2_TOKEN_URL=<TIMEBASE_OAUTH2_TOKEN_URL> -- uvx timebase-mcp
```
Replace <…> with your own values. 10 more environment variables are in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from timebase-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "timebase": {
            "command": "uvx",
            "args": [
                "timebase-mcp"
            ],
            "env": {
                "TIMEBASE_URL": "<TIMEBASE_URL>",
                "TIMEBASE_SERVERS": "<TIMEBASE_SERVERS>",
                "TIMEBASE_USERNAME": "<TIMEBASE_USERNAME>",
                "TIMEBASE_PASSWORD": "<TIMEBASE_PASSWORD>",
                "TIMEBASE_OAUTH2_TOKEN_URL": "<TIMEBASE_OAUTH2_TOKEN_URL>"
            }
        }
    }
}
```
Replace <…> with your own values. 10 more environment variables are in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from timebase-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "timebase": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "timebase-mcp"
            ],
            "env": {
                "TIMEBASE_URL": "<TIMEBASE_URL>",
                "TIMEBASE_SERVERS": "<TIMEBASE_SERVERS>",
                "TIMEBASE_USERNAME": "<TIMEBASE_USERNAME>",
                "TIMEBASE_PASSWORD": "<TIMEBASE_PASSWORD>",
                "TIMEBASE_OAUTH2_TOKEN_URL": "<TIMEBASE_OAUTH2_TOKEN_URL>"
            }
        }
    }
}
```
Replace <…> with your own values. 10 more environment variables are in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from timebase-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e TIMEBASE_URL=<TIMEBASE_URL> -e TIMEBASE_SERVERS=<TIMEBASE_SERVERS> -e TIMEBASE_USERNAME=<TIMEBASE_USERNAME> -e TIMEBASE_PASSWORD=<TIMEBASE_PASSWORD> -e TIMEBASE_OAUTH2_TOKEN_URL=<TIMEBASE_OAUTH2_TOKEN_URL> timebase uvx timebase-mcp
```
Replace <…> with your own values. 10 more environment variables are in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from timebase-mcp <command>

## When to use it
- list available TimeBase streams
- inspect a stream schema
- preview symbols and messages
- run a QQL query
- check server status

## Example prompts
- List the TimeBase streams and show the schema for one of them.
- Preview messages from a selected stream and describe their fields.
- Run a QQL query against TimeBase and report the server status.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
