# aiagentengineertech-pixel/idea-statica-mcp architecture

> Architecture diagram of the GitHub repository aiagentengineertech-pixel/idea-statica-mcp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/aiagentengineertech-pixel/idea-statica-mcp
- Repository: https://github.com/aiagentengineertech-pixel/idea-statica-mcp

## Overview

This is a single-file MCP server that lets Claude operate IDEA StatiCa Connection through its REST API. The principal workflow is to connect to the service, create or open a project, define its members and connection operations, apply loads, run CBFEM, retrieve results, and export a report. The server also supports importing IdeaRS.OpenModel data, editing parameters, saving projects, and an API-snippet escape hatch. The README documents the workflow; the sampled source confirms the MCP server, client, project state, and background-job handling, but most tool implementations were not excerpted.

Main entry points: [`idea_mcp.py`](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py) (MCP tools)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["MCP interface"]
  node_tools["MCP tools<br/>[idea_mcp.py]"]
  node_snippet["API snippet<br/>[idea_mcp.py]"]
end

subgraph group_model["Project modeling"]
  node_project["Project lifecycle<br/>[idea_mcp.py]"]
  node_iom["IOM import<br/>[idea_mcp.py]"]
  node_members["Members<br/>[idea_mcp.py]"]
  node_operations["Connection operations<br/>[idea_mcp.py]"]
  node_templates["Templates<br/>[idea_mcp.py]"]
  node_parameters["Parameters<br/>[idea_mcp.py]"]
  node_loads["Load effects<br/>[idea_mcp.py]"]
end

subgraph group_analysis["Analysis and reports"]
  node_calculation["CBFEM calculation<br/>[idea_mcp.py]"]
  node_jobs["Background jobs<br/>[idea_mcp.py]"]
  node_results["Check results<br/>[idea_mcp.py]"]
  node_report["PDF report export<br/>[idea_mcp.py]"]
end

subgraph group_integration["Service integration"]
  node_connection["API connection<br/>[idea_mcp.py]"]
  node_idea_service["IDEA REST service"]
  node_license["IDEA license"]
end

node_claude(("Claude"))

node_claude -->|"invokes tools"| node_tools
node_tools -->|"uses client"| node_connection
node_connection -->|"calls REST API"| node_idea_service
node_tools -->|"creates or opens"| node_project
node_tools -->|"imports model"| node_iom
node_tools -->|"builds members"| node_members
node_tools -->|"edits operations"| node_operations
node_tools -->|"applies templates"| node_templates
node_tools -->|"edits parameters"| node_parameters
node_tools -->|"edits loads"| node_loads
node_tools -->|"starts calculation"| node_calculation
node_calculation -->|"runs asynchronously"| node_jobs
node_tools -->|"fetches job result"| node_jobs
node_tools -->|"retrieves checks"| node_results
node_tools -->|"starts export"| node_report
node_tools -->|"saves project"| node_project
node_tools -->|"disconnects client"| node_connection
node_connection -->|"starts or attaches"| node_idea_service
node_idea_service -->|"consumes seat"| node_license
node_tools -->|"runs escape hatch"| node_snippet
node_snippet -->|"uses live client"| node_connection

click node_tools "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_snippet "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_connection "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_project "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_iom "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_members "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_operations "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_templates "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_parameters "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_loads "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_calculation "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_jobs "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_results "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"
click node_report "https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_tools,node_snippet toneBlue
class node_project,node_iom,node_members,node_operations,node_templates,node_parameters,node_loads toneAmber
class node_calculation,node_jobs,node_results,node_report toneMint
class node_connection,node_idea_service,node_license toneRose
class node_claude toneIndigo
```

## Components

### MCP interface

- [MCP tools](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`
- [API snippet](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`

### Project modeling

- [Project lifecycle](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`
- [IOM import](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`
- [Members](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`
- [Connection operations](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`
- [Templates](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`
- [Parameters](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`
- [Load effects](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`

### Analysis and reports

- [CBFEM calculation](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`
- [Background jobs](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`
- [Check results](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`
- [PDF report export](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`

### Service integration

- [API connection](https://github.com/aiagentengineertech-pixel/idea-statica-mcp/blob/main/idea_mcp.py): `idea_mcp.py`
- **IDEA REST service**
- **IDEA license**

### Other components

- **Claude**

## Connections

- Claude → MCP tools: invokes tools (evidence: `README.md`)
- MCP tools → API connection: uses client (evidence: `idea_mcp.py`)
- API connection → IDEA REST service: calls REST API (evidence: `README.md`)
- MCP tools → Project lifecycle: creates or opens (evidence: `README.md`)
- MCP tools → IOM import: imports model (evidence: `idea_mcp.py`)
- MCP tools → Members: builds members (evidence: `README.md`)
- MCP tools → Connection operations: edits operations (evidence: `README.md`)
- MCP tools → Templates: applies templates (evidence: `README.md`)
- MCP tools → Parameters: edits parameters (evidence: `README.md`)
- MCP tools → Load effects: edits loads (evidence: `README.md`)
- MCP tools → CBFEM calculation: starts calculation (evidence: `README.md`)
- CBFEM calculation → Background jobs: runs asynchronously (evidence: `idea_mcp.py`)
- MCP tools → Background jobs: fetches job result (evidence: `README.md`)
- MCP tools → Check results: retrieves checks (evidence: `README.md`)
- MCP tools → PDF report export: starts export (evidence: `README.md`)
- MCP tools → Project lifecycle: saves project (evidence: `README.md`)
- MCP tools → API connection: disconnects client (evidence: `idea_mcp.py`)
- API connection → IDEA REST service: starts or attaches (evidence: `idea_mcp.py`)
- IDEA REST service → IDEA license: consumes seat (evidence: `README.md`)
- MCP tools → API snippet: runs escape hatch (evidence: `README.md`)
- API snippet → API connection: uses live client (evidence: `README.md`)
