Symphony Log MCP Server
OfficialProvides tools for analyzing Symphony VMS log files and bug report packages, including automated triage, error fingerprinting and crash extraction, process/service health and lifecycle analysis, HTTP/RPC performance checks, video/storage/alarm/network/access-control diagnostics, permissions auditing, farm-wide multi-server analysis, authentication, database health, cameras, inter-server communication, and hardware events.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Symphony Log MCP Server Triage the latest bug report in D:\bugreports and tell me what's broken"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 buildConfiguration
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 |
| 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. |
| Automated first-pass diagnosis — runs health, error, lifecycle, and event log checks in parallel, returns prioritized findings |
| Bug report metadata, list log files, decode prefixes, hardware config (action: |
| Search for errors, text/regex patterns, count occurrences, or prove absence (mode: |
| Extract .NET exceptions or native C++ crash dumps (mode: |
| Service start/stop/restart events, process-level PID tracking, or log gap detection (mode: |
| Merge logs chronologically, trace RPC calls, or cluster pattern matches into temporal waves (mode: |
| Unified HTTP + RPC request analysis with slow-request detection (mode: |
| Detect UI thread freezes and deadlocks with multi-file support, configurable freeze threshold, and time filtering |
| Health dashboard or memory/CPU trends from sccp logs (mode: |
| Side-by-side diff of two log directories (errors, lifecycle, health, http, slow) |
| (Bug report only) Parse database table dumps (mode: |
| Video pipeline health: camera connect/disconnect, frame drops, codec errors, recording gaps (mode: |
| Disk/storage management: space warnings, retention, cleaner cycles (mode: |
| Alarm & event rule processing: triggers, notifications, rule failures (mode: |
| Network connectivity: timeouts, retries, connection refused, DNS (mode: |
| Access control integration: doors, credentials, sync, panel comms (mode: |
| (Bug report only) Resolve effective user permissions with full audit trail (mode: |
| (Bug report only) System diagnostics from supplementary files (mode: |
| (Bug report only) Parse Windows Event Log exports — crashes, driver failures, .NET runtime errors (mode: |
| Farm-wide analysis across multiple server log packages (mode: |
| Authentication and session events from IS logs (mode: |
| Database connectivity and health from IS logs — outages, SQL exceptions, pool exhaustion (mode: |
| Camera inventory and status from Tracker (cs*) logs (mode: |
| Inter-server communication from IS logs — heartbeats, connection failures, proxy errors (mode: |
| Hardware integration events — Advantech/ADAM, serial ports, IO modules (mode: |
Resources
The server exposes one MCP resource for AI callers:
Resource URI | Description |
| 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.jsContributing
Pull requests welcome! Please ensure code is well-documented and tested.
License
MIT
Available Tools
30 toolssym_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_searchA
Search logs for errors, text, or regex patterns. Modes: errors (deduplicated), pattern (text/regex), count (per-file totals), assert_absent (prove pattern missing), errors_by_prefix (batch all prefixes, no files needed).
Inputs: mode (required), files (required), limit, logDir, +9 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
Scored across 30 tools
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.
All tools consistently use the sym_ prefix with snake_case naming and domain-oriented names. The pattern is highly predictable across the entire set.
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.
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
Related MCP Connectors
Bug tracking for AI agents: session replay, console/network logs, repro packs, test plans, evidence.
Test analytics for AI agents: test history, flaky tests, failure clusters, coverage.
Investigate iOS and Android crashes and failed UI tests from your coding agent.
Errors, logs and AI-call costs for apps on Node.js, Next.js, Cloudflare Workers or the browser. Ask your AI what’s broken, why, and how to fix it, right inside Cursor or Claude.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables 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.-
- FlicenseBqualityCmaintenanceEnables 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-
- AlicenseAqualityDmaintenanceEnables AI assistants to analyze JVM thread dumps and GC logs, detecting deadlocks, lock contention, and GC pressure, without requiring a JVM runtime.738 npm2MIT
- FlicenseNot gradedqualityDmaintenanceEnables 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.-