Skip to content

Open-source Revit MCP server: let Claude and other AI assistants read and edit BIM models, with human approval on every change.

build(release): ship a package for every Revit year, release 1.3.1

sammohammad578c6e22a87e3c7
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index cb05bb2..14395b8 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -15,9 +15,9 @@ on:
description: Existing tag to rebuild, for example v1.3.0
required: true
revit_version:
- description: Revit version to package
+ description: Revit version to package, or All for 2024-2027
required: true
- default: "2027"
+ default: "All"
jobs:
release:
@@ -53,7 +53,9 @@ jobs:
- name: Set up .NET
uses: actions/setup-dotnet@v5
with:
- dotnet-version: "10.0.x"
+ dotnet-version: |
+ 8.0.x
+ 10.0.x
- name: Install Python build tools
shell: pwsh
@@ -70,7 +72,7 @@ jobs:
run: >
./scripts/build-release.ps1
-Version "${{ steps.tag.outputs.version }}"
- -RevitVersion "${{ inputs.revit_version || '2027' }}"
+ -RevitVersion "${{ inputs.revit_version || 'All' }}"
- name: Write release notes from CHANGELOG
shell: pwsh
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 547e2e9..4aeae77 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,11 @@
## Unreleased
+## 1.3.1 - 2026-10-09
+
+- Release: every GitHub release now ships one ready-to-install package per supported Revit year (`aec-model-bridge-revit-2024-X.Y.Z.zip` through `-2027-`). 1.3.0 only shipped the Revit 2027 package. `build-release.ps1` defaults to all years, and the release workflow installs the .NET 8 SDK that the 2024-2026 builds need.
+- Build scripts: `install.ps1` read a stale `1.1.0` default and now takes its version from `VERSION`.
+
## 1.3.0 - 2026-10-09
- Versioning: the root `VERSION` file is now the single source of truth (SemVer). `scripts/version.py` checks and sets the version across every manifest, CI fails on drift, and pushing a `vX.Y.Z` tag builds the GitHub release with notes taken from this changelog. See `docs/versioning.md`.
diff --git a/README.md b/README.md
index 8c9a6b9..8b7f603 100644
--- a/README.md
+++ b/README.md
@@ -301,8 +301,10 @@ To prepare binaries for every supported version in one pass:
.\scripts\package.ps1 -RevitVersion All
```
-Prebuilt packages are attached to GitHub releases when available. The source
-installation above works for all supported Revit versions. For a double-click
+Each [GitHub release](https://github.com/Sam-AEC/aec-model-bridge/releases/latest)
+has a ready-made package per Revit year, for example
+`aec-model-bridge-revit-2026-<version>.zip`. Unzip it and run
+`.\install.ps1 -RevitVersion 2026` instead of building from source. For a double-click
Windows installer, `scripts/build-installer.ps1` builds one with Inno Setup.
The full guide, with troubleshooting, is in [docs/install.md](docs/install.md).
diff --git a/VERSION b/VERSION
index f0bb29e..3a3cd8c 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.3.0
+1.3.1
diff --git a/docs/versioning.md b/docs/versioning.md
index 9095853..a6eadfa 100644
--- a/docs/versioning.md
+++ b/docs/versioning.md
@@ -76,9 +76,11 @@ python scripts/version.py notes [X.Y.Z] print one changelog section (used f
Add `--no-changelog` to `set` or `bump` if you do not want the changelog touched.
-## Choosing the Revit year for a release
+## Revit years in a release
-The release workflow packages one Revit year, `2027` by default. When you run it by hand you can choose another year in the `revit_version` input. For local testing of a single year, build it directly:
+Every release ships one package per supported Revit year: `aec-model-bridge-revit-2024-1.3.1.zip` through `aec-model-bridge-revit-2027-1.3.1.zip`. Each zip holds only that year's add-in binaries plus the installer scripts. The `.mcpb` bundle and the Python wheel are shared by all years.
+
+To rebuild a single year by hand, run **Build GitHub Release** and set `revit_version` to that year instead of `All`. For local testing of one year, build it directly:
```powershell
./scripts/build-addin.ps1 -RevitVersion 2026 -Configuration Release
diff --git a/packages/mcp-server-revit/manifest.json b/packages/mcp-server-revit/manifest.json
index ca9086a..1908309 100644
--- a/packages/mcp-server-revit/manifest.json
+++ b/packages/mcp-server-revit/manifest.json
@@ -2,7 +2,7 @@
"manifest_version": "0.4",
"name": "aec-model-bridge",
"display_name": "AEC Model Bridge",
- "version": "1.3.0",
+ "version": "1.3.1",
"description": "Independent MCP integration for Autodesk Revit software through a local bridge.",
"long_description": "Connect MCP clients to a locally installed Revit application through the AEC Model Bridge add-in. The server exposes model authoring, documentation, inspection, export, worksharing, and advanced API tools.",
"author": {
diff --git a/packages/mcp-server-revit/pyproject.toml b/packages/mcp-server-revit/pyproject.toml
index 2c2100d..b1833f1 100644
--- a/packages/mcp-server-revit/pyproject.toml
+++ b/packages/mcp-server-revit/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "aec-model-bridge"
-version = "1.3.0"
+version = "1.3.1"
description = "Independent Model Context Protocol integration for Autodesk Revit software"
readme = "README.md"
requires-python = ">=3.11"
diff --git a/packages/navisworks-bridge-addin/NavisworksBridge.csproj b/packages/navisworks-bridge-addin/NavisworksBridge.csproj
index 945de6e..b19cc52 100644
--- a/packages/navisworks-bridge-addin/NavisworksBridge.csproj
+++ b/packages/navisworks-bridge-addin/NavisworksBridge.csproj
@@ -5,7 +5,7 @@
<TargetFramework Condition="'$(NavisworksVersion)' == '2027'">net8.0-windows</TargetFramework>
<AssemblyName>NavisworksBridge</AssemblyName>
<RootNamespace>NavisworksBridge</RootNamespace>
- <Version>1.3.0</Version>
+ <Version>1.3.1</Version>
<OutputType>Library</OutputType>
<OutputPath>bin\$(Configuration)\$(NavisworksVersion)\</OutputPath>
<LangVersion>latest</LangVersion>
diff --git a/packages/powerbi-bridge-tool/PowerBIBridge.csproj b/packages/powerbi-bridge-tool/PowerBIBridge.csproj
index 265055b..0b4da02 100644
--- a/packages/powerbi-bridge-tool/PowerBIBridge.csproj
+++ b/packages/powerbi-bridge-tool/PowerBIBridge.csproj
@@ -7,7 +7,7 @@
<Nullable>enable</Nullable>
<AssemblyName>PowerBIBridge</AssemblyName>
<RootNamespace>PowerBIBridge</RootNamespace>
- <Version>1.3.0</Version>
+ <Version>1.3.1</Version>
<OutputPath>bin\$(Configuration)\</OutputPath>
</PropertyGroup>
diff --git a/packages/revit-bridge-addin/RevitBridge.csproj b/packages/revit-bridge-addin/RevitBridge.csproj
index e54dcc8..be975b7 100644
--- a/packages/revit-bridge-addin/RevitBridge.csproj
+++ b/packages/revit-bridge-addin/RevitBridge.csproj
@@ -6,10 +6,10 @@
<TargetFramework Condition="'$(RevitVersion)' == '2027'">net10.0-windows</TargetFramework>
<AssemblyName>AECModelBridge</AssemblyName>
<RootNamespace>RevitBridge</RootNamespace>
- <Version>1.3.0</Version>
- <AssemblyVersion>1.3.0.0</AssemblyVersion>
- <FileVersion>1.3.0.0</FileVersion>
- <InformationalVersion>1.3.0</InformationalVersion>
+ <Version>1.3.1</Version>
+ <AssemblyVersion>1.3.1.0</AssemblyVersion>
+ <FileVersion>1.3.1.0</FileVersion>
+ <InformationalVersion>1.3.1</InformationalVersion>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<OutputType>Library</OutputType>
<OutputPath>bin\$(Configuration)\$(RevitVersion)\</OutputPath>
diff --git a/packages/rhino-bridge-addin/RhinoBridge.csproj b/packages/rhino-bridge-addin/RhinoBridge.csproj
index 9c9c3bc..3ed785a 100644
--- a/packages/rhino-bridge-addin/RhinoBridge.csproj
+++ b/packages/rhino-bridge-addin/RhinoBridge.csproj
@@ -4,7 +4,7 @@
<TargetExt>.rhp</TargetExt>
<AssemblyName>RhinoBridge</AssemblyName>
<RootNamespace>RhinoBridge</RootNamespace>
- <Version>1.3.0</Version>
+ <Version>1.3.1</Version>
<OutputType>Library</OutputType>
<OutputPath>bin\$(Configuration)\</OutputPath>
<LangVersion>latest</LangVersion>
diff --git a/scripts/build-release.ps1 b/scripts/build-release.ps1
index 390a6ee..552d6d3 100644
--- a/scripts/build-release.ps1
+++ b/scripts/build-release.ps1
@@ -1,6 +1,6 @@
param(
[string]$Version = (Get-Content (Join-Path $PSScriptRoot '..\VERSION') -Raw).Trim(),
- [string]$RevitVersion = "2027",
+ [string]$RevitVersion = "All",
[switch]$UpdateServerMetadata
)
@@ -11,6 +11,9 @@ $distRoot = Join-Path $repoRoot "dist"
$packageDir = Join-Path $distRoot "AECModelBridge"
$releaseDir = Join-Path $distRoot "release"
$mcpbStage = Join-Path $distRoot "mcpb-stage"
+$zipStageRoot = Join-Path $distRoot "zip-stage"
+$supportedYears = @("2024", "2025", "2026", "2027")
+$years = if ($RevitVersion -eq "All") { $supportedYears } else { @($RevitVersion) }
function Remove-WorkspaceDirectory {
param([string]$Path)
@@ -28,6 +31,7 @@ function Remove-WorkspaceDirectory {
Remove-WorkspaceDirectory $packageDir
Remove-WorkspaceDirectory $releaseDir
Remove-WorkspaceDirectory $mcpbStage
+Remove-WorkspaceDirectory $zipStageRoot
New-Item -ItemType Directory -Path $releaseDir -Force | Out-Null
& (Join-Path $PSScriptRoot "package.ps1") -Version $Version -RevitVersion $RevitVersion
@@ -35,9 +39,11 @@ if ($LASTEXITCODE -ne 0) {
throw "Distribution packaging failed with exit code $LASTEXITCODE"
}
-$bridgeDll = Join-Path $packageDir "bin\$RevitVersion\AECModelBridge.dll"
-if (-not (Test-Path -LiteralPath $bridgeDll)) {
- throw "Expected bridge assembly was not produced: $bridgeDll"
+foreach ($year in $years) {
+ $bridgeDll = Join-Path $packageDir "bin\$year\AECModelBridge.dll"
+ if (-not (Test-Path -LiteralPath $bridgeDll)) {
+ throw "Expected bridge assembly was not produced: $bridgeDll"
+ }
}
$prohibitedNames = @(
@@ -54,8 +60,19 @@ if ($prohibitedFiles) {
throw "Release contains Autodesk assemblies and cannot be published:$([Environment]::NewLine)$paths"
}
-$distributionZip = Join-Path $releaseDir "aec-model-bridge-revit-$RevitVersion-$Version.zip"
-Compress-Archive -Path (Join-Path $packageDir "*") -DestinationPath $distributionZip -CompressionLevel Optimal
+# One zip per Revit year: everything in the package except the other years' binaries,
+# so each user downloads only the build that matches their Revit.
+foreach ($year in $years) {
+ $stage = Join-Path $zipStageRoot $year
+ New-Item -ItemType Directory -Path $stage -Force | Out-Null
+ Copy-Item -Path (Join-Path $packageDir "*") -Destination $stage -Recurse -Force
+ foreach ($other in ($supportedYears | Where-Object { $_ -ne $year })) {
+ Remove-WorkspaceDirectory (Join-Path $stage "bin\$other")
+ }
+ $distributionZip = Join-Path $releaseDir "aec-model-bridge-revit-$year-$Version.zip"
+ Compress-Archive -Path (Join-Path $stage "*") -DestinationPath $distributionZip -CompressionLevel Optimal
+}
+Remove-WorkspaceDirectory $zipStageRoot
New-Item -ItemType Directory -Path $mcpbStage -Force | Out-Null
$pythonPackage = Join-Path $repoRoot "packages\mcp-server-revit"
diff --git a/scripts/installer/AECModelBridge.iss b/scripts/installer/AECModelBridge.iss
index 7c598c1..54b9414 100644
--- a/scripts/installer/AECModelBridge.iss
+++ b/scripts/installer/AECModelBridge.iss
@@ -4,7 +4,7 @@
[Setup]
AppId={{D41A24F3-87B1-4A51-9F31-30919E371C25}
AppName=AEC Model Bridge
-AppVersion=1.3.0
+AppVersion=1.3.1
AppPublisher=Sam-AEC
AppPublisherURL=https://github.com/Sam-AEC/aec-model-bridge
DefaultDirName=C:\ProgramData\AECModelBridge
diff --git a/server.json b/server.json
index 092c57a..51cc8dd 100644
--- a/server.json
+++ b/server.json
@@ -18,13 +18,13 @@
"source": "github",
"subfolder": "packages/mcp-server-revit"
},
- "version": "1.3.0",
+ "version": "1.3.1",
"packages": [
{
"registryType": "mcpb",
- "identifier": "https://github.com/Sam-AEC/aec-model-bridge/releases/download/v1.3.0/aec-model-bridge-1.3.0.mcpb",
+ "identifier": "https://github.com/Sam-AEC/aec-model-bridge/releases/download/v1.3.1/aec-model-bridge-1.3.1.mcpb",
"fileSha256": "005c9524735ccb1c5d51432bb0969bbd1ad27c4a3765565be8c80922885854a1",
- "version": "1.3.0",
+ "version": "1.3.1",
"transport": {
"type": "stdio"
},