# vibhanshu-mishra/risa3d-mcp-server architecture

> Architecture diagram of the GitHub repository vibhanshu-mishra/risa3d-mcp-server, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vibhanshu-mishra/risa3d-mcp-server
- Repository: https://github.com/vibhanshu-mishra/risa3d-mcp-server

## Overview

RISA-3D MCP Server + CLI Toolkit bridges plain-text .r3d models to AI-assisted structural workflows. The main path is Claude Desktop → MCP server → shared parser and model tools → model files, producing summaries, checks, comparisons, edits, and exports. Engineers can also use the standalone CLI for reports and diagnostics. The README documents broader tool capabilities than the excerpts expose; those branches are represented at the documented subsystem level. Source-level evidence is limited to the sampled files and excerpts.

Main entry points: [`index.js`](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js) (MCP server), [`risa-cli.js`](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/risa-cli.js) (Standalone CLI), [`risa-core.js`](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/risa-core.js) (Model parsing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interfaces["User interfaces"]
  node_mcp["MCP server<br/>[index.js]"]
  node_cli["Standalone CLI<br/>[risa-cli.js]"]
end

subgraph group_model["Model processing"]
  node_parsing["Model parsing<br/>[risa-core.js]"]
end

subgraph group_outputs["Engineering workflows"]
  node_inspection["Read and report<br/>[index.js]"]
  node_loads["Load workflows<br/>[index.js]"]
  node_quality["QA/QC checks<br/>[index.js]"]
  node_editing["Model editing<br/>[index.js]"]
  node_comparison["Model comparison<br/>[index.js]"]
  node_exports["Schedules and exports<br/>[index.js]"]
  node_batch["Batch workflows<br/>[index.js]"]
end

node_engineer(("Engineer"))
node_claude(("Claude Desktop"))
node_r3d[".r3d model files"]

node_engineer -->|"asks questions"| node_claude
node_claude -->|"connects through"| node_mcp
node_engineer -->|"runs commands"| node_cli
node_mcp -->|"calls parsers"| node_parsing
node_cli -->|"calls parsers"| node_parsing
node_mcp -->|"reads and writes"| node_r3d
node_cli -->|"reads models"| node_r3d
node_mcp -->|"provides tools"| node_inspection
node_mcp -->|"provides tools"| node_loads
node_mcp -->|"provides tools"| node_quality
node_mcp -->|"provides tools"| node_editing
node_mcp -->|"provides tools"| node_comparison
node_mcp -->|"provides tools"| node_exports
node_mcp -->|"provides tools"| node_batch

click node_mcp "https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js"
click node_cli "https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/risa-cli.js"
click node_parsing "https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/risa-core.js"
click node_inspection "https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js"
click node_loads "https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js"
click node_quality "https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js"
click node_editing "https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js"
click node_comparison "https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js"
click node_exports "https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js"
click node_batch "https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js"

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_mcp,node_cli toneBlue
class node_parsing toneAmber
class node_inspection,node_loads,node_quality,node_editing,node_comparison,node_exports,node_batch toneMint
class node_engineer,node_claude,node_r3d toneIndigo
```

## Components

### User interfaces

- [MCP server](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js): `index.js`
- [Standalone CLI](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/risa-cli.js): `risa-cli.js`

### Model processing

- [Model parsing](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/risa-core.js): `risa-core.js`

### Engineering workflows

- [Read and report](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js): `index.js`
- [Load workflows](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js): `index.js`
- [QA/QC checks](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js): `index.js`
- [Model editing](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js): `index.js`
- [Model comparison](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js): `index.js`
- [Schedules and exports](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js): `index.js`
- [Batch workflows](https://github.com/vibhanshu-mishra/risa3d-mcp-server/blob/main/index.js): `index.js`

### Other components

- **Engineer**
- **Claude Desktop**
- **.r3d model files**

## Connections

- Engineer → Claude Desktop: asks questions (evidence: `README.md`)
- Claude Desktop → MCP server: connects through (evidence: `README.md`)
- Engineer → Standalone CLI: runs commands (evidence: `README.md`)
- MCP server → Model parsing: calls parsers (evidence: `index.js`)
- Standalone CLI → Model parsing: calls parsers (evidence: `risa-cli.js`)
- MCP server → .r3d model files: reads and writes (evidence: `README.md`)
- Standalone CLI → .r3d model files: reads models (evidence: `risa-cli.js`)
- MCP server → Read and report: provides tools (evidence: `README.md`)
- MCP server → Load workflows: provides tools (evidence: `README.md`)
- MCP server → QA/QC checks: provides tools (evidence: `README.md`)
- MCP server → Model editing: provides tools (evidence: `README.md`)
- MCP server → Model comparison: provides tools (evidence: `README.md`)
- MCP server → Schedules and exports: provides tools (evidence: `README.md`)
- MCP server → Batch workflows: provides tools (evidence: `README.md`)
