Skip to main content
Glama
getanirao

SimScale Edge MCP

by getanirao

SimScale Edge MCP

An MCP server that navigates the SimScale Workbench through Microsoft Edge and Playwright. It does not use the enterprise SimScale API.

The recommended mode attaches to your normal, already signed-in Edge profile. Remote debugging must be enabled from Edge's built-in edge://inspect page. The fallback mode opens a separate MCP-managed profile.

Requirements

  • Node.js 20 or newer

  • Microsoft Edge

  • A SimScale account

Related MCP server: Playwright Server MCP

Install

npm install

Playwright Core drives the copy of Microsoft Edge already installed on Windows; it does not download a separate browser.

Start the host broker

Codex's command sandbox can prevent a stdio MCP child from completing Edge's DevTools WebSocket upgrade. Start the loopback-only host broker from a normal PowerShell window before opening Codex:

powershell -ExecutionPolicy Bypass -File .\scripts\start-simscale-host.ps1

The broker listens only on 127.0.0.1:43127. Stop it when finished with:

powershell -ExecutionPolicy Bypass -File .\scripts\stop-simscale-host.ps1

Connect an MCP host

Use the broker's Streamable HTTP endpoint:

{
  "mcpServers": {
    "simscale": {
      "url": "http://127.0.0.1:43127/mcp"
    }
  }
}

The launcher sets SIMSCALE_FILE_ROOT to this project directory. It restricts which local files the MCP may upload and is also where result downloads are saved. Change that assignment in scripts/start-simscale-host.ps1 if your CAD files live elsewhere.

Optional environment variables:

Variable

Default

Purpose

SIMSCALE_FILE_ROOT

MCP working directory

Allowed upload/download root

SIMSCALE_EDGE_USER_DATA_DIR

unset

Discover a debugging-enabled Edge instance

SIMSCALE_EDGE_CDP_URL

unset

Advanced fixed-port attachment override

SIMSCALE_EDGE_CONNECT_TIMEOUT_MS

30000

Edge attachment timeout, from 5 to 120 seconds

SIMSCALE_EDGE_PROFILE_DIR

%LOCALAPPDATA%\SimScaleMCP\edge-profile

Persistent Edge profile

SIMSCALE_EDGE_CHANNEL

msedge

Playwright browser channel

SIMSCALE_DASHBOARD_URL

SimScale My Projects

Initial page

SIMSCALE_ALLOW_CSS_SELECTORS

unset

Set to enable advanced CSS targets

Use your already signed-in Edge profile

Run the helper to open Edge's supported remote-debugging settings:

powershell -ExecutionPolicy Bypass -File .\scripts\start-edge-debug.ps1

On the Remote debugging page, enable Allow remote debugging for this browser instance. Set SIMSCALE_EDGE_USER_DATA_DIR to Edge's user-data directory (normally %LOCALAPPDATA%\Microsoft\Edge\User Data). The MCP reads only Edge's DevToolsActivePort handshake file, attaches to that Edge instance, and opens or reuses a SimScale tab. It does not read cookies or profile files and will not close your personal Edge browser.

If an MCP process is forcibly stopped while attached, toggle remote debugging off and on before reconnecting. Restart the MCP host after changing its server registration or updating this server's code so it launches a fresh process.

Remote debugging gives local software control over browser tabs. Edge binds its debugging endpoint locally, and this MCP restricts its navigation to HTTPS SimScale domains. Turn remote debugging off when finished.

First MCP use

  1. Call simscale_edge_start.

  2. Call simscale_edge_status and verify connectionMode is attached and signedIn is true.

  3. Call simscale_select_page with the expected SimScale project_id. The MCP pins that project and prefers its Workbench tab over Dashboard tabs.

  4. Call simscale_wait_for_workbench_ready, then simscale_page_state before each interaction. Use container, text_filter, offset, and max_items to retrieve the relevant slice of a large Workbench tree.

  5. Prefer the returned element_id, followed by test_id, role/name, or label with simscale_click, simscale_fill, simscale_select, and simscale_press.

  6. Pass the pinned project as expected_project_id on every navigation or UI-changing tool. The MCP rejects missing or mismatched project IDs before interacting.

Action tools optionally accept expect_text, expect_url, expect_value, and expect_timeout_ms. Their results include the current project, simulation, and run identity so callers can verify that the intended Workbench state remained active.

For CAD uploads, point SIMSCALE_FILE_ROOT at the CAD folder and use simscale_upload_file with confirm_upload: true. Starting a mesh or simulation run, saving, creating, deleting, or other state-changing clicks require confirm_action: true.

Available tools

  • simscale_edge_start, simscale_edge_status, simscale_edge_close

  • simscale_edge_diagnostics

  • simscale_select_page, simscale_wait_for_workbench_ready

  • simscale_page_state, simscale_screenshot, simscale_navigate

  • simscale_click, simscale_fill, simscale_press, simscale_select

  • simscale_upload_file, simscale_download

  • simscale_wait_for_text

The tools are deliberately semantic instead of hard-coding SimScale's current DOM structure. The agent reads the live interface and targets visible, accessible labels, which makes the MCP more resilient to Workbench updates.

Test

npm test

Tests do not launch Edge or access SimScale.

Safety

  • Password fields cannot be filled or read through MCP.

  • Cookies, browser storage, and saved credentials are never exposed.

  • CDP attachment is restricted to explicit HTTP or WebSocket loopback ports.

  • Navigation is restricted to HTTPS SimScale domains.

  • Project pages can be pinned, and UI-changing tools require a matching expected_project_id.

  • Uploads are restricted to SIMSCALE_FILE_ROOT and require confirmation.

  • Downloads require confirmation and go to simscale-downloads.

  • Mutating, destructive, and compute-related clicks require confirmation.

  • Attached mode never closes the user's personal Edge browser.

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    Not graded
    maintenance
    A MCP server that provides browser automation tools, allowing users to navigate websites, take screenshots, click elements, fill forms, and execute JavaScript through Playwright.
    8
    2
  • A
    license
    B
    quality
    D
    maintenance
    A browser automation server providing Playwright capabilities for controlling web browsers, capturing screenshots, extracting content, and performing complex interactions through an MCP interface.
    6
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI-powered browser automation, web scraping, and testing using Playwright across Chromium, Firefox, and WebKit. It allows users to perform actions like navigation, clicking, typing, and taking screenshots through natural language interfaces.
    10
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for Appcircle mobile CI/CD platform.

  • MCP server for AI access to Swagger by SmartBear.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

View all MCP Connectors

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/getanirao/SimscaleMCP'

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