Skip to content

Releases

v0.3.1 — self-host connector: Client Secret guidance, setup lock, idempotency

Choose a tag to compare

@KenLP KenLP released this 13 Nov 02:22
98a3ecd

Patch release of the self-host Claude Desktop connector. If you installed bimlynx-local-0.3.0.mcpb, replace it with bimlynx-local-0.3.1.mcpb below: install the new file in Claude Desktop. The robot lives in your data folder, so as long as the connector points at the same data folder (and the same Client ID and Secret), it starts with its full tool set and no new setup is needed.

Setup guide: English · Tiếng Việt

Before you roll it out: the Client Secret

The guide has a new section, A3 — Who gets the Client Secret. Every computer that runs BIMLynx holds the Autodesk app's Client Secret, and the secret grants more than BIMLynx uses: managing the app's robot accounts, and an app-only token that BIMLynx itself never requests. A3 covers who should receive it, using one app per group that should not see each other's projects, asking Autodesk to switch off 2-legged Data Management access for the Client ID, and rotating the secret when someone leaves.

Fixes

  • Clean bundle. The 0.3.0 file was built before identifiers from the maintainer's test project were removed from the issues_pin_element description. 0.3.1 is built from the cleaned source.
  • One robot setup at a time. Two approved setup_create_robot runs on the same data folder could each create an Autodesk service account. Setup now holds a lock in the data folder for the whole operation; the second run is refused.
  • idempotency_key is claimed before a write runs. A retry sent while the first call was still running could execute a second time. The key is now reserved first: a call that reuses a key still in progress, or one whose outcome is unknown, is refused, and the key is released only when nothing reached Autodesk. Applies to every mode.

The bundle is not code-signed yet, so Claude Desktop shows an unverified-publisher notice on install.

Hosted pilot users: unchanged. The hosted connector is still bimlynx-0.2.0.mcpb from the v0.2.0 release.

v0.3.0 — self-host Claude Desktop connector

Choose a tag to compare

@KenLP KenLP released this 12 Nov 13:55
5ce44ad

Superseded by v0.3.1. Install bimlynx-local-0.3.1.mcpb from that release instead of the file below. It also adds a section to the guide on who should hold the Client Secret.

This release adds a self-host connector for Claude Desktop: BIMLynx runs on your own computer, with an Autodesk app your organization creates, and reads only the Autodesk Forma projects its robot account is invited to.

Install

Download bimlynx-local-0.3.0.mcpb below and follow the setup guide — English · Tiếng Việt. A team admin creates the Autodesk app once (Part A); each user installs the file, switches the connector on, and types "set up BIMLynx" in a chat (Part B); a Forma admin adds the integration and invites the robot (Part C). No Node.js, no terminal, no configuration file.

In Claude Desktop the installed bundle appears under Settings → Customize → Connectors as BIMLynx (self-host) — Autodesk Forma.

Hosted pilot users: the hosted connector is unchanged and not part of this release. It is still bimlynx-0.2.0.mcpb from the v0.2.0 release — the file that asks for a bearer key. The hosted service is closed to new organizations.

Self-host connector

  • Setup from the chat. On first start the connector runs in setup mode with two tools: setup_status checks the app credentials and the robot quota, and setup_create_robot creates the robot account (an Autodesk Secure Service Account) after a preview you approve. The robot's private key is written only to your data folder, owner-only, and never appears in chat, logs or the audit log.
  • Reads only the projects the robot is invited to. Every call runs on the robot's own token. The connector never creates the app's hub-wide (2-legged) token for project data, does not request account:read, and leaves out the tools that cannot honour that: the four hub-level admin_* tools and the three webhooks_* tools — 39 tools in all. It refuses to start if a 2-legged provider is ever attached. Verified against a live hub: a robot invited to 2 projects lists those 2, not the hub's full project list, and opening a file in another project by its id is refused by Autodesk.
  • One file for Windows, macOS and Linux. The server is a single JavaScript file that runs on Claude Desktop's bundled Node.js; no native modules. The build starts the packed server in an empty folder and checks the tool set, including with SSA_* variables leaking in from the environment, before anything is packed.
  • Same guardrails as every other mode: dry-run by default for every write, approval tokens, rate limits, and a hash-chained audit log in your data folder.

Running from a clone of the repository is unchanged: dual SSA + 2-legged auth and all 46 tools.

Fixes

  • issues_get_user_me reported "No" for every permission. It read boolean fields the Issues API does not return. It now derives project admin, create, update and comment from the real /users/me response, and names a service account by its robot email instead of (unknown) <?>. Affects every mode.
  • The robot's default name no longer carries macOS's .local hostname suffix.

Docs

  • docs/SELF-HOST-GUIDE.md and docs/SELF-HOST-GUIDE.vi.md: who does what, how to tell the self-host file from the hosted one, how to answer a preview, and what BIMLynx can and cannot reach.
  • PRIVACY.md §6 states the self-host connector's reach, and that a clone run with your own SSA_* credentials still uses a hub-wide 2-legged token.

The bundle is not code-signed yet, so Claude Desktop shows an unverified-publisher notice on install.

v0.2.0 — hosted remote MCP service, multi-tenant

Choose a tag to compare

@KenLP KenLP released this 13 Aug 10:35

This release turns acc-forma-mcp-server from a server you install into a service you connect to, and folds in the fixes from an independent security and design review of that work.

Hosted endpoint: https://mcp.bimlynx.com/mcp — 43 tools, private pilot, free during the pilot. Email hello@bimlynx.com for a bearer key. The same codebase still self-hosts over stdio with your own Autodesk credentials, where all 46 tools are available.

Install

Download bimlynx-0.2.0.mcpb below and open it — Claude Desktop installs it and asks for your bearer key. No Node setup, no APS app, no service account of your own. For other MCP clients, see the manual mcp-remote configuration in the README.

Remote, multi-tenant service

  • Stateless Streamable HTTP transport (FORMA_TRANSPORT=http). Each request builds a fresh server instance from the caller's tenant context, so nothing is shared between requests and one tenant's state never touches another's. stdio remains the default and is unchanged.
  • Robot-per-tenant isolation using Autodesk Secure Service Accounts, the pattern Autodesk's own SSA guidance describes for ISV integrations. Each customer's access is bounded by their robot's hub and project membership, which their admin grants and can revoke. Robot private keys are encrypted at rest with AES-256-GCM; bearer keys are stored only as a SHA-256 hash.
  • Per-tenant audit logs, rate counters, approval tokens and idempotency records, keyed so that no tenant can observe or exhaust another's.
  • Service Account management client and admin CLI for provisioning tenants against the APS Service Accounts API, rather than creating each robot by hand in the console.

Independent review remediation

An outside reviewer audited this work before submission. Every finding was re-verified independently before anything was changed; several were narrowed once verified, and the reasoning for each is recorded in the repository.

  • Webhook tools are no longer served over the hosted service. They require 2-legged auth, which sees every project in a hub — no tenant robot carries it, by design. The three tools remain available when self-hosting over stdio.
  • An unauthenticated request is rejected before its body is parsed. A malformed or oversized body with no valid bearer key now answers 401 rather than 400 or 413; those two only apply once a valid key is presented. This narrows what an unauthenticated caller can learn about the server.
  • Approval tokens bind to the exact payload sent to Autodesk. The one mutation whose preview depended on live state now executes the payload its token approved instead of re-deriving it. Consuming a token is a single atomic operation, so two concurrent uses can no longer both appear to succeed.
  • Audit entries store a result summary, not the full API response — identifiers, status and counts, never issue titles, descriptions or custom attributes.
  • The audit verifier's claim is narrower and more accurate. A valid result means the retained entries are unmodified and their hash links unbroken. It does not prove nothing was deleted: truncating the end of a file, or replacing it with a fresh chain, both still verify. Detecting either needs a trust anchor kept outside the log, which this server does not yet publish.
  • Audit retention runs continuously, not only at startup, so a long-lived instance cannot hold records past the retention window.
  • Large downloads are bounded. Model Properties and Model Coordination responses now carry explicit timeouts and size caps enforced as bytes arrive, and NDJSON is parsed as a stream rather than buffered whole.

Also in this release

  • Marketplace submission artifacts: manifest, privacy policy, and a rewritten README describing the hosted service first and self-hosting as the alternative.
  • Core SDK (acc-forma-mcp-server/core): the typed APS client layer — auth providers, request helpers, and all eight API domains — consumable as a library with no MCP server and no environment variables required.
  • Model Properties version diff (mp_diff_versions), backing ACC's Compare Versions, with change roll-ups by category for routing changes to the affected discipline.

Full documentation: README · Safety model · Privacy

v0.1.4 — auth claim, pagination predicate, manifest drift guard

Choose a tag to compare

@KenLP KenLP released this 17 Jul 07:59

Closes the last manifest/runtime mismatch found in review, and automates the check that kept catching them by hand.

The manifest described an auth failover that does not exist

auth.notes said 2LO was preferred for the Account Admin / Data Management / Model Derivative / Docs read tools "with SSA as fallback". There is no fallback:

  • In APS_AUTH_MODE=ssa, index.ts always constructs the 2LO provider, so effectiveCtx always hands preferredAuth: '2lo' tools the 2LO token. The ctx.auth2lo check that reads like a fallback never fails in that mode.
  • A 2LO request that fails is not retried under SSA.

The note now describes what happens: a per-tool choice made at startup, explicitly not a failover. docs/AUTH.md said "used automatically (when available)", which hinted at the same fiction, and now states the rule outright. README.md also listed 3lo as an APS_AUTH_MODE value — setting it throws at startup.

admin_list_projects pagination

Two defects in the v0.1.3 fix:

  • Wrong predicate. The decision to withhold totalResults keyed off isAllowlistActive(), which is true when either allow-list is narrowed. This tool only filters by project, so FORMA_ALLOWED_HUBS=b.x with FORMA_ALLOWED_PROJECTS=* degraded the response while filtering nothing. Now keyed off the new isProjectAllowlistActive().
  • No continuation contract. With a project allow-list active and totalResults withheld, a client could not tell whether to fetch the next page — a page 1 holding no allowed projects looked identical to an empty result while allowed projects sat on page 2. The response now always carries hasMore and nextOffset, derived from the raw APS page: limit/offset address the unfiltered set, so deriving them from the filtered count would re-read rows forever or skip them.

hasMore does reveal that further rows exist beyond this page even when all of them are filtered out. That is a far weaker signal than an exact unfiltered count ("more exist", not "how many"), and without it the tool cannot be paginated under an allow-list at all. Deliberate trade, documented inline.

Manifest drift is now a test, not a habit

mcp-manifest.json is the artifact Autodesk reviews, and a mismatch with the real tool set is a failure mode they call out explicitly. It drifted five times across this review cycle and was caught by hand every round. tests/unit/manifest-sync.spec.ts now asserts: the manifest's tool-name set exactly equals the registry's (extras and missing reported by name), every mutating flag agrees with the tool's kind, every description is non-empty, and no name is duplicated.

Runtime descriptions are deliberately fuller than the manifest's one-liners, so the test does not compare description text — only the facts that must agree.

Verification

Server binary announces 0.1.4; 43 tools over the live MCP protocol, 7 exposing dry_run, 0 with imperative descriptions. auth.notes no longer contains the word "fallback". 231 unit tests across 35 files, green twice on a cold cache with no .env — the condition CI runs under. Typecheck, lint, build clean; CI green on Node 20 and 22.

v0.1.3 — submission blockers: app_model, pagination, audit claim

Choose a tag to compare

@KenLP KenLP released this 17 Jul 07:34

Fixes the two MCP submission blockers found in review, plus a pagination regression introduced in v0.1.2.

app_model was wrong

The manifest declared "app_model": "Local MCP Server" — the Airtable form's dropdown label. The MCP Submission FAQ defines the codes on page 1:

Local (A): Runs on the user's machine
Embedded (B): No external connections
Remote (C): Connects to a publisher-hosted server

A stdio server running on the user's machine is "A", and the FAQ's own example manifest uses "app_model": "A". A note in this repo claimed the codes were never defined anywhere; that note was wrong. The form keeps its own vocabulary ("Local MCP Server"); the manifest now says "A".

Pagination regression (v0.1.2)

admin_list_projects filters its page against the project allow-list. To avoid leaking the count of projects outside the list, v0.1.2 rewrote pagination.totalResults to the filtered page size — but totalResults is the total across all pages. With the default * allow-list, an account with 300 projects paged 50 at a time reported totalResults: 50, and callers paginating on that number stopped early.

  • Allow-list inactive (the default): APS pagination passes through untouched, totalResults included. Nothing can be filtered, so there is nothing to hide.
  • Allow-list active: totalResults is omitted entirely. The allowed total is unknowable without scanning every APS page, and the APS figure would leak the unfiltered count — an absent field is honest, a wrong number is not.

Regression tests cover both branches, including the multi-page case where page 1 holds no allowed projects.

The audit claim did not match the code

The manifest said an entry is attempted for every tool call. The MCP SDK validates a call against the tool's input schema before invoking the handler, so a malformed call — or one naming a tool that does not exist — is refused by the protocol layer and never reaches the wrapper that writes the log. Probed against the running server: three tool calls, one audit entry.

The claim now reads "every invocation that reaches a tool handler", and the protocol-layer boundary is stated in mcp-manifest.json, README.md, PRIVACY.md and docs/SAFETY.md. Nothing is lost on that path: it touches no Autodesk API and performs no action.

Docs

README carried its own copy of five tool descriptions that contradicted the code, the manifest and the runtime: admin_get_project (no "scopes and relationships"), admin_list_users (account directory only — there is no project roster), dm_get_item (items are files, not folders), issues_list (no filter by type), meta_list_changelog (one date; filters by tool and stage, not by project).

Verification

Manifest checked field-by-field against the FAQ's example: app_model "A", mcp_spec_version 2025-11-25, transport stdio, resources/prompts empty, both external endpoints declared over HTTPS, ai_llm_providers empty — no required field missing. 43 tools over the live MCP protocol with every description read individually; 0 imperative, 0 naming sensitive fields. The server binary announces 0.1.3. 223 unit tests across 34 files, green twice on a cold cache with no .env — the condition CI runs under. Typecheck, lint, build clean; CI green on Node 20 and 22.

v0.1.2 — allow-list enforcement across every tool

Choose a tag to compare

@KenLP KenLP released this 17 Jul 05:43

Marketplace review remediation: the hub/project allow-list now covers every tool, every outcome reaches the audit log, and the manifest describes what the code actually does.

Security — the allow-list now covers every tool

The wrapper resolved the id to allow-list check by input field name, reading whatever was called project_id / hub_id. Two defects followed:

  • Tools scoped by a differently-named id — element_group_id (5 AECDM tools) and urn (md_*, docs_get_viewables) — were never checked. An allow-listed deployment still read any model the credential could see.
  • aecdm_list_element_groups has a project_id field holding an AECDM-native id, not a DM b.<guid>. That id was compared against DM ids: it enforced nothing and rejected valid calls.

Every tool now declares a required scope, enforced centrally. A missing declaration is a type error, and tests/unit/tools/registry-scope.spec.ts holds the invariants across the registry.

scope Tools Behaviour while an allow-list is active
dm Issues, Reviews, DM, Admin, mc_*, mp_diff_versions id checked against the list
discovery dm_list_hubs, dm_list_projects, admin_list_projects results filtered to allow-listed entries
no-resource meta_* unaffected
unmappable all aecdm_*, md_*, docs_get_viewables, issues_pin_element refused

The AEC Data Model and Model Derivative endpoints are not project-scoped, so their ids cannot be mapped back to a DM hub/project to compare against the list. Refusing is the only option that keeps the control the manifest advertises. Binding AECDM properly (elementGroupId → dataManagementProjectId) is backlogged.

With the default FORMA_ALLOWED_HUBS=* / FORMA_ALLOWED_PROJECTS=*, nothing changes.

admin_list_projects also returned the APS pagination.totalResults unfiltered, disclosing how many projects exist outside the allow-list.

Security — every outcome now reaches the audit log

Four branches returned before appendAuditEntry ran: the auth-mode gate (read and mutation), the idempotency cache hit, and the missing-approval_token path. Two more — ApprovalError and IdempotencyError — were recorded as failed_api, reporting a denial as an Autodesk API failure. The manifest claimed an entry at every outcome, so the claim was false on all six.

New stages: denied_auth_mode, denied_missing_approval, denied_approval, denied_idempotency, idempotent_replay — all filterable via meta_list_changelog.

The manifest no longer claims "all tool calls" without qualification: it now states that an entry is attempted for every call at whatever outcome it reaches, that FORMA_AUDIT_INCLUDE_READS=false excludes read calls, and that audit writes are fail-open unless FORMA_AUDIT_FAIL_CLOSED=true.

Breaking

  • docs_get_viewables drops its optional project_id input. Nothing tied that project to the URN, so naming an allowed project while reading another project's document passed the check — the input only made the call look scoped.

Declarations match behavior

  • mcp-manifest.json declares the Authentication API (/authentication/v2/token), called by both auth providers and previously omitted.
  • Five manifest tool descriptions did not match the code: admin_list_users (account endpoint only — there is no project roster), admin_get_project (returns status/type/job number/address/dates, not "scopes and relationships"), dm_get_item (items are files, not folders), issues_list (no filter by type), meta_list_changelog (one date, filters by tool and stage — not by project).
  • 14 runtime tool descriptions rewritten declaratively — the MCP Publisher Guide bars instructions in tool descriptions. admin_list_users and issues_get_user_me no longer name the sensitive fields they return. dm_list_projects claimed its project IDs work with the aecdm_* tools; they do not.
  • docs/AUTH.md claimed three auth modes (APS_AUTH_MODE=3lo throws at startup). docs/SAFETY.md listed 3 rate defaults where the code has 6. PRIVACY.md said Autodesk hosts the pre-signed S3 URLs; Autodesk issues them, AWS hosts the storage.

Build

  • packageManager pinned to pnpm 9.15.9 — pnpm 11 ignores the pnpm.overrides block where it currently lives, and the pin keeps local and CI on one version.
  • vitest hookTimeout raised to 30s: testTimeout had been raised for suites that dynamically import a large module graph, but a suite importing inside beforeAll is bound by hookTimeout, whose 10s default trips under full-suite contention.

Verification

43 tools over the live MCP protocol, every description read individually rather than regex-matched. 16 allow-list probes refused with the correct message. The new audit stages verified by reading the JSONL the server actually wrote, not by asserting on a mock. 220 unit tests across 34 files, green twice on a cold cache with no .env — the condition CI runs under. Typecheck, lint, build clean; pnpm audit --prod reports no vulnerabilities; manifest 43/43 matches the registry with mutating flags matching the 7 tools that expose dry_run.

v0.1.1 — marketplace review remediation

Choose a tag to compare

@KenLP KenLP released this 17 Jul 01:23

Closes every finding from both marketplace review passes. The tag, the manifest and the code all describe this same commit — the v0.1.0 tag predated the security work, which is why this release exists.

Verified by building the executable and driving it over stdio, not by reading the code: serverInfo reports 0.1.1, tools/list returns 43 tools, no tool description carries workflow instructions, and all 7 mutating tools still expose dry_run.

Security

Fix Why it mattered
5xx retried for GET only (or an explicit retryOn5xx opt-in) Every 5xx used to be retried, so a POST that Autodesk had already applied before failing could be duplicated — a second issue, comment or review.
ApsIndeterminateError + outcome_unknown audit stage A mutation that times out has an unknown outcome, not a failed one. The audit log now says so instead of recording a clean failure.
md_trigger_translation refused while an allow-list is active It takes a URN that cannot be mapped to a project, so it silently bypassed the allow-list the manifest promises. Now fails closed.
Positive-integer validation on FORMA_APPROVAL_TOKEN_TTL / FORMA_AUDIT_RETENTION_DAYS A non-numeric value produced NaN, making every expiry comparison false — approval tokens would never expire.
0700/0600 on audit + state directories (POSIX) The privacy policy claimed only you could read them; nothing enforced it.
rate_counters purged at startup Only tokens and idempotency records expired; this table grew without bound.

Declarations match the binary

  • Six tool descriptions carried step-by-step workflow instructions. Autodesk requires plain-language descriptions — the dry-run/approval mechanics are documented on the dry_run and approval_token fields, which are unchanged.
  • The version is now written in one place (src/version.ts); a test fails if it drifts from package.json or the manifest. It had already drifted once: the first build of this release announced 0.1.0.
  • PRIVACY.md: SQLite idempotency records cache tool results (which can contain project data); rate counters expire by hour, not by token TTL; file permissions stated.
  • SAFETY.md showed a live approval token in its example audit entry, contradicting the fingerprinting implementation.
  • .env.example claimed audit retention needed manual cleanup; it is pruned at startup.

Packaged executable

Memory persistence only. better-sqlite3 is a native addon that cannot load from a single-file binary, so FORMA_PERSISTENCE_MODE=sqlite under pkg now fails at startup with the reason instead of "Could not locate bindings" later. Durable state requires running from Node (npx acc-forma-mcp-server). For a Node install, pnpm.onlyBuiltDependencies now permits the better-sqlite3 build that pnpm 10 skips by default.

Verification

43 tools · 7 mutating · 200 tests · typecheck/lint/build clean · pnpm audit --prod: no known vulnerabilities · manifest cross-checked against the tool registry · exe driven over the MCP protocol.

mcp-manifest.json.sha256 is attached so the manifest can be verified against this release.

v0.1.0 — First release: 43 tools, safety-first ACC/Forma MCP server

Choose a tag to compare

@KenLP KenLP released this 07 Jul 09:39

First tagged release, submitted to the Autodesk Marketplace (MCP Publisher program).

What is this?

A safety-first MCP server exposing Autodesk Construction Cloud (ACC / Forma) and Autodesk Platform Services (APS) APIs as 43 tools for LLM agents — BIM QC, issue management, clash triage, quantity take-offs, and cross-discipline change alerting.

Tool surface (43)

Domain Tools Highlights
Account Admin 4 projects, users, companies (2LO)
Data Management 6 hubs → projects → folders → items → versions
Issues 12 full CRUD + comments/types/attrs + 3D pushpin auto-placement (issues_pin_element)
Reviews 4 list/get/create/transition
AEC Data Model 8 GraphQL element queries, categories, aggregation, element positions
Model Derivative 3 manifest, full Revit parameters with server-side group_by take-offs, translation
Model Coordination 2 modelsets + clash-detection results
Model Properties 1 mp_diff_versions — version diff (ACC Compare Versions backend), the sensor for change alerts
ACC Docs 1 Docs-native viewable resolution
Meta 2 audit changelog + hash-chain verification

Safety pipeline (all 7 mutating tools)

auth-mode check → hub/project allow-list → readonly check → rate governance
  → business rules → dry-run preview + payload-bound approval token → execute → audit log
  • dry_run defaults to true — nothing writes without an explicit approval token
  • Tokens are payload-bound — changing any input invalidates the token
  • SHA-256 hash-chained audit log, independently verifiable via meta_verify_audit_chain
  • Global read-only mode, per-tool rate governance, hub/project allow-lists

Auth

Secure Service Account (SSA) + 2-legged OAuth. Credentials are customer-supplied via environment variables — nothing ships in the box. 3LO planned for a later phase.

Also in the box

  • acc-forma-mcp-server/core — env-free library subpath (auth + typed API clients) for sibling apps
  • prototypes/change-alert — cross-discipline change-alert pipeline (version diff → rule table → auto ACC Issue)
  • mcp-manifest.json — Autodesk Marketplace MCP capability manifest

Requirements

Node.js ≥ 20 · an APS app + SSA granted to your ACC project(s) — see the README Quickstart.

forma-mcp SEA build (v0.1.0)

Choose a tag to compare

@KenLP KenLP released this 11 Jun 11:33

Standalone Windows executable (Node.js bundled). Fetched by bim-orchestrator scripts/fetch-forma-mcp.ps1.