Skip to main content
Glama
Symphony Log MCP Server

Symphony Log MCP Server

Official
by senstar

Symphony Log MCP Server

A Model Context Protocol (MCP) server for automated analysis of Symphony VMS log files. This server provides AI assistants with powerful tools to diagnose errors, compare test runs, track process health, and identify performance issues across Symphony deployments.

Current version: 2.3.0

What is MCP?

Model Context Protocol is an open standard that enables AI assistants to securely access external tools and data sources. This server implements MCP to give AI assistants specialized capabilities for analyzing Symphony logs.

Related MCP server: Log Analyzer MCP

Features

  • Automated triage - Single-call first-pass diagnosis that runs health, errors, lifecycle, and event log checks in parallel with prioritized findings

  • Side-by-side log comparison - Compare two builds or environments with automatic detection of fixed/new/changed error patterns

  • Error pattern analysis - Fingerprint and deduplicate errors, with full stack trace extraction

  • Process health monitoring - Detect crash-loops, restarts, and memory trends from sccp logs

  • Service lifecycle tracking - Find start/stop/restart events, diagnose restart causes, and detect log gaps

  • HTTP & slow request analysis - Unified HTTP + RPC slow request analysis with grouping, rate histograms, and threshold detection

  • Video pipeline health - Camera connection/disconnection, frame drops, codec errors, recording gaps

  • Storage management - Disk space warnings, retention enforcement, cleaner cycle tracking

  • Alarm & event rules - Alarm triggers, notification delivery, rule evaluation failures

  • Network connectivity - Timeouts, connection refused, retries, DNS issues across all services

  • Access control integration - Door events, sync status, panel communication failures

  • User permission resolution - Effective permissions with deny-overrides-grant logic, group audit trails

  • UI thread freeze detection - WPF/WinForms UI thread analysis with configurable freeze thresholds

  • Bug report package support - Automatically extract and analyze multi-server bug report ZIPs

  • Database table parsing - Extract camera, server, user, and license config from bug report SQL dumps

  • Hardware configuration - CPU, RAM, disk, NIC details from serverinfo.txt

  • Domain knowledge resource - MCP resource providing log format spec, service graph, and diagnostic playbooks

  • Farm-wide analysis - Multi-server dashboard, cross-server error aggregation, topology mapping, camera status

  • Authentication analysis - Login failures, session tracking, Active Directory events

  • Database health monitoring - SQL connectivity outages, pool exhaustion, recovery tracking

  • Inter-server communication - Heartbeat monitoring, connection failure detection, server topology mapping

  • Hardware integration - Advantech/ADAM modules, serial ports, IO device monitoring

Installation

Prerequisites

  • Node.js v18 or newer

  • An MCP-compatible client (Claude Desktop, VS Code with GitHub Copilot, etc.)

Setup

git clone https://github.com/senstar/symphony-log-mcp.git
cd symphony-log-mcp
npm install
npm run build

Configuration

Claude Desktop

Add this server to your Claude Desktop config file:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "symphony-logs": {
      "command": "node",
      "args": ["/path/to/symphony-log-mcp/dist/index.js"]
    }
  }
}

Optionally pass a log directory as the first CLI argument or via the LOG_DIR environment variable to pre-configure the session. Otherwise, call sym_open at the start of each session to point at the log directory you want to analyze.

Safety note: There is no default log directory. Previous versions defaulted to C:\Log, which could silently read from a live production server junction. You must now explicitly set the directory.

VS Code with GitHub Copilot

Add to .vscode/mcp.json in your workspace:

{
  "mcpServers": {
    "symphony-logs": {
      "command": "node",
      "args": ["${workspaceFolder}/tools/symphony-log-mcp/dist/index.js"]
    }
  }
}

Then call sym_open with a directory path to start analyzing logs. Every tool also accepts an optional logDir parameter for one-shot analysis of a different directory without changing the session.

Usage

Once configured, you can ask your AI assistant natural language questions like:

  • "Compare the logs from tests 133 and 138 and summarize the differences"

  • "What are the most common errors in the InfoService logs?"

  • "Triage this bug report and tell me what's wrong"

  • "Show me the process health for this bug report"

  • "Find all slow requests over 5 seconds"

  • "Are there any log gaps that suggest a service outage?"

  • "Show me memory trends — are any processes leaking?"

  • "What caused InfoService to restart at 14:23?"

The AI assistant will automatically invoke the appropriate MCP tools and interpret the results for you.

Available Tools (26)

All tools use the sym_ prefix for easy discovery.

Tool

Description

sym_open

Call first. Set the log directory for this session. Accepts an absolute path to a directory or bug report folder. Call again to switch directories.

sym_triage

Automated first-pass diagnosis — runs health, error, lifecycle, and event log checks in parallel, returns prioritized findings

sym_info

Bug report metadata, list log files, decode prefixes, hardware config (action: bug_report | list_files | decode_prefix | hardware)

sym_search

Search for errors, text/regex patterns, count occurrences, or prove absence (mode: errors | pattern | count | assert_absent)

sym_crashes

Extract .NET exceptions or native C++ crash dumps (mode: managed | native)

sym_lifecycle

Service start/stop/restart events, process-level PID tracking, or log gap detection (mode: services | processes | gaps)

sym_timeline

Merge logs chronologically, trace RPC calls, or cluster pattern matches into temporal waves (mode: correlate | trace_rpc | waves)

sym_http

Unified HTTP + RPC request analysis with slow-request detection (mode: requests | slow | rates | totals)

sym_ui_thread

Detect UI thread freezes and deadlocks with multi-file support, configurable freeze threshold, and time filtering

sym_health

Health dashboard or memory/CPU trends from sccp logs (mode: dashboard | trends)

sym_compare

Side-by-side diff of two log directories (errors, lifecycle, health, http, slow)

sym_db_tables

(Bug report only) Parse database table dumps (mode: summary | cameras | servers | settings | users | licenses | settings_xml | raw)

sym_video_health

Video pipeline health: camera connect/disconnect, frame drops, codec errors, recording gaps (mode: summary | events | cameras)

sym_storage

Disk/storage management: space warnings, retention, cleaner cycles (mode: summary | events | timeline)

sym_alarms

Alarm & event rule processing: triggers, notifications, rule failures (mode: summary | events | failures)

sym_network

Network connectivity: timeouts, retries, connection refused, DNS (mode: summary | events | targets | timeouts)

sym_access_control

Access control integration: doors, credentials, sync, panel comms (mode: summary | events | failures | sync)

sym_permissions

(Bug report only) Resolve effective user permissions with full audit trail (mode: resolve | check | groups | rights | raw)

sym_system

(Bug report only) System diagnostics from supplementary files (mode: overview | services | processes | network | environment | license | files | db_summary | raw)

sym_event_log

(Bug report only) Parse Windows Event Log exports — crashes, driver failures, .NET runtime errors (mode: entries | summary)

sym_farm

Farm-wide analysis across multiple server log packages (mode: dashboard | errors | topology | cameras | connectivity)

sym_auth

Authentication and session events from IS logs (mode: summary | failures | sessions)

sym_db_health

Database connectivity and health from IS logs — outages, SQL exceptions, pool exhaustion (mode: summary | outages | events)

sym_cameras

Camera inventory and status from Tracker (cs*) logs (mode: inventory | problems | status)

sym_interserver

Inter-server communication from IS logs — heartbeats, connection failures, proxy errors (mode: summary | map | failures)

sym_hw

Hardware integration events — Advantech/ADAM, serial ports, IO modules (mode: summary | advantech | devices | errors)

Resources

The server exposes one MCP resource for AI callers:

Resource URI

Description

symphony://domain-knowledge

Symphony VMS architecture, log format spec, service dependency graph, diagnostic playbooks, and known error signatures. AI callers should read this once at session start.

See the tool descriptions in the MCP client for detailed parameter documentation.

Direct Invocation (Advanced)

While this server is designed for MCP clients, you can invoke it directly for testing:

echo '{"method":"tools/call","params":{"name":"sym_compare","arguments":{"dirA":"C:/Logs/133","dirB":"C:/Logs/138"}}}' | node dist/index.js

Contributing

Pull requests welcome! Please ensure code is well-documented and tested.

License

MIT

Available Tools

30 tools
sym_access_controlC

Access control integration (ac, aacl, lacl, ga): door events, credentials, sync, panel failures. Modes: summary, events, failures, sync.

Inputs: mode, files, limit, logDir, +2 more.

sym_alarmsC

Alarm/event rule processing from Scheduler (scac) logs. Modes: summary, events, failures.

Inputs: mode, files, limit, logDir, +2 more.

sym_authC

Authentication and session events from IS logs. Modes: summary, failures, sessions.

Inputs: mode (required), files, limit, logDir, +3 more.

sym_camerasC

Camera inventory and status from Tracker (cs*) logs. Modes: inventory, problems, status.

Inputs: mode (required), files, limit, logDir, +1 more.

sym_compareB

Side-by-side comparison of two log directories. Dimensions: errors, health, lifecycle, http, slow.

Inputs: dirA (required), dirB (required), limit, labelA, +9 more.

sym_crashesC

Extract crash and exception data. Modes: managed (.NET stack traces), native (C++ crash dumps from pd logs).

Inputs: mode (required), files (required), limit, logDir, +4 more.

sym_db_healthB

Database connectivity and health from IS logs. Detects outages, SQL exceptions, pool exhaustion. Modes: summary, outages, events.

Inputs: mode (required), files, limit, logDir, +2 more.

sym_db_statsC

Parse optional SqlStats-* and DotNetCounters artifacts from log packages. Modes: summary, queries, waits, connections, counters, raw.

Inputs: file, mode, limit, logDir.

sym_db_tablesA

Parse database table dumps. Modes: summary, cameras, servers, settings, users, licenses, settings_xml, raw. Works with bug reports or standalone log directories containing Table*.txt files.

Inputs: mode (required), key, limit, logDir, +2 more.

sym_event_logB

Parse Windows Event Log exports (EventLogApplication.txt, EventLogSystem.txt). Works with bug reports or log directories containing these files. Modes: entries, summary.

Inputs: log (required), mode, level, limit, +4 more.

sym_farmC

Farm-wide analysis across multiple server log packages. Modes: dashboard, errors, topology, cameras, connectivity.

Inputs: parentDir (required), mode, limit, logDir.

sym_healthB

Server health dashboard from sccp/IS logs. Modes: dashboard (restarts, status rating), trends (memory/CPU trajectory, leak detection).

Inputs: mode, filter, logDir, endTime, +3 more.

sym_httpC

Analyze HTTP/RPC request performance from IS logs. Modes: requests, slow, rates, totals. Supports groupBy, statusFilter, and duration thresholds.

Inputs: files (required), mode, limit, logDir, +15 more.

sym_hwC

Hardware integration events: Advantech/ADAM, serial ports, IO modules. Modes: summary, advantech, devices, errors.

Inputs: mode (required), files, limit, logDir, +3 more.

sym_infoC

Log directory metadata, file listing, and server info. Actions: bug_report, list_files, decode_prefix, hardware.

Inputs: action (required), date, limit, logDir, +1 more.

sym_interserverC

Inter-server communication from IS logs: heartbeats, connection failures, proxy errors. Modes: summary, map, failures.

Inputs: mode (required), files, limit, logDir, +3 more.

sym_lifecycleB

Track service/process lifecycle events and log gaps. Modes: services (start/stop/restart), processes (PID tracking from sccp), gaps (log silence detection).

Inputs: mode (required), files, limit, filter, +7 more.

sym_log_qualityC

Analyze repetitive log patterns and estimate low-value log volume. Modes: summary, patterns.

Inputs: mode, files, limit, logDir, +4 more.

sym_networkC

Network connection events: TCP, timeouts, DNS failures, retries. Modes: summary, events, targets, timeouts.

Inputs: mode, files, limit, logDir, +3 more.

sym_openA

Set or switch the active log directory. Call FIRST before other sym_* tools. No args returns current directory.

Inputs: logDir.

sym_permissionsB

(Bug report only -- requires DB table dumps) Resolve effective user permissions. Modes: resolve, check, groups, rights, raw.

Inputs: mode (required), user, limit, logDir, +2 more.

sym_reportC

Run a full analysis wrapper over major sym_* diagnostics and produce a consolidated text or HTML report.

Inputs: format, logDir, endTime, startTime, +1 more.

sym_retentionA

Footage retention and gap analysis from FootageFiles database table. Builds per-camera timeline, detects gaps, correlates with CameraDownload table and camera logs to explain WHY gaps exist. Requires bug report package with TableFootageFiles.txt.

Inputs: format, logDir, endTime, cameraId, +5 more.

sym_storageC

Storage and disk management from Cleaner (sccl) logs. Modes: summary, events, timeline.

Inputs: mode, files, limit, logDir, +2 more.

sym_systemA

System diagnostics from supplementary files (services.txt, tasklist.txt, etc.). Works with bug reports or log directories containing these files. Modes: overview, services, processes, network, environment, license, files, db_summary, raw.

Inputs: mode (required), file, port, limit, +4 more.

sym_timelineB

Correlate events across log sources. Modes: correlate (merge timelines), trace_rpc (RPC round-trips via Mo+IS), waves (temporal clustering of pattern matches).

Inputs: mode (required), files, limit, logDir, +9 more.

sym_triageA

Automated first-pass diagnosis. Runs health, errors, lifecycle, and event log checks in parallel with severity ranking. Start here for unfamiliar log sets.

Inputs: logDir, endTime, sccpFiles, startTime, +2 more.

sym_ui_threadB

Detect UI thread freezes and deadlocks in AiraExplorer (ae) client logs. Configurable freeze threshold.

Inputs: files (required), lastN, logDir, endTime, +4 more.

sym_video_healthB

Video pipeline health from Tracker (cs*), VCD, and history sender (hs*) logs. Modes: summary, events, cameras.

Inputs: mode, files, limit, logDir, +2 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 30 tools

    Disambiguation4/5

    Most tools map clearly to a distinct log source or diagnostic domain, and descriptions clarify modes and inputs. Some overlap remains among aggregate/wrapper tools such as sym_triage, sym_report, sym_health, and sym_farm, plus possible confusion between sym_search and sym_log_quality, but boundaries are mostly workable.

    Naming Consistency5/5

    All tools consistently use the sym_ prefix with snake_case naming and domain-oriented names. The pattern is highly predictable across the entire set.

    Tool Count3/5

    The 30-tool surface is heavy for a single MCP server, even though the log-diagnostics domain is broad. Many subsystem-specific tools are justified, but the count is borderline excessive and several could be consolidated behind shared modes.

    Completeness4/5

    Coverage is broad: errors, crashes, lifecycle, HTTP, UI freezes, DB health, event logs, video, storage, alarms, network, access control, farm analysis, and retention are all represented. Minor gaps likely remain around raw file retrieval, arbitrary time-range filtering, and exporting analysis results.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI-powered debugging through structured logging with pattern recognition and intelligent analysis. Allows applications to write structured logs and receive actionable debugging insights based on error patterns and frequency analysis.
      -
    • F
      license
      B
      quality
      C
      maintenance
      Enables AI-assisted analysis of log files through advanced searching, filtering, and test execution capabilities. Supports time-based queries, pattern matching, test summarization, and code coverage reporting directly within compatible MCP clients.
      12
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to analyze RTL simulation and synthesis logs through deterministic tools for compile-log summaries, signal tie-off safety checks, and regression result statistics.
      -