MCP ScannerCustom audit
All servers

BentleySystems/openstaad-mcp

openstaad-mcp is an MCP Server enabling AI Agents to interact with STAAD.Pro

PublisherBentleySystems community
MCP Registryio.github.BentleySystems/openstaad-mcp
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 59Forks 16Last push 2026-11-14
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposure9.2Prompts10.0Supply chain5.5Secrets10.0Transparency10.0
Analysis confidence91%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure9.2/10Good

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain5.5/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 4 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there

Top risks in plain words

  • HIGHTool execute_code executes code by design: an agent steered by prompt injection can use it that way.
  • HIGH4 production dependencies have known vulnerabilities (worst: high).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Run it in a container or a virtual machine

    execute_code can start programs or run code they are given. Keep it away from your home folder, keys and other projects.

  • Turn off the tools you do not use

    Most MCP clients let you disable single tools. If you do not need execute_code, switch them off.

  • Update its vulnerable packages

    Use dnspython 2.9.2 or later, fastmcp 3.4.10 or later, fastmcp-slim 3.4.10 or later, opentelemetry-api 1.45.2 or later.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 5 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

None of the tools reaches any of these in the code the scanner could trace.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Tool annotations

5 of 5 tools declare annotations. readOnlyHint 4, destructiveHint 1, idempotentHint 2.

Each declaration matches what the traced code does.

Tools, prompts and resources (5: 5 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

execute_codetool Execute Python code in a sandbox against the OpenSTAAD API (don't forget to call discover_api and read_skills for API guidance).destructive (declared)Executes code
Execute Python code in a sandbox against the OpenSTAAD API (don't forget to call discover_api and read_skills for API guidance).

        The sandbox provides pre-connected ``staad`` (the OpenSTAAD root object) and ``input_data`` (if input_data_path is provided) variables (plus ``json``
        and ``math`` modules). `import` statements, `dir()`, `getattr()`, ... are **BLOCKED**.

        The last expression value or an explicit ``result = ...`` assignment is returned as the result.
        If ``output_data_path`` is provided, the sandbox will write the result to the specified file.

        Paths must be on the user LOCAL filesystem and inside MCP roots or configured `allowed_dirs`.
        On Claude Desktop, users can configure allowed directories in the extension settings and Claude can use the filesystem ``copy_file_to_claude``
        tool to move files to Claude's filesystem.

        Parameters
        ----------
        code: str
            Python source code to execute.  Use the pre-injected ``staad`` variable to interact with the API.
            (don't forget to call discover_api and read_skills for API guidance)
        instance: str
            Alias (from ``list_instances``, e.g. ``staadPro1``) of the STAAD instance to target. If omitted, last opened instance is selected.
        input_data_path: str, optional
            Path on user LOCAL filesystem to a ``.csv`` or ``.xlsx`` file. Its content is parsed and injected as ``input_data`` inside the sandbox.
            Use this to feed large datasets (e.g. node loads, section properties) into your code without hardcoding them.
            The shape is determined by the extension:
            - CSV -> list of row lists. When a header is detected, it is the first row:
                columns = input_data[0]
                for row in input_data[1:]:
                    print(row)
            - XLSX -> dict mapping every sheet to ``columns`` and ``rows`` lists:
                sheet = input_data["Sheet1"]
                columns = sheet["columns"]
                for row in sheet["rows"]:
                    print(row)
            The containers are mutable for normal Python compatibility, but are fresh for each execution; mutations do not change the source file or persist across executions.
        output_data_path: str, optional
            Path on user LOCAL filesystem to a ``.csv`` or ``.xlsx`` file where to write the ``result`` value.
            Use this to avoid flooding the context window with large amount of data.
            **Units rule:** every column holding a physical quantity MUST carry its unit inside the header cell as
            ``Name [unit]`` (e.g. ``"Fx [kN]"``, ``"UY [mm]"``).  Never emit a separate units row — the first row is
            the header and any row below it is data, so a units row is read back as a record and turns the whole
            column into text.  Take the unit string from ``Output.GetOutputUnitFor*`` and convert the value into it
            first (every result getter returns base units).  Leave ID/count/dimensionless columns unbracketed.
            Keep file headers plain single-line text — no ``<br>`` or newlines (that variant is for chat tables only).
            Put model-level context (model name, base unit system, load cases, date) on a separate ``"Info"`` sheet,
            never as banner rows above the header.  The ``result`` variable must be formatted as one of:
            - List-of-lists → written as CSV or single-sheet xlsx:
                result = [["Node ID", "X [m]", "Y [m]", "Z [m]"], [1, 0.0, 0.0, 0.0], ...]
            - Dict of sheet dicts → written as multi-sheet xlsx:
                result = {
                    "Nodes": {"columns": ["Node ID", "X [m]", "Y [m]", "Z [m]"],
                            "rows": [[1, 0.0, 0.0, 0.0], ...]},
                    "Reactions": {"columns": ["Node ID", "Load Case", "FX [kN]", "MZ [kN-m]"],
                                  "rows": [[1, 1, 12.5, 3.2], ...]}
                }
        overwrite: bool, optional
            Allow overwriting an existing output file.
discover_apitool Discover available API guidance and skills.read-only (declared)
Discover available API guidance and skills.

        Call this FIRST before using other openstaad-mcp tools.
        Then use ``read_skills`` with one or more specific skill names to load full guidance.
get_statustool Check the connection to a STAAD.Pro instance.read-only (declared)
Check the connection to a STAAD.Pro instance.

        Pass ``instance`` (alias from ``list_instances``) to target a
        specific instance.  Omit it when only one instance is running.

        Returns connection state, STAAD version, model path, and the
        directories ``execute_code`` may currently read/write
        (``allowed_dirs``) — call this again after the user reconfigures
        allowed directories, since the MCP server must be relaunched for
        that change to take effect and a stale in-context list will
        otherwise look correct.
list_instancestool List all running STAAD.Pro instances.read-only (declared)
List all running STAAD.Pro instances.

        Returns a list of instances with their alias, process ID, currently
        open file path, and STAAD version.  Call this before ``execute_code``
        when multiple STAAD instances may be running so you can pick the
        right one.  The ``alias`` (e.g. ``staadPro1``) is stable for the
        server session even if the model file changes.

        If a version is below the minimum supported (25.0.1), a ``warning``
        field is included with details about potential data inaccuracies.
read_skillstool Read one or more skills by name.read-only (declared)
Read one or more skills by name.

        Use ``discover_api`` first to list available skills.
        Each skill provides domain-specific guidance (e.g. analysis, geometry, loads).

        Pass skill names like ``["staad-analysis"]`` or sub-paths like
        ``["staad-steel-design/assets/DESIGN_CODES"]`` to read reference files
        within a skill.

        Parameters
        ----------
        skills: list[str]
            List of skill names or sub-paths to read.  Use ``discover_api`` to see available skills.

Text the model reads (5)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

discover_api tool
Discover available API guidance and skills.

        Call this FIRST before using other openstaad-mcp tools.
        Then use ``read_skills`` with one or more specific skill names to load full guidance.
read_skills tool
Read one or more skills by name.

        Use ``discover_api`` first to list available skills.
        Each skill provides domain-specific guidance (e.g. analysis, geometry, loads).

        Pass skill names like ``["staad-analysis"]`` or sub-paths like
        ``["staad-steel-design/assets/DESIGN_CODES"]`` to read reference files
        within a skill.

        Parameters
        ----------
        skills: list[str]
            List of skill names or sub-paths to read.  Use ``discover_api`` to see available skills.
list_instances tool
List all running STAAD.Pro instances.

        Returns a list of instances with their alias, process ID, currently
        open file path, and STAAD version.  Call this before ``execute_code``
        when multiple STAAD instances may be running so you can pick the
        right one.  The ``alias`` (e.g. ``staadPro1``) is stable for the
        server session even if the model file changes.

        If a version is below the minimum supported (25.0.1), a ``warning``
        field is included with details about potential data inaccuracies.
get_status tool
Check the connection to a STAAD.Pro instance.

        Pass ``instance`` (alias from ``list_instances``) to target a
        specific instance.  Omit it when only one instance is running.

        Returns connection state, STAAD version, model path, and the
        directories ``execute_code`` may currently read/write
        (``allowed_dirs``) — call this again after the user reconfigures
        allowed directories, since the MCP server must be relaunched for
        that change to take effect and a stale in-context list will
        otherwise look correct.
execute_code tool
Execute Python code in a sandbox against the OpenSTAAD API (don't forget to call discover_api and read_skills for API guidance).

        The sandbox provides pre-connected ``staad`` (the OpenSTAAD root object) and ``input_data`` (if input_data_path is provided) variables (plus ``json``
        and ``math`` modules). `import` statements, `dir()`, `getattr()`, ... are **BLOCKED**.

        The last expression value or an explicit ``result = ...`` assignment is returned as the result.
        If ``output_data_path`` is provided, the sandbox will write the result to the specified file.

        Paths must be on the user LOCAL filesystem and inside MCP roots or configured `allowed_dirs`.
        On Claude Desktop, users can configure allowed directories in the extension settings and Claude can use the filesystem ``copy_file_to_claude``
        tool to move files to Claude's filesystem.

        Parameters
        ----------
        code: str
            Python source code to execute.  Use the pre-injected ``staad`` variable to interact with the API.
            (don't forget to call discover_api and read_skills for API guidance)
        instance: str
            Alias (from ``list_instances``, e.g. ``staadPro1``) of the STAAD instance to target. If omitted, last opened instance is selected.
        input_data_path: str, optional
            Path on user LOCAL filesystem to a ``.csv`` or ``.xlsx`` file. Its content is parsed and injected as ``input_data`` inside the sandbox.
            Use this to feed large datasets (e.g. node loads, section properties) into your code without hardcoding them.
            The shape is determined by the extension:
            - CSV -> list of row lists. When a header is detected, it is the first row:
                columns = input_data[0]
                for row in input_data[1:]:
                    print(row)
            - XLSX -> dict mapping every sheet to ``columns`` and ``rows`` lists:
                sheet = input_data["Sheet1"]
                columns = sheet["columns"]
                for row in sheet["rows"]:
                    print(row)
            The containers are mutable for normal Python compatibility, but are fresh for each execution; mutations do not change the source file or persist across executions.
        output_data_path: str, optional
            Path on user LOCAL filesystem to a ``.csv`` or ``.xlsx`` file where to write the ``result`` value.
            Use this to avoid flooding the context window with large amount of data.
            **Units rule:** every column holding a physical quantity MUST carry its unit inside the header cell as
            ``Name [unit]`` (e.g. ``"Fx [kN]"``, ``"UY [mm]"``).  Never emit a separate units row — the first row is
            the header and any row below it is data, so a units row is read back as a record and turns the whole
            column into text.  Take the unit string from ``Output.GetOutputUnitFor*`` and convert the value into it
            first (every result getter returns base units).  Leave ID/count/dimensionless columns unbracketed.
            Keep file headers plain single-line text — no ``<br>`` or newlines (that variant is for chat tables only).
            Put model-level context (model name, base unit system, load cases, date) on a separate ``"Info"`` sheet,
            never as banner rows above the header.  The ``result`` variable must be formatted as one of:
            - List-of-lists → written as CSV or single-sheet xlsx:
                result = [["Node ID", "X [m]", "Y [m]", "Z [m]"], [1, 0.0, 0.0, 0.0], ...]
            - Dict of sheet dicts → written as multi-sheet xlsx:
                result = {
                    "Nodes": {"columns": ["Node ID", "X [m]", "Y [m]", "Z [m]"],
                            "rows": [[1, 0.0, 0.0, 0.0], ...]},
                    "Reactions": {"columns": ["Node ID", "Load Case", "FX [kN]", "MZ [kN-m]"],
                                  "rows": [[1, 1, 12.5, 3.2], ...]}
                }
        overwrite: bool, optional
            Allow overwriting an existing output file.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure9.2
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 5 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    1 finding the scanner could not decide; see the findings below
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 5 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 5 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 5 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 5 capabilities; 3 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 5 capabilities; 3 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 5 capabilities; 3 more call code the scanner could not follow, where it may happen
Where the code is: 5 handlers in 1 file at commit 9910fefde171
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain5.5
  • Dependency manifests
    1 manifest: pyproject.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies HIGH
    4 production packages with known advisories
  • Known vulnerabilities in other dependencies
    1 package with advisories used only for development, tests or examples; an install of the server leaves them out
  • MCP SDK version
    fastmcp >=3.2.3,<4
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 5 capabilities; 3 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (4 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
dnspythonPyPI 2.9.0 HIGH 1 advisory 2.9.2
fastmcpPyPI 3.4.9 MEDIUM 1 advisory 3.4.104.1.2
  • MEDIUMGHSA-7xgj-8392-5q4rFastMCP: Post-transform component authorization is skipped on direct calls
fastmcp-slimPyPI 3.4.9 MEDIUM 1 advisory 3.4.104.1.2
  • MEDIUMGHSA-7xgj-8392-5q4rFastMCP: Post-transform component authorization is skipped on direct calls
opentelemetry-apiPyPI 1.45.1 MEDIUM 1 advisory 1.45.2
  • MEDIUMGHSA-mf5v-w3w3-f6cg CVE-2026-126360OpenTelemetry Python API: Denial of service through quadratic-time traceparent parsing
1 vulnerable package outside the server itself (used only for development, tests or examples, not shipped)
PackageInstalledWorstAdvisoriesFixed in
setuptoolsPyPI 84.0.0 LOW 1 advisory 84.1.0
  • LOWGHSA-xmj3-9gf7-h52wsetuptools: Windows path escape via namespace_packages.txt during legacy wheel installation Description

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
TransportStreamable HTTP, stdio
Sign-innot checked needs the live server
MCP SDKfastmcp >=3.2.3,<4
Servers in the code1 (OpenSTAAD MCP)

The project's own security

Security policyyes SECURITY.md
Private reportingthe policy does not name a private channel
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-14
Signed releasesnot checked yet

Where it is published

MCP Registryio.github.BentleySystems/openstaad-mcp
Listed in4 catalogs (github_search, glama, mcp_registry, mcp_toplist)
LicenseMIT
Created2026-04-13

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.