Skip to content

🎛️ Web Console

The Web Console is a graphical UI for your API instance. Start the server and open http://localhost:8000:

pip install 'meerschaum[dash]'
mrsm start api

Included in [full] and Docker

The Dash console ships in meerschaum[dash], meerschaum[full], and the full Docker image. Standalone Rust installs serve the API, /docs, /engine/*, MCP, and web terminal without /dash. Pass --no-dash to disable it.

The v5 console Overview

Every console page shares the same top bar:

Control What it does
Logo Returns to Overview.
Core tabs Pipes, Pipelines, Performance, Jobs, Connectors, Plugins, and Terminal (hidden when unauthorized).
Pages Plugin @web_page links filtered by allowed plugins; multi-page groups nest cleanly with page counts.
Team switcher Lets admins and multi-team members preview the console as a specific team (or Everyone) without escalating permissions.
Instance Switches the active instance across pages (override in the URL with ?instance=sql:other).
User menu Users & Teams, Tokens, Settings, Grafana, and Sign out.

Plugin pages can opt into this bar with @web_page(..., navbar=True)—see Web Pages and Routes.

Signing in

On an empty instance, the login screen shows Create admin account so the first user is an administrator. Self-registration is off by default (api:permissions:registration:users: false).

  • Sessions last 30 days by default (api:cache:session_expires_minutes).
  • Pass mrsm start api --no-auth for local, password-free testing.

Overview

/dash refreshes every 30 seconds with live tiles for Pipes, Pipelines (24h hourly runs), Jobs & Next runs, Recent runs, and 24h Performance.

Performance

/dash/performance charts duration, rows affected/s, and failures by Pipe or Pipeline, plus an Engine breakdown (Runs, Freshness, Backlog, Nodes). See Sync metrics.

Terminal

Terminal (/dash/terminal) pairs a command builder with an interactive web terminal (requires webterm:use; Exec also needs actions:execute):

  • Admins get a full mrsm shell.
  • Non-admins get a restricted mrsm shell checked against POST /execute—no raw shell escapes, Python, or editors (Who may run actions).
  • Isolated teams with plugins_write get a sandboxed team terminal on supported Linux hosts (Commands of a team that runs code).

⚠️ Never combine open registration with Operator

Do not pair api:permissions:registration:users: true with api:permissions:default_role: operator on an exposed server. Use mrsm start api --secure or --private.

Webterm

Click Exec to run a command in the terminal, or trigger async Manage / Pipeline actions that stream live logs and engine events.

Execute actions via the webterm

Tabs run on a private tmux server separate from ~/.tmux.conf:

# mrsm edit config api
api:
  webterm:
    tmux:
      enabled: true
      session_suffix: _mrsm
      config: ~/.config/meerschaum-tmux.conf  # Optional

Terminals without tmux

If an isolated team has plugins_write on a host where Unix sockets are not denied, terminals fall back to single-tab shells (Terminals without tmux).

Pipes

Pipes (/dash/pipes) lists readable pipes with shareable URL filters and All / Mine / My teams scopes.

The Pipes page

Column Shows
Pipe Connector, metric, location, and lock badge when locked.
Rows Exact count (SQLite, DuckDB, <100k rows) or fast DB estimate (~1.2M).
Sync time Latest UTC datetime or integer watermark.
Status Last sync outcome across CLI, jobs, Pipelines, API, and Python.
Team / Tags / Jobs Visibility badge, tags, and matching jobs.

Click any pipe to inspect Overview, Data (CSV export + JSON sync), Parameters, Definition, Lineage, and Runs, or trigger Sync, Verify, Edit, and Manage.

A pipe's Overview

Click New pipe (/dash/pipes/new) to bootstrap a pipe with a 10-row SQL Preview (requires pipes:register and pipes:define_sql).

Pipe access and locks

From a pipe's Manage menu, owners, team managers, and admins can set:

  • Access…: Visibility (Its team, Private, Everyone) and edit mode (Anyone who can see it vs. Owner and team managers).
  • Locks…: Block Edit parameters, Sync, Clear rows, Drop or flush, or Delete everywhere—including CLI, Python, jobs, and admins.

See Teams, Access and Locks.

Connectors, Pipelines & Plugins

  • Connectors (/dash/connectors): Lists visible connectors with passwords masked (••••••). Admins can inspect settings and click Test connection.
  • Pipelines (/dash/pipelines): Visual DAG Canvas and Runs timeline (Visualization). Nodes waiting for flush approval expose Flush (--yes) and Accept definition (--skip-flush) actions in the pipe inspector and Plan dialog, gated by pipes:write, pipe edit rights, and pipe locks.
  • Plugins (/dash/plugins): Browse Installed and Repository plugins, inspect source, edit/upload via New plugin, publish, and install/uninstall as tracked runs.

Plugins page

Jobs

Jobs (/dash/jobs) groups visible background jobs by state and refreshes every 15 seconds (Runs at /dash/runs tracks console-triggered runs):

Status Meaning
Running Healthy and running.
Stalled No lap completed for 3× its interval (or 1h for --listen).
Failing Consecutive failed laps while running.
Paused / Stopped / Failed Paused, stopped cleanly, or exited with an error.

Use a row's ⋮ menu to Start, Pause, Stop, Restart, Delete, View logs, or Download logs, or click New job to create one-off, scheduled (-s), or looping (--loop) jobs.

Users, Teams & Tokens

  • Users & Teams (/dash/users, /dash/teams): Manage users, roles, password resets, and teams (follows the active team in the top bar; pick All teams (Admin) for global admin).
  • Tokens (/dash/tokens): Create, edit, invalidate, or delete API tokens and generate ready-to-paste MCP client snippets.
Capability Viewer Editor Operator Team manager Admin
Browse Pipes, Pipelines, Jobs, Plugins, Connectors ✓ ✓ ✓ ✓ ✓
Terminal & Exec ✓ (by role) ✓
Register, edit, and sync pipes ✓ ✓ ✓ ✓
Access… & Locks… own own own team's all
Users & Teams emails / Add users & teams team emails all / ✓

Register token popup

Dash MCP server

Plotly Dash can expose the console's component tree at /dash/_mcp to help AI agents build web page plugins. It is separate from Meerschaum's /mcp server and disabled by default:

# mrsm edit config api
api:
  dash:
    mcp:
      enabled: true   # requires dash>=4.3.0

Development only—do not enable on a public instance

/dash/_mcp runs outside FastAPI scope checks and is limited to layout introspection unless callbacks explicitly opt in with mcp_enabled=True. Use /mcp for data access.