Skip to main content
Glama
BentleySystems

OpenSTAAD MCP Server

Official

OpenSTAAD MCP Server

A Model Context Protocol (MCP) server for Bentley STAAD.Pro that enables AI agents like Claude Desktop, Gemini, or VSCode Copilot to interact with your STAAD.Pro models and perform various time-consuming tasks like load cases definition, data extraction, repetitive property setting and more.

This MCP server was introduced as part of Bentley's Infrastructure AI Co-Innovation Initiative to help our users and accounts discover opportunities and innovate faster, while connecting Bentley's unique engineering tool capabilities to their emerging agentic workflows.

Key Features

  • Fast and flexible: Enjoy minimal latency, interact with every STAAD.Pro features covered by the OpenSTAAD API.

  • AI-friendly: Provides documentation, guidance and feedback via dedicated tools to help your AI agent ramp up quickly on the STAAD.Pro API.

  • Multi-instance support: Connects to multiple running STAAD.Pro instances simultaneously to parallelize tasks across models.

  • Privacy-first: All processing happens locally on your machine. No data is sent to the cloud. No telemetry.

Related MCP server: ETABS MCP Server

Prerequisites

  • OS: Windows 11 or newer

  • STAAD.Pro 2025 or newer installed and running

Quick Start with Claude Desktop (<2min)

  1. Download the latest openstaad-mcp.mcpb file from the GitHub Releases page.

  2. Open Claude Desktop.

  3. Click the ☰ menu (top-left) → File → Settings → Extensions.

  4. Click Advanced → Install Extensions.

  5. Select the downloaded .mcpb file.

  6. Click the ☰ menu (top-left) → File → Exit

  7. Restart Claude Desktop.

Claude Desktop will install the server automatically. Open a new conversation and ask Claude to interact with your STAAD.Pro model.

Tip: Make sure STAAD.Pro is running with a model open before you start chatting.


Other Clients & Configuration

TL;DR:

If not already installed, install uv with the command:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Configure your client to start the server in stdio mode with the command:

uvx --from git+https://github.com/BentleySystems/openstaad-mcp openstaad-mcp

VS Code with GitHub Copilot

  • For stdio: Open the Command Palette → MCP: Add Server... → Command (stdio) and enter the following command:

    uvx --from git+https://github.com/BentleySystems/openstaad-mcp openstaad-mcp
  • For http: First, start the server in a terminal:

    uvx --from git+https://github.com/BentleySystems/openstaad-mcp openstaad-mcp --transport http

    Look for the generated token and URL in the terminal output. It should look like this:

    WARNING: No --token provided. Auto-generated token: abc123def456ghi789jkl012mno345pq
    INFO:  Starting MCP server 'OpenSTAAD MCP' with transport 'http' (stateless) on http://127.0.0.1:18120/mcp

    Then, in VS Code, open the Command Palette → MCP: Add Server... → HTTP URL and enter the URL shown in the terminal (e.g. http://127.0.0.1:18120/mcp). 18120 is the default port, but yours may differ if you have multiple instances running or if you changed the default. Add the header Authorization: Bearer <token> with the token shown in the MCP server terminal.

GitHub Copilot CLI

Use the /mcp add command inside a Copilot CLI session to add the server. See the Copilot CLI documentation for more details.

  • For stdio transport, use the command:

    uvx --from git+https://github.com/BentleySystems/openstaad-mcp openstaad-mcp
  • For HTTP transport, first start the server in a terminal:

    uvx --from git+https://github.com/BentleySystems/openstaad-mcp openstaad-mcp --transport http

    Look for the generated token and URL in the terminal output. It should look like this:

    WARNING: No --token provided. Auto-generated token: abc123def456ghi789jkl012mno345pq
    INFO:  Starting MCP server 'OpenSTAAD MCP' with transport 'http' (stateless) on http://127.0.0.1:18120/mcp

    Then add the server in Copilot CLI using the URL shown in the terminal (e.g. http://127.0.0.1:18120/mcp). 18120 is the default port, but yours may differ if you have multiple instances running or if you changed the default. Add the header Authorization: Bearer <token> with the token shown in the MCP server terminal.

Claude Desktop (manual configuration)

If you prefer manual setup over the .mcpb bundle, edit the Claude Desktop config file directly:

  • Windows (MSIX): %LOCALAPPDATA%\Packages\Claude_<id>\LocalCache\Roaming\Claude\claude_desktop_config.json

  • Windows (classic): %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "openstaad": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/BentleySystems/openstaad-mcp", "openstaad-mcp"]
    }
  }
}

Claude Code (CLI)

  • For stdio transport, use the command:

    claude mcp add --transport stdio openstaad -- uvx --from git+https://github.com/BentleySystems/openstaad-mcp openstaad-mcp
  • For HTTP transport, first start the server in a terminal:

    uvx --from git+https://github.com/BentleySystems/openstaad-mcp openstaad-mcp --transport http

    Look for the generated token and URL in the terminal output. It should look like this:

    WARNING: No --token provided. Auto-generated token: abc123def456ghi789jkl012mno345pq
    INFO:  Starting MCP server 'OpenSTAAD MCP' with transport 'http' (stateless) on http://127.0.0.1:18120/mcp

    Then add the server in Claude Code with the command:

    claude mcp add --transport http openstaad http://127.0.0.1:18120/mcp --header "Authorization: Bearer <your-token>"

    18120 is the default port, but yours may differ if you have multiple instances running or if you changed the default.

Gemini CLI

  • For stdio transport, use the command:

    gemini mcp add openstaad uvx --from git+https://github.com/BentleySystems/openstaad-mcp openstaad-mcp
  • For HTTP transport, first start the server in a terminal:

    uvx --from git+https://github.com/BentleySystems/openstaad-mcp openstaad-mcp --transport http

    Look for the generated token and URL in the terminal output. It should look like this:

    WARNING: No --token provided. Auto-generated token: abc123def456ghi789jkl012mno345pq
    INFO:  Starting MCP server 'OpenSTAAD MCP' with transport 'http' (stateless) on http://127.0.0.1:18120/mcp

    Then add the server in Gemini CLI with the command:

    gemini mcp add --transport http --header "Authorization: Bearer <your-token>" openstaad http://127.0.0.1:18120/mcp

    18120 is the default port, but yours may differ if you have multiple instances running or if you changed the default.

Transport Modes

The server supports two transport modes:

Mode

When to use

stdio (default)

The MCP client launches the server process directly. Used by Claude Desktop, Claude Code, VS Code Copilot (stdio config).

HTTP

The server runs persistently and clients connect over the network.

CLI Options

Flag

Default

Description

--transport {stdio,http}

stdio

Transport mode

--log-level LEVEL

INFO

DEBUG, INFO, WARNING, or ERROR

--log-file PATH

OS default

Path to log file

--port PORT

18120

[http] TCP port to listen on

--token TOKEN

-

[http] Bearer token for authentication


Available MCP Tools

Tool

Description

discover_api

Lists available API skills and usage guidance

read_skills

Returns detailed guidance for requested skills

list_instances

Lists active STAAD.Pro instances with model paths and versions

execute_code

Runs validated Python code against the connected STAAD.Pro model

get_status

Returns connection state, STAAD version, model path, analysis status

File I/O

The execute_code tool supports optional server-side file I/O for bulk data workflows. Instead of passing large datasets through the agent's context window, the server reads/writes CSV and XLSX files directly and injects the data into the sandbox as the input_data variable.

Parameter

Description

input_data_path

Path to a .csv or .xlsx file. The server reads and parses it, then injects as the input_data variable in the sandbox.

output_data_path

Path where the sandbox return value will be written. The return value must be a list-of-lists (CSV) or a {sheet_name: {columns, rows}} dict (multi-sheet XLSX).

overwrite

Allow overwriting an existing output file (default false).

input_data has a stable, extension-specific shape:

  • CSV: a list of row lists. If a header is detected, it is input_data[0] and data rows start at input_data[1:].

  • XLSX: a dict: {sheet_name: {"columns": list, "rows": list_of_rows}}.

Path containment: File paths must resolve inside a configured allowed boundary before any read/write occurs. The server supports both client-configured MCP roots and server-configured allowed directories (via --allowed-dirs or user_config.allowed_directories in the manifest). The server validates paths against these boundaries before any file access.

Limits: Max file size 50 MB, max 100K rows, max 500 columns, max 50 input sheets.

Security Notes

  • Bearer token authentication. Pass --token MY_SECRET_TOKEN when running in HTTP mode and include Authorization: Bearer <token> in client requests.

  • DNS rebinding protection. Starlette Middlewares validate Host, Sec-Fetch-Site and Origin headers.

  • Code sandbox. The execute_code tool validates all Python code via AST analysis before execution. Imports, file access, and dangerous builtins are blocked.

Privacy Policy

Please find the Bentley Systems privacy policy here.


Development Setup

1. Clone the repository

git clone https://github.com/BentleySystems/openstaad-mcp.git
cd openstaad-mcp

2. Create a virtual environment

python -m venv .venv

# Windows (PowerShell)
.\.venv\Scripts\Activate.ps1

# Windows (cmd)
.venv\Scripts\activate.bat

3. Install in editable mode with dev dependencies

pip install -e ".[dev]"

4. Run the server from source

# stdio mode (default)
openstaad-mcp

# HTTP mode
openstaad-mcp --transport http

5. Run tests

# All unit tests (no STAAD.Pro needed)
pytest

# Specific test files
pytest tests/test_skills.py tests/test_connection.py -v

# Integration tests (requires a running STAAD.Pro instance on Windows)
pytest -m integration -v

6. Lint

ruff check .
ruff format --check .

7. Building the MCPB Bundler

  1. To produce the standalone .exe files distributed via the installer:

pip install -e ".[build]"
pyinstaller mcpb/openstaad-mcp.spec --noconfirm

This creates one file in the dist/ directory:

  • openstaad-mcp.exe: console executable (stdio & http transport)

  1. To create the .mcpb installer bundle, run:

npm install -g @anthropic-ai/mcpb
New-Item -ItemType Directory -Path mcpb-staging -Force
Copy-Item dist/openstaad-mcp.exe mcpb-staging/

$version = (Select-String -Path pyproject.toml -Pattern '^version\s*=\s*"(.+)"$').Matches[0].Groups[1].Value
$manifest = Get-Content mcpb/manifest.json -Raw | ConvertFrom-Json
$manifest.version = $version
$manifest | ConvertTo-Json -Depth 10 | Set-Content mcpb-staging/manifest.json -Encoding utf8

mcpb pack mcpb-staging/ openstaad-mcp.mcpb

The output MCPB bundle is written to .\openstaad-mcp.mcpb.

Contributing

See CONTRIBUTING.md for guidelines on setting up your development environment, branch naming, running tests, and submitting pull requests.

Available Tools

5 tools
discover_apiDiscover API and skillsA
Read-onlyIdempotent

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint and idempotentHint, so the tool is known to be safe. The description adds the behavioral directive to call it first, providing context beyond structured annotations. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no wasted words, front-loaded with purpose and immediately providing actionable usage guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema available and zero parameters, the description fully covers the tool's purpose and usage, making it complete for an agent to select and invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the description has no parameter semantics to cover. The baseline of 4 applies as there is nothing to clarify.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific action ('Discover') and resource ('available API guidance and skills'), distinguishing it from sibling tools like read_skills (which loads guidance) and list_instances (which lists instances).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs 'Call this FIRST before using other openstaad-mcp tools' and directs to 'read_skills' for loading full guidance, providing clear when-to-use and an alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

execute_codeExecute Python codeA
Destructive

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
codeYesPython 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)
instanceNoAlias (from ``list_instances``, e.g. ``staadPro1``) of the STAAD instance to target. If omitted, last opened instance is selected.
overwriteNoAllow overwriting an existing output file.
input_data_pathNoPath 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_pathNoPath 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], ...]} }

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=false, idempotentHint=false, so the safety profile is covered. The description adds substantial value beyond annotations: import/dir()/getattr() are BLOCKED, pre-injected variables (staad, input_data, json, math), result return semantics, overwrite behavior via output_data_path, and path locality constraints. It doesn't connect to the annotations directly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very long and dense, especially the output_data_path rules which read like a formatting spec rather than tool guidance. Front-loads the core purpose well but the units/header/sheet rules are excessively verbose for a description field and would be better in a docs resource. Every sentence is useful but the size is disproportionate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers execution environment constraints, injected variables, results handling, output writing, and path locality. Output schema exists, so return shape explanation is optional. Missing: explicit statement that this is destructive (surfaced only via annotations), and what 'against' the API means in practice (does it need a connected instance?).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all five parameters are documented in the schema. The description mentions input_data/output_data_path behavior at a high level but the deep formatting rules (units, header rules, result shapes) are duplicated in the schema descriptions. Baseline 3 is appropriate since the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Strong verb+resource ('Execute Python code in a sandbox against the OpenSTAAD API'), specific target identified. Not differentiated from siblings in the description, but the sibling names (discover_api, read_skills) are referenced as prerequisites which implicitly distinguishes the role. Loses a point for lacking explicit sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs to call discover_api and read_skills for API guidance before/while using this tool. It names the alternative tools to consult. However, it doesn't state when NOT to use this (e.g. versus a direct filesystem or other execution path) and doesn't define conditions or sequencing beyond the reminder.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_statusGet STAAD.Pro instance statusA
Read-only

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
instanceNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered. The description adds genuinely new behavioral context: that the MCP server must be relaunched for allowed-directory changes to take effect, so a cached allowed_dirs list can silently look correct and must be refreshed by calling this tool again.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, then parameter guidance, then return/refresh caveats — good ordering. The final sentence about the relaunch requirement is long but earns its place by preventing a stale-read mistake; slightly verbose but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not enumerate return values, yet it still highlights the key fields (connection state, STAAD version, model path, allowed_dirs) and the refresh caveat. Given one optional param and full annotation coverage, nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden for the single optional parameter. It fully explains it: it is an alias obtained from list_instances, used to target a specific instance, and should be omitted when only one instance is running — more than the schema's bare anyOf/null/default conveys.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Check the connection to a STAAD.Pro instance') and clearly differentiates itself from siblings like list_instances and execute_code. An agent can tell at a glance this is a status/diagnostic call rather than a discovery or execution call.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly describes when to pass the instance alias vs. omit it ('Omit it when only one instance is running') and when to re-call ('after the user reconfigures allowed directories'). It references list_instances as the source of the alias, though it does not frame an explicit 'use X instead of this' alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_instancesList running STAAD.Pro instancesA
Read-only

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, but the description adds valuable behavioral context: the alias is stable across model file changes, and a warning field appears for versions below 25.0.1. These details go beyond what annotations provide and help the agent anticipate edge cases.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, front-loaded with the core purpose, and uses a short second paragraph for usage and conditional behavior. Every sentence contributes useful information, making it appropriately sized and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (0 params), rich output schema, and strong annotations, the description covers the essential aspects: what it lists, when to use it, and a notable behavior (version warning). No important gaps are evident.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the input schema is empty. The baseline for 0 params is 4. The description reinforces 'all instances' and the return fields, but since there are no parameters to explain, it cannot add more parameter-specific meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'List all running STAAD.Pro instances.' It clearly states the tool's function and distinguishes it from siblings by mentioning the returned fields (alias, process ID, file path, version) and its role as a precursor to execute_code.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says 'Call this before execute_code when multiple STAAD instances may be running so you can pick the right one.' This gives a clear when-to-use directive and a rationale, which is more than the minimal context needed for a simple listing tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

read_skillsRead OpenSTAAD skillsA
Read-onlyIdempotent

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
skillsYesList of skill names or sub-paths to read. Use ``discover_api`` to see available skills.

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already provide readOnlyHint=true and idempotentHint=true, so the description doesn't need to restate safety. It adds useful behavior context by mentioning sub-paths like 'staad-steel-design/assets/DESIGN_CODES' to read reference files, and explains skills provide domain-specific guidance.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded: the first sentence states the primary purpose, followed by prerequisite guidance and examples. No redundant or filler content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool with a single parameter and an output schema, the description fully covers how to use it: what it reads, how to discover available skills, and how to pass names or sub-paths. The output schema handles return values, so no additional explanation is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema covers 100% of the parameter description, but the description adds concrete examples ('["staad-analysis"]' and sub-paths) and clarifies that sub-paths read reference files within a skill. This goes beyond the schema's generic 'List of skill names or sub-paths'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool reads one or more skills by name, with the verb 'read' and resource 'skills'. It also distinguishes from sibling tools like discover_api (lists skills) by describing the sub-path capability for reading reference files.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly instructs to 'Use discover_api first to list available skills', providing a clear prerequisite and context. It doesn't explicitly state when not to use this tool, but the read-only nature and examples suggest it is for accessing skill content, not for executing commands.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 1 tool updatev1.3.0
    • Changedexecute_code2 fields changed
      • changedInput schema / properties / input_data_path / description
        Previous value: -"Path on user LOCAL filesystem to a ``.csv`` or ``.xlsx`` file. Its content is injected as the immutable `input_data` variable inside the sandbox.\nUse this to feed large datasets (e.g. node loads, section properties) into your code without hardcoding them."New value: +"Path on user LOCAL filesystem to a ``.csv`` or ``.xlsx`` file. Its content is parsed and injected as ``input_data`` inside the sandbox.\nUse this to feed large datasets (e.g. node loads, section properties) into your code without hardcoding them.\nThe shape is determined by the extension:\n- CSV -> list of row lists. When a header is detected, it is the first row:\n    columns = input_data[0]\n    for row in input_data[1:]:\n        print(row)\n- XLSX -> dict mapping every sheet to ``columns`` and ``rows`` lists:\n    sheet = input_data[\"Sheet1\"]\n    columns = sheet[\"columns\"]\n    for row in sheet[\"rows\"]:\n        print(row)\nThe containers are mutable for normal Python compatibility, but are fresh for each execution; mutations do not change the source file or persist across executions."
      • changedInput schema / properties / output_data_path / description
        Previous value: -"Path on user LOCAL filesystem to a ``.csv`` or ``.xlsx`` file where to write the ``result`` value.\nUse this to avoid flooding the context window with large amount of data. The ``result`` variable must be formatted as one of:\n- List-of-lists → written as CSV or single-sheet xlsx:\n    result = [[\"Node ID\", \"X\", \"Y\", \"Z\"], [1, 0.0, 0.0, 0.0], ...]\n- Dict of sheet dicts → written as multi-sheet xlsx:\n    result = {\n        \"Nodes\": {\"columns\": [\"Node ID\", \"X\", \"Y\", \"Z\"],\n                \"rows\": [[1, 0.0, 0.0, 0.0], ...]},\n        \"Members\": {\"columns\": [\"Member ID\", \"Start\", \"End\"],\n                    \"rows\": [[1, 1, 2], ...]}\n    }"New value: +"Path on user LOCAL filesystem to a ``.csv`` or ``.xlsx`` file where to write the ``result`` value.\nUse this to avoid flooding the context window with large amount of data.\n**Units rule:** every column holding a physical quantity MUST carry its unit inside the header cell as\n``Name [unit]`` (e.g. ``\"Fx [kN]\"``, ``\"UY [mm]\"``).  Never emit a separate units row — the first row is\nthe header and any row below it is data, so a units row is read back as a record and turns the whole\ncolumn into text.  Take the unit string from ``Output.GetOutputUnitFor*`` and convert the value into it\nfirst (every result getter returns base units).  Leave ID/count/dimensionless columns unbracketed.\nKeep file headers plain single-line text — no ``<br>`` or newlines (that variant is for chat tables only).\nPut model-level context (model name, base unit system, load cases, date) on a separate ``\"Info\"`` sheet,\nnever as banner rows above the header.  The ``result`` variable must be formatted as one of:\n- List-of-lists → written as CSV or single-sheet xlsx:\n    result = [[\"Node ID\", \"X [m]\", \"Y [m]\", \"Z [m]\"], [1, 0.0, 0.0, 0.0], ...]\n- Dict of sheet dicts → written as multi-sheet xlsx:\n    result = {\n        \"Nodes\": {\"columns\": [\"Node ID\", \"X [m]\", \"Y [m]\", \"Z [m]\"],\n                \"rows\": [[1, 0.0, 0.0, 0.0], ...]},\n        \"Reactions\": {\"columns\": [\"Node ID\", \"Load Case\", \"FX [kN]\", \"MZ [kN-m]\"],\n                      \"rows\": [[1, 1, 12.5, 3.2], ...]}\n    }"
  2. 5 tool updatesv1.2.0
    • First observeddiscover_api
    • First observedexecute_code
    • First observedget_status
    • First observedlist_instances
    • First observedread_skills

TDQS

A4.4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct role: discovery/guidance (discover_api, read_skills), instance/connection inspection (get_status, list_instances), and execution (execute_code). Although get_status and list_instances both report version/path details, their core purposes—checking a specific connection vs. enumerating running instances—are clearly differentiated by the descriptions.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: discover_api, get_status, execute_code, list_instances, read_skills. There are no deviations in style or casing.

Tool Count5/5

Five tools are well-scoped for an MCP server that bridges to OpenSTAAD via code execution. Each tool serves a necessary part of the workflow: guidance discovery, connection/instance management, and code execution.

Completeness5/5

The surface covers the full lifecycle for this server's purpose: discovering API guidance, reading skills, checking connection/status, listing available STAAD.Pro instances, and executing Python against the OpenSTAAD API. No obvious operational gaps remain for the stated domain.

Maintenance

ActivityMaintained
ResponsivenessWithin a week

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI-driven interaction with Tekla Structures through natural language commands, allowing users to select elements, insert components, and automate modeling workflows.
    12
    -
  • A
    license
    A
    quality
    D
    maintenance
    Connects AI assistants to CSI ETABS for structural engineering tasks, enabling model creation, analysis, design, and seismic checks via the COM API.
    69
    9
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to interact with Autodesk Civil 3D through natural language, supporting tools for surfaces, alignments, profiles, corridors, pipe networks, COGO points, and AutoCAD geometry.
    9
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to interact with Bentley STAAD.Pro models for tasks like load case definition, data extraction, and property setting, running locally with multi-instance support and no cloud dependency.
    5
    MIT