Skip to main content
Glama
inscada-app

@inscada/mcp-server

Official
by inscada-app

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
INSCADA_URLYesThe URL of the inSCADA server
INSCADA_PASSWORDYesPassword for authentication
INSCADA_USERNAMEYesUsername for authentication

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
set_spaceA

Switch the active space. Updates the X-Space header sent with all API requests. Use this before accessing data in a different space.

list_spacesA

List all inSCADA spaces. Spaces are the top level of the hierarchy.

list_projectsA

List projects under a space. Returns project ID, name, description, and location.

list_variablesA

List all SCADA variables (tags/points) in a project. Returns ALL variables — use search_variables instead when you need to filter by name or description.

search_variablesA

Search SCADA variables by name, description, type, connection, device, or frame. Uses server-side filtering — much faster and lighter than listing all variables. Use this when user asks to find or filter variables.

list_scriptsA

List scripts in a project. Returns script ID, name, description, schedule type. Code content is not included.

get_scriptA

Get full script code and details. Returns code, schedule config, owner, and history.

update_scriptA

Update script code. Read with get_script first. Call inscada_guide for full script rules and ins.* API reference.

CRITICAL RULES (always apply):

  • Nashorn ECMAScript 5 ONLY. DO NOT USE: let, const, =>, template literals, destructuring, async/await, class.

  • STRUCTURE: function main() { /* code */ } main();

  • Historical date: dttm is ISO string, NOT epoch. new Date(isoString) returns NaN in Nashorn. Use: ("" + items[i].dttm).substring(11, 19)

  • Logged data is reverse-ordered (newest first) → use reverse loop for charts.

list_connectionsA

List connections in a project. With include_status=true, also returns connection status (Connected/Disconnected).

search_in_scriptsA

Search for text within all script code. Returns matching scripts with line numbers.

list_animationsA

List animations in a project. Lightweight — SVG content not included.

get_animationA

Get animation details, elements, and linked scripts.

inscada_get_live_valueA

Read the LIVE (real-time, current) value of a single SCADA variable. MUST use this tool when user asks for current/live/real-time value. Returns value, timestamp, and variable info. project_id is optional (auto-detected if omitted).

inscada_get_live_valuesA

Read LIVE (real-time, current) values of multiple SCADA variables in one call. MUST use this for batch live value queries. Returns {varName: {value, date}} map. project_id is optional (auto-detected if omitted).

inscada_set_valueA

Write a value to a SCADA variable. WARNING: Sends commands to real equipment.

inscada_get_fired_alarmsA

List active (fired) alarms. Returns alarm name, status, trigger time, description.

inscada_connection_statusA

Check connection status (Connected/Disconnected) for given connection IDs.

inscada_project_statusA

Check project runtime status: scripts, connections, alarm groups, data transfers, reports.

inscada_run_scriptA

Execute a script on the inSCADA server. Returns the script's return value.

inscada_script_statusA

Check script execution status (Not Scheduled, Running, etc.).

inscada_logged_valuesA

Fetch historical logged data for variables (time series). Returns [{value, dttm, name, projectId}].

inscada_logged_statsA

Get variable statistics (min, max, avg, sum, count, first, last) over a time range. Supports hourly or daily grouping.

chart_lineA

Generate a time-series line chart. Fetches historical data from REST API automatically.

chart_barB

Generate a bar chart for variable comparison (statistics). Supports mean, max, min, sum, count aggregation.

chart_gaugeA

Display a live gauge indicator. With auto_refresh=true (default), updates every 2 seconds from REST API. Use this for real-time gauge display instead of inscada_get_live_value.

chart_multiA

Plot multiple data series on the same chart. Useful for comparing different variables.

chart_forecastA

Generate historical + forecast chart. Historical as solid line, forecast as dashed line. Analyze data first, then generate forecast_values.

list_custom_menusA

List custom menus (3-level hierarchy). Returns menu ID, name, icon, position.

get_custom_menuA

Get custom menu details and HTML content by ID.

get_custom_menu_by_nameA

Find and get custom menu details by name (exact match).

create_custom_menuA

Create a custom menu page. USE TEMPLATES (gauge/line_chart/gauge_and_chart/multi_chart) when possible — no content needed with templates.

update_custom_menuA

Update an existing custom menu. Read with get_custom_menu first. Can use templates to regenerate content.

delete_custom_menuB

Delete a custom menu by ID.

export_excelB

Export data to Excel (.xlsx) file. Supports multiple sheets. Returns a download link.

inscada_api_endpointsA

Discover inSCADA REST API endpoints. Search/filter among 625 endpoints by keyword, category, or HTTP method.

inscada_api_schemaA

Get parameter and body schema for an API endpoint. Use before calling inscada_api to know required parameters.

inscada_apiA

Send generic HTTP request to inSCADA REST API. Access any /api/ endpoint. Non-GET requests require user confirmation. Use dedicated tools (inscada_get_live_value, list_variables, etc.) when available — only use this for endpoints without a dedicated tool. Call inscada_guide for animation creation rules, element types, and SVG requirements.

Key rules:

  • Frame variables: 2-step. (1) POST /api/variables/filter/pages body:{projectId,frameId} → var list, (2) inscada_get_live_values → values.

  • SVG REQUIRED: must include style="width:100%;height:100%;" viewBox="0 0 1920 1080" width="1920" height="1080".

  • Animation props must never be null (at least "{}"). SVG ids = domId.

inscada_guideA

IMPORTANT: Call this tool FIRST before using any other inSCADA tool in a new conversation. Returns comprehensive usage guide including: Nashorn script rules (ECMAScript 5), ins.* API reference (30+ methods), animation element types (27 types), chart rules, custom menu rules, live value endpoints, tool priorities, and best practices. Without this guide you will make errors.

inscada_animation_guideA

Returns detailed animation element rules: expression return types, dynamic props via return objects, SVG structure requirements, and element-specific examples. Call this BEFORE creating or modifying animations. The main inscada_guide gives a summary — this tool gives the full animation reference.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/inscada-app/ins-mcp-desktop-extension'

If you have feedback or need assistance with the MCP directory API, please join our Discord server