Changelog
All notable changes to MCP4Acumatica are documented here. The format is based on
Keep a Changelog, and the project follows
semantic-ish versioning. Release tags use the form 25R2-<version> (the 25R2
prefix tracks the targeted Acumatica release, 2025 R2).
[0.43.1] - 2026-10-28
Fixed
- Wrong guidance on
endswith()over GL periods. 0.43.0 told the model thatendswith()/startswith()on a GI period column fails with HTTP 404. Tested live after deploy, it returns an empty result with no error, which is worse: a model could report "no data". Theacumatica_run_inquirydescription and the docs now say so and tell the model an empty result from such a filter is not evidence of no data.
[0.43.0] - 2026-10-28
GL reporting through Generic Inquiries, after users on a 2025 R2 tenant hit a bare "terminated" error asking for branch P&L figures. Shared code; both hosts.
Added
acumatica_gl_branch_summary(tool 50). Revenue, expense and net income per branch per financial period, with totals per branch, from the grouped GIMCP_GL_BranchTypeSummary. TakesfromPeriod/toPeriod(YYYY-MM) and an optional comma-separatedbranchlist. Period ranges are applied on the server because the GI returns periods asMMYYYYstrings, which do not sort by date, andendswith()on them returns an empty result over OData with no error. Sign conventions are applied on the server too. A tenant without the inquiry gets an error saying an administrator must import it; nothing else changes there. Newsrc/lib/gl-summary.ts(pure, tested) andsrc/tools/gl-summary.ts.- Bundled GL inquiries in
acumatica/:MCP_GL_BranchTypeSummary.xmlandMCP_GL_BranchPeriodSummary.xml, with import steps inacumatica/README.mdand background indocs/generic-inquiries.md.
Fixed
- Errors masked as "terminated". When Acumatica closed the connection while the client read an error body, undici's
TypeError: terminatedreplaced the HTTP status. Every error path now reads the body defensively (readErrorBody()in newsrc/lib/odata-errors.ts), so the real status and message come through. - Misleading GI 404 text. A 404 from the GI OData endpoint said "Record not found". With a
$filterit now says the filter is the likely cause (string functions on grouped or formatted columns) and suggests exacteqcomparisons; without one it points at the inquiry name and Expose via OData.
Changed
acumatica_run_inquirydescription: GL period fields areMMYYYYstrings to compare with exacteq; grouped GIs emit meaningless key columns, so useselectFields; P&L questions go toacumatica_gl_branch_summary.
[0.42.0] - 2026-10-17
Security hardening from two read-only reviews of the Azure port on 2026-10-17. Shared code, so both hosts are affected unless an item says otherwise.
Upgrade effects users will notice, once each: (1) grants older than 90 days are expired on first use, so long-connected users reconnect; (2) every stored Acumatica token is refreshed once on first use, because 0.41.x rows hold a plaintext access token that 0.42.0 no longer accepts (the refresh rewrites the row encrypted); a 0.41.x row whose refresh token predates encryption altogether now forces a reconnect.
Security
- Consent phishing. The consent page now says who is asking: the client's self-declared name, the host that publishes its
client_id(or "registered itself with this server"), and the host the access will be sent to, all HTML-escaped. It warns for self-registered (DCR) clients and warns more strongly for unrecognised ones. Previously it showed none of this, so a link from any registered client looked identical to Claude's. Newsrc/auth/client-policy.ts. - Optional client allowlist:
MCP_ALLOWED_CLIENT_IDS/MCP_ALLOWED_REDIRECT_HOSTS. Setting either enforces it. A client is allowed when itsclient_idis listed or the redirect URI it uses has a listed host. Whichever variable is unset falls back to Claude's two CIMD URLs, or toclaude.ai,claude.comand loopback. An unlisted client is refused at/authorizewith 403 (never redirected), and on Azure DCR refuses unlisted redirect hosts at/register. Off by default, so existing deployments behave as before apart from the new consent-page details. - Path injection in entity and GI names.
entityName(list_entities,describe_entity) andinquiryName(run_inquiry,describe_inquiry) went into URL paths with only a length check. The URL parser treats\as/and resolves.., so..\..\..\t\T\api\odata\gi\MCPAccessreached the canary GI fromlist_entities, and#/?suffixes slipped past the User/Role denylist and the GI gate. Entity names must now match^[A-Za-z][A-Za-z0-9_]*$. GI names allow letters, digits, spaces and_ - . & , + @, and refuse path and OData syntax, including'( ), which would otherwise allowMCPAccess('x')key lookups into excluded GIs. Names are validated before the denylist, gate and cache key, and sent percent-encoded. Getter key values of.and..are refused. Newsrc/lib/path-names.ts. - Cross-user data in the GI schema cache.
acumatica_describe_inquirycached a real sample row in the shared cache and served it to the next caller, before that caller's own access was checked against Acumatica. The cache now holds field names and types only. A cached response returnssampleRow: null, and old cached sample rows are ignored.acumatica_describe_entityvalidates the entity name before using it as a cache key. - GI gate could fail open. The registry memo never expired, which on the long-lived Azure process pinned the first answer (including "no registry, gate inactive") for the life of the process. Any user could also clear
gi_registrywithacumatica_clear_cache, which turned the gate off. Now the memo lasts 5 minutes (60 s after a failure). The first successful build writes a permanentgi_gate:activemarker, and from then on a registry that cannot be loaded or rebuilt denies every GI instead of switching the gate off.gi_registryis no longer user-clearable. - Revoked access persisted until the refresh token died. The canary-GI gate ran only at login. It now also runs after every successful Acumatica token refresh, in
LockingTokenProvider(Azure) and theTokenManagerDurable Object (Cloudflare). A 403 deletes the stored token and returnsreauth, which revokes the user's MCP grants. A 404, 5xx or timeout leaves the session alone.checkAccessnow times out after 15 s. - Identity collapse. A userinfo or
UserSecurityInforesponse without a username became"unknown", so every such user would have shared one stored token, and a total lookup failure produced a random per-login key. Both cases now refuse the login with a "Could not identify your account" page. - SSRF guard bypass via IPv6 spelling (Azure).
isPrivateAddressonly recognised::ffff:followed by a dotted quad, but WHATWG URL serialises[::ffff:127.0.0.1]as[::ffff:7f00:1]. IPv6 is now parsed numerically. IPv4-mapped, IPv4-compatible, 6to4 and IPv4-translated forms are judged by their embedded IPv4 address, and NAT64 (64:ff9b::/96,64:ff9b:1::/48), Teredo, site-local and documentation ranges are refused. The CIMD fetch now keeps its timeout armed through the body read and streams the body with a 128 KB cap, where previously it buffered the whole body before truncating it. - Unbounded DCR (Azure). At most 5
redirect_uris, each up to 2,048 characters, and aclient_nameof up to 100 characters. A registration expires after 24 hours unless a user completes a login with it. - Request bodies (Azure).
bodyLimitof 16 KB on/register,/token,/revokeand/consent, and 1 MB on/mcp. Cloudflare limits its own/consent; its/tokenand/registerare handled inside@cloudflare/workers-oauth-provider. - MCP sessions per user (Azure). Capped by
MCP_MAX_SESSIONS_PER_USER(default 10). At the cap, the user's least-recently-used session is closed. - Security headers. Every auth-app response gets
X-Content-Type-Options: nosniff, plus HSTS over https. HTML also getsX-Frame-Options: DENY,Referrer-Policy: no-referrerand a CSP withframe-ancestors 'none', unless the page sets its own (the docs site keeps its CSP). This closes clickjacking of the consent button. The auth-page CSP omitsform-actionbecause browsers apply it to the redirect afterPOST /consent. /preflight(Azure) comparesADMIN_SECRETin constant time./healthreturns{"status":"ok"}only. The Azure host used to return the Acumatica URL, tenant, endpoint version and storage layout.- Tokens at rest. The Acumatica access token was stored in plaintext in
user_token:*rows (only the refresh token was encrypted), and pending-consent rows held both tokens in the clear for five minutes. Both are now AES-256-GCM encrypted, with associated data naming the row (user_token:{username},consent:{id}), so a ciphertext copied into another user's row does not decrypt. Newv2:ciphertext format;v1:(no AAD) is still read.decryptStringno longer passes unprefixed values through as "legacy plaintext". Newsrc/lib/token-sealing.ts, used by both token owners and both consent handlers. - Rate limiter raced and failed open. The concurrency check ran before two awaits and the slot was reserved after them, so parallel calls all passed; a store read error counted as 0 and a write error was swallowed. The slot and a per-process per-minute count are now taken synchronously before any await, and the effective count is the higher of the local and stored counts, so a failing store still limits.
acumatica_clear_cacheleaked other users' lookups. It returned the name of every key it deleted, and the cache is shared, so it revealed which entities and GIs other users had described. It now returns{ clearedCount }, bulk clears touch only the known metadata namespaces, and a specific target must beschema:orgi_schema:with a valid name.- Auth events never reached the durable trail (Azure).
logAuthEventwrote to stdout only, although the hosting guide said login, denial and consent events were in the Blob audit trail. They now are (setAuthEventSink, installed bysrc/server.ts), as are the newaccess_revokedevents. On Cloudflare stdout already reaches Logpush. - Raw values in HTTP-call and error logs.
logHttpCalllogged the model's params (filter expressions included) raw; it now appliesredactParamsForLog. Error text, which Acumatica sometimes builds by echoing the submitted filter or payload, is run through the SSN/card value redactors before it is logged, audited or returned to the model. - Refresh lease could be freed by the wrong holder (Azure).
TableLock.release()deleted unconditionally, so a holder whose lease had expired and been taken over would delete the new holder's lease. Release is now conditional on the etag it wrote. Lease TTL 15 s → 30 s. - No timeouts on Acumatica calls. The token refresh POST now times out at 10 s (it runs inside the refresh lease), the refresh-time canary re-check at 5 s, and every contract/OData call at 55 s (just under the rate limiter's 60 s stale-slot window). Both hosts.
- A failed write lost the rotated refresh token (Azure). IdentityServer retires the old refresh token when it issues a new one, so a storage blip at that moment stranded the user. The write is retried three times; if all fail, the call still succeeds on the new access token and a
token_write_failederror is logged. - OAuth one-time values were not atomic (Azure). Authorization codes and refresh tokens were read and then deleted, so two concurrent uses could both succeed. They are now consumed with an etag-conditional delete (
IKeyValueStore.consume(),consumeOnce()); the loser getsinvalid_grant. - Refresh-token reuse detection (Azure). A spent refresh token leaves a tombstone for the rest of its lifetime. Presenting it again revokes the whole grant (OAuth 2.1 §4.3.1), on the basis that one of the two parties holding it is not the client.
- Absolute grant lifetime (Azure). Grants expire
MCP_GRANT_MAX_LIFETIME_DAYS(default 90) after the login that created them, however often they are refreshed; refresh tokens are capped to the grant's end. Previously a grant refreshed at least monthly lived forever, and with it the result of a single consent. - CI could leak the publish profile.
.github/workflows/azure-deploy.ymlexposedAZURE_WEBAPP_PUBLISH_PROFILEas a job-level env var in the same job that rannpm ci, the tests and the bundler, so any dependency's code could read it. Split into a secret-freebuildjob that uploads the package as an artifact and adeployjob that holds the secret and runs no npm or repository code. - Write-tool audit log. The
tool_invocationentry for a write tool logged the rawpayloadJSON string. It now logs the payload parsed and field-redacted with the configuredREDACT_PATTERNS/REDACT_SKIP, the same as thewrite_mutationentry.
Changed
- Dependencies:
hono4.12.9 → 4.13.13,marked18.0.0 → 18.1.1,@modelcontextprotocol/sdk1.29.0 → 1.32.1. Type-check, tests and the Azure bundle pass unchanged. tsconfig.json(worker) now setsallowImportingTsExtensions, liketsconfig.node.json, so shared modules can use.tsruntime imports and be loaded bynode --test.
Docs
docs/azure-hosting-guide.mdgains "Client allowlist" and "Other security behaviour (0.42.0)" sections, and the four new variables in the configuration reference.docs/generic-inquiries.md,docs/upgrading-acumatica.mdanddocs/tool-reference.mddescribe the non-clearable registry, the fail-closed marker and the name rules..env.exampledocuments the new variables. CLAUDE.md gains a "Security Hardening (0.42.0)" section.
Tests
- Second review: +22 tests (suite now 183) in
token-sealing,rate-limiter,token-refresh-robustness(lease ownership against an etag-checking fake Table client, write retry), additions toclear-cache,hardening(log redaction),azure-table-kv-store(atomicconsume) andoauth-provider(concurrent code exchange, reuse revocation, grant lifetime). - First review: +47 tests (suite then 161):
client-policy,path-names,clear-cache,access-recheck(refresh-time re-check throughLockingTokenProviderwith stubbed fetch, and identity resolution),hardening(headers, session cap, writer log redaction), and additions tooauth-provider(IPv6 SSRF forms, capped body reads, DCR caps and TTL, allowlist enforcement) andgi-registry(fail-closed fallback).
[0.41.3] - 2026-10-17
Fixed
acumatica_list_entitiesno longer claims to sort. Acumatica's contract-based REST API does not support$orderby. It is not among the documented retrieval parameters ($filter,$select,$expand,$custom,$skip,$top), and the server drops it with HTTP 200 and no error. This was confirmed on a live 2025 R2 instance (endpointDefault/25.200.001):BillwithorderBy: "ReferenceNbr desc", with"Date desc", and with no orderBy returned the same first five records in key order. Combined withtopN, a model asking for "the newest N" was silently given the first N by key, which are usually the oldest. The tool now acceptsorderBybut never forwards it. Instead it wraps the response withorderByIgnored: trueand anorderByWarningthat tells the model to narrow by date range or threshold and sort the rows itself. The parameter is kept, not removed, because Zod would otherwise strip a model-suppliedorderBywithout notice, which is the same silent failure. The tool and parameter descriptions now say sorting is unsupported, andacumatica_describe_entityno longer mentions sorting. Affects the Cloudflare host equally, since this is shared tool code.
Docs
docs/odata-filtering.mdreplaces the$orderbysection with "Not Supported", covering why it matters with$top, the filter-then-sort workaround, and a note that the GI OData endpoint is a different API (its documentation shows$orderby, butacumatica_run_inquirydoes not expose it and it has not been verified live).docs/tool-reference.md,docs/example-prompts.md, andREADME.mdno longer showorderByin examples. CLAUDE.md gains a Known Issues entry.
Tests
test/odata-filter.test.tscoversorderByIgnoredNotice().
[0.41.2] - 2026-08-12
Changed
- Raised the per-query record cap from 1,000 to 3,000 for
acumatica_list_entitiesandacumatica_run_inquiry. Two independent limits gate this and both had to move:ACUMATICA_MAX_RECORDS(runtime config, validated ≤ 10,000) and a.max(1000)in each tool's Zod parameter schema. Because the handler computesMath.min(requestedTop, MAX_TOP), the schema cap bound first — raising only the config setting would have changed nothing, which is a genuinely confusing failure mode for an operator. The schema cap and themax Ntext in its description are now changed as a unit so they cannot disagree and mislead the model about its own limits.acumatica_list_generic_inquiriesdeliberately stays at 1,000: it returns inquiry names, where a higher cap is meaningless.
A higher cap does not make a total trustworthy. Acumatica's contract API reports no total count, so a result sitting at the cap is indistinguishable from a truncated one — at 1,000, at 3,000, at any limit. For aggregates (AR balance, revenue by customer), expose a parameter-free aggregated Generic Inquiry and call it by name:
acumatica_run_inquiryserves an explicitly-named GI even while GI discovery is gated off, so no MCPGIs/MCPGIFields registry is required for that. Higher caps also draw harder on the instance-wide Web Services API request budget, which is shared with every other integration on the instance.
[0.41.1] - 2026-08-12
First production deployment of the Azure host, against a live Acumatica 2025 R1 instance. Everything below was found by deploying, not by review.
Fixed
- The tenant is now percent-encoded in every OData URL. An Acumatica tenant login name may legally contain spaces and punctuation — the instance this was deployed against uses
Prod Copy 13Feb2025 - Standard Testing. The tenant is a URL path segment in/t/{tenant}/api/odata/gi/..., and the three runtime call sites (access-gate.ts, and both OData paths inacumatica-client.ts) interpolated it raw.preflight.tsalready encoded it, which is what made the inconsistency visible. An unescaped#would have truncated the URL outright, turning a working access gate into an inscrutable "misconfigured" verdict. The GI name is escaped on the same reasoning. Affects the Cloudflare host equally. - CI workflow was non-functional in three ways, all from having been written before any Azure resources existed and never run:
NODE_VERSIONpinned to20.xwhilenpm testrequires Node 22.6+ for--experimental-strip-types;AZURE_WEBAPP_NAMEleft at a placeholder, so a green build would have deployed to a nonexistent app; and a step-levelif: ${{ secrets.… }}, which GitHub rejects as an invalid workflow file because thesecretscontext is not in scope for step conditions. Deploy and health-check are now guarded on a job-levelenvvar, so a repo without the publish profile runs build/type-check/test and skips deployment cleanly instead of failing every push. docs/azure-hosting-guide.mdspecifiedNODE:20-lts, which App Service has retired —az webapp createrejects it. NowNODE:24-lts, with a pointer toaz webapp list-runtimesso the guide degrades as versions roll off.
Docs
docs/upgrading-acumatica.md§1 now warns that the contract endpoint version does not track the Acumatica release. A 2025 R1 instance was found to expose noDefaultendpoint above24.200.001— neither25.200.001(this repo's default) nor25.100.001(the intuitive guess) existed, and setting either would have 404'd all 38 getter tools. Also documents that an unauthenticated probe cannot confirm a version, because instances commonly return401for every path under/entity/— a limitationrunPreflight()'s endpoint check inherits.docs/azure-hosting-guide.mdgains a "Field notes from a first production deployment" section covering the silent failure modes: a Connected Application secret that does not exist until the record is saved (presenting asinvalid_clientwith a real-looking value);PUBLISH TO THE UIclearing the Expose via OData checkbox, which yields a canary GI that looks correct and still 404s the access gate; the@tenantsuffix onclient_id; Claude Desktop's refusal of non-HTTPS connector URLs; a Private DNS zone shadowing an entire domain inside a VNet; and Git Bash rewriting/subscriptions/...arguments into Windows paths.
[0.41.0] - 2026-07-26
Added
- Azure App Service host — a second, fully-featured deployment target. The server now runs on Azure App Service (Linux, Node.js) with Azure Table Storage and Azure Blob Storage, as an alternative to Cloudflare Workers. Feature parity with the worker: all 49 tools, per-user Acumatica OAuth, the canary-GI access gate, the consent interstitial, sensitive-field redaction, rate limiting, durable NDJSON audit logs, and grant revocation for transparent re-auth. New entry point
src/server.ts; seedocs/azure-hosting-guide.md(served at/docs/azure-hosting-guide),.env.example,azure/deploy.sh, and.github/workflows/azure-deploy.yml. - Self-hosted OAuth 2.1 authorization server (
src/oauth/). Replaces@cloudflare/workers-oauth-provider, which cannot run outside Workers. Implements RFC 8414 authorization-server metadata, RFC 9728 protected-resource metadata, RFC 7591 Dynamic Client Registration, Client ID Metadata Documents (CIMD), the authorization-code flow with mandatory PKCE S256, rotating refresh tokens, RFC 7009 revocation, and grant-based revocation. Tokens are persisted only as SHA-256 hashes, and validity requires the grant record to still exist — so revoking one grant invalidates every token derived from it immediately, with no token enumeration. Since CIMD makes this server fetch a caller-chosen URL, it re-implements by hand what Cloudflare'sglobal_fetch_strictly_publicflag provided: https-only, default port, no redirects, and every resolved address checked against the private/loopback/link-local ranges (notably blocking the instance metadata service at169.254.169.254). - Azure storage adapters.
AzureTableKVStoreimplementsIKeyValueStoreover Table Storage: keys are split intoPartitionKey/RowKeyat the first colon so prefix listing is a single-partition range scan; values are chunked acrossv0..vNbecause a Table property caps at 64 KiB while cached entity schemas and the GI registry exceed it; and because Table Storage has no native TTL,expirationTtlbecomes anexpiresAtcolumn enforced on read plus a 15-minute sweeper (without which the per-minute rate-limit buckets would grow without bound).AzureBlobIndexStore/AzureBlobLogStoreback the schema index and the audit trail. LockingTokenProvider— theTokenManagerDurable Object's replacement. Acumatica's IdentityServer rotates the refresh token on every use, so concurrent refreshes race and the loser is wrongly treated as permanently dead. Cloudflare gets the lock free from a per-user DO; on Node refreshes are serialized by in-process coalescing plus a Table Storage lease, so scaling the plan out cannot reintroduce the race. A holder that dies mid-refresh does not wedge the user — the lease expires and the next caller takes it over.- MCP session manager (
src/mcp/session-manager.ts) usingStreamableHTTPServerTransport, with per-session tool registration bound to the authenticated user, session-to-user binding (a session id cannot be borrowed with another user's token), idle reaping, and audit-buffer draining onSIGTERM. - Tests (+42, suite now 112).
test/oauth-provider.test.tscovers the authorization server as a security boundary — PKCE verified andplainrefused, codes single-use even after a failed exchange, exact redirect-URI matching, client authentication, refresh rotation, hash-only token storage, immediate revocation, and the SSRF address classifier.test/azure-table-kv-store.test.tscovers key mapping, prefix-preserving encoding, chunking, TTL semantics, and the sweeper against a fakeTableClient.
Changed
- Extracted the host-independent core so the two deployments cannot drift. The tool surface (
src/mcp/register-tools.ts), the redaction/audit pipeline (src/mcp/tool-invocation.ts), the canary-GI access gate and identity lookup (src/auth/access-gate.ts), the login/consent pages (src/auth/auth-pages.ts), and the docs-site catalog and chrome (src/docs/docs-pages.ts,src/docs/docs-chrome.ts) are now single implementations that both hosts compile.src/index.tsdrops from 681 to 274 lines with no behaviour change. This is deliberate: tool descriptions encode hard-won Acumatica behaviour, and redaction is the last line before ERP data reaches an external model — a silent divergence in either would be damaging and invisible. EnvandOAuthProviderHelpersmoved tosrc/types/cloudflare-env.ts, leavingsrc/types/acumatica.ts(which holds the portableAppEnv) free of@cloudflare/workers-types.writeLogsToR2()now takes a structuralLogObjectStoreinstead ofR2Bucket. Together these make the shared core compile under a Node type environment; no behaviour change on Cloudflare.npm run typechecknow checks both hosts (tsconfig.jsonfor the worker,tsconfig.node.jsonfor Azure). The two cannot share one config because their global environments conflict onfetch/Response/crypto.- Explicit field declarations replace constructor parameter properties in the new modules, and
src/oauth/uses explicit.tsimport extensions. Both are required fornode --test's type-stripping mode to load them, which is what makes the OAuth server unit-testable rather than only reachable over HTTP. src/lib/crypto.tsnow types its byte helpers asUint8Array<ArrayBuffer>; the defaultArrayBufferLikeadmitsSharedArrayBufferand is not assignable to theBufferSourcethatcrypto.subtlerequires under Node's lib definitions.
Fixed
- Identity-lookup fallback no longer collapses distinct users onto one token record (affects Cloudflare too). When OIDC
userinfoand theauthcontract both returned a non-OK status without throwing,/callbackpreviously fell through withacumaticaUsername = "unknown", so every user who hit that path shared theuser_token:unknownrecord — one user's Acumatica token could then be used to serve another's session. That path now returns the same high-entropy per-login fallback (user_{state-uuid}) the throwing path already used, which the original code's own comment argued for. Behaviour is unchanged whenever either identity endpoint succeeds, which is the normal case.
[0.40.0] - 2026-07-12
Added
- First write tool:
acumatica_create_or_update_customer. Creates a new Customer or updates an existing one via Acumatica's PUT-as-upsert semantics (CustomerID present = update; omitted = create with auto-number). Accepts a JSONpayloadwith a curated allowlist of top-level fields (CustomerID,CustomerName,CustomerClass,Status,Email,Phone1,MainContact) — and, forMainContact, a nested allowlist (Email,Phone1,Address1,Address2,City,State,PostalCode,Country); any other field, top-level or nested, is rejected before anything is sent to Acumatica. Includes a two-phase confirmation guard: calling withoutconfirm: 'true'returns a dry-run preview of the wrapped payload -- no data is changed. Disabled by default; an admin must toggle "Enable Write Tools" at/docs/admin/settingsbefore any mutation reaches Acumatica. - Write-tool infrastructure (registry-driven, reusable for future entities).
src/tools/writer-registry.tsmirrors the existingGETTER_TOOLSregistry pattern: each entry inWRITER_TOOLSis a spec (name,description,entity,keyField?,expand?,allowedFields,nestedAllowedFields?) and a sharedrunWriter()handler does all the work. Adding Vendor, SalesOrder, or action tools will be one registry entry each.src/index.tsregisters them in a loop identical to the getter loop, so every write tool inheritscallTool()audit logging, response redaction, error formatting, and auth-grant-revoke for free. writes_enabledadmin kill-switch. NewCONFIG_KEYSentry (src/lib/config.ts) backed by theACUMATICA_WRITES_ENABLEDenv var; KV-overridable at runtime from/docs/admin/settings. Default is off.runWriter()checks this before any payload validation.- Mutation audit logging (
logMutation), persisted to R2. NewlogMutation()insrc/lib/logger.tsemitswrite_mutationentries for every mutation attempt -- dry-run previews and committed writes -- including the redacted payload field values, entity, record key, anddryRunflag. The entries are buffered to the R2 audit trail by the DO'scallTool(alongsidetool_invocation), so they reach the admin console and not justwrangler tail. Field values are redacted using the same admin-configuredREDACT_PATTERNS/REDACT_SKIPas read responses, and the redacted payload (never the raw one) is what appears in the HTTP-call log — so nested PII can't leak into logs. - Pure utility modules for testability.
wrapFields/unwrapFieldsextracted fromacumatica-client.tstosrc/lib/field-transforms.ts(zero imports). Pure payload validation extracted tosrc/tools/writer-validation.ts(zero imports). Both are re-exported from their original locations so no import sites change. - Tests.
test/field-transforms.test.ts(13 cases: wrapFields/unwrapFields round-trips, nested/array/idempotent/null) andtest/writer-validation.test.ts(21 cases: size cap, JSON parse, type check, top-level + nested allowlist). Bring the test suite to 70 total tests.
[0.39.1] - 2026-07-10
Docs
- Corrected drift in
docs/architecture.md. The main architecture diagram now shows the second Durable Object (TOKEN_MANAGER, per-user token-refresh serializer), the R2 buckets (mcp4acumatica_logs,INDEX_STORE), and the docs/admin surface; distinguishes the Contract-REST path from the OData GI path (access gate + GI tools); and de-hardcodes the endpoint name (Defaultis configurable viaACUMATICA_ENDPOINT_NAME). Rewrote "Why Durable Objects?" to state the real driver — remote MCP is a stateful, session-scoped protocol and a DO is Cloudflare's only stateful, consistently-addressable primitive, so theagentsSDK'sMcpAgentis a DO — rather than the three secondary benefits it previously led with. Replaced the stale registry-era File Structure block (customers.ts/vendors.ts/"42 tools") with the current layout, corrected theEnv/AppEnvsection (Envno longer extendsAppEnv;init()builds a freshAppEnvand never mutatesthis.env) and the Cloudflare-adapter snippet, and reconciled tool counts (42/44 → 48). No code change.
[0.39.0] - 2026-07-09
Changed
- Login gate decoupled from the role concept; canary GI name is now configurable. The access gate never actually checked Acumatica role membership — it only checks whether a user's token can read the canary Generic Inquiry over OData (200 → allowed, 403 → denied). The code now says so:
checkUserRole()→checkAccess()(the unused_requiredRoleparameter is gone), the two user-facing pages no longer name a role ("your account does not have access to this AI assistant"), and the audit-log reasonsmissing_role/role_check_misconfiguredare nowaccess_denied/access_check_misconfigured. The hardcodedMCPAccessGI name is replaced by a newACUMATICA_CANARY_GIenv var (default"MCPAccess", so existing deployments are unaffected), replacing the removedACUMATICA_MCP_ROLEvar (which was cosmetic — it only filled in page text and was never used in the check). - Docs reframe the gate as "restrict the canary GI however you like; a marker role is the recommended way" rather than mandating a role. Updated across
README.md,docs/architecture.md,docs/generic-inquiries.md,docs/upgrading-acumatica.md, andCLAUDE.md. No behavior change for a correctly-configured instance; theMCPAccessGI +MCP Accessrole setup continues to work exactly as before.
[0.38.5] - 2026-07-06
Fixed
/authorizereturns a diagnosable error instead of an opaque 500 when a CIMD client_id can't be resolved.parseAuthRequest()is now wrapped in try/catch: a metadata-document fetch failure returns 502 with a message stating it's the client's metadata endpoint that's down (not this server), a malformed/invalidclient_idreturns 400, and both log anauthorize_parse_failedline (client_id + error code only, no secrets) forwrangler tail. Surfaced by a real incident — a transient 503 outage of Claude.ai's CIMD metadata endpoints (claude.ai/oauth/*-client-metadata) made the server-side CIMD fetch fail, which took down every CIMD client (Claude.ai web + current Claude Desktop) with an opaque 500 while DCR clients kept working. Server and Acumatica upstream were healthy throughout; the outage was client-side and recovered on its own. Code change is defensive only — no behavior change for successful auth flows.
[0.38.4] - 2026-06-29
Added
- Acumatica session & license model documented. New "Acumatica Session & License Model" section in
docs/architecture.mdexplains how the server consumes Acumatica's two independent license limits — Max Web Services API Users (concurrent server-side sessions; HTTP 429 at sign-in when exceeded) and Concurrent Web Services API Requests + requests-per-minute (throughput throttle; queues then delays) — and when an API-user seat is released: under the plainapiscope each access token is a single session that Acumatica closes automatically at token expiry (~1 h), so the stateless client (no session-cookie reuse, no/entity/auth/logout) never leaks seats. Concurrent seats consumed ≈ distinct users active within a rolling ~1 h window, not per request. Added a load-bearing-scope warning (keepapi, neverapi:concurrent_access) todocs/self-hosting-guide.mdand a Key Design Decision note in CLAUDE.md. Docs-only; no code change.
[0.38.3] - 2026-06-28
Added
describe_inquiryrefuses parameterized GIs too. Extends the 0.38.1run_inquiryguard toacumatica_describe_inquiry, which would otherwise sample a parameterized GI via$top=1and infer a field schema from default/unfiltered (wrong) data. It now refuses parameterized GIs (the sharedparameterizedGiNames()$metadatacheck), checked before the schema cache so a stale pre-guard schema isn't served, and failing open if$metadatais unavailable. Both GI query tools are now consistent.
[0.38.2] - 2026-06-28
Changed
- Inactive gate no longer enumerates GIs (behavior change). When no GI registry is built,
acumatica_list_generic_inquiriespreviously returned every OData-exposed GI (fail-open) — handing the model an uncurated menu that can include GIs returning silently wrong data. The inactive state now suppresses discovery:listreturns no GIs (with a note on how to enable the registry), whilerun_inquiry/describe_inquirystill serve a GI named explicitly. Net inactive semantics: no discovery; explicit-name access only. This restores the original spec intent (registry-absent ⇒ no uncurated enumeration) and reconciles a contradiction indocs/gi-discovery-plan.md(§2 "deny all" vs. §3 "inactive = allow all"). Instances that relied on the model auto-discovering GIs without a configured registry will now see an empty list until they curate (or name GIs explicitly).
[0.38.1] - 2026-06-28
Added
run_inquiryrefuses parameterized Generic Inquiries. A GI with parameters, queried over OData without those parameters (as the agent does), returns default/unfiltered — i.e. wrong — rows with no error, which the model can't detect.run_inquirynow detects parameterized GIs (the{Name}_WithParameters$metadatacheck, extracted into a shared pureparameterizedGiNames()ingi-registry.tsand reused by discovery) and refuses them outright regardless of gate state, closing the inactive-state hole where an uncurated GI could feed the model silently-wrong data. Fails open if$metadatais unavailable (no false refusals).
Changed
- The GI exposure gate is no longer documented as "optional." It is a data-correctness control — leaving GIs uncurated can feed the model wrong data — and is now framed as strongly recommended across the README,
docs/generic-inquiries.md,docs/tool-reference.md, and CLAUDE.md. Added a prominent warning that parameterized GIs return silently wrong data over OData, and corrected a bullet that incorrectly claimed parameterized GIs "can't be queried over OData."
[0.38.0] - 2026-06-28
Added
- Generic Inquiries documentation + rationale. New
docs/generic-inquiries.md(served at/docs/generic-inquiries, linked from the README) explains why the GI exposure gate exists — a mature instance accumulates hundreds of GIs built for human screens, and surfacing them all floods the model's context and degrades GI selection — plus which GIs to expose vs. leave unexposed, and the setup. The README gains a rationale-first "Generic Inquiry exposure to AI" section. - Bundled Acumatica setup package (
acumatica/). Import the gate's Acumatica-side prerequisites instead of hand-building them:MCP4Acumatica-AIDescription.zip(customization project — theGIDesign.UsrExposedToMCP,GIDesign.UsrAIDescription, andGIResult.UsrResAIDescriptioncustom fields + SM208000 form changes), theMCPGIs/MCPGIFields/MCPAccessGeneric Inquiry definitions, and an import-order README with the feed-column → code mapping.
Changed
- GI registry feed contract aligned to the published feed GIs.
FeedGiRow/FeedFieldRowand thegi-registry.tsread sites + tests now read the feeds' actual OData property names (Name,ScreenID,DesignID; andName,SchemaField,Caption,LineNbr,AIDescription) rather than the earlierInquiryTitle/EntryScreen/GIDesign_designID/DataField, which did not match the GIs. Acumatica derives each OData property name from the result-column caption, so the captions are the contract — renaming one now requires the matching change ingi-registry.ts(documented in CLAUDE.md andacumatica/README.md). Without this alignment, an activated registry would have built empty.
Fixed
- Documented the customization prerequisite. The gate's custom fields live on the system DACs
GIDesign/GIResult, so they require a customization project — the docs previously implied they could be added from the GI form. Corrected the field names (UsrExposedToMCPcasing,UsrResAIDescription) and the feed-column names across CLAUDE.md, README,docs/tool-reference.md, anddocs/generic-inquiries.md.
[0.37.0] - 2026-06-27
Added
- Generic Inquiry opt-in gate + curated registry. Layered onto the existing GI tools (
acumatica_run_inquiry,acumatica_list_generic_inquiries,acumatica_describe_inquiry) — no new tools, and not per-GI dynamic tools (that remains a deferred workstream; seedocs/gi-discovery-plan.md). When an Acumatica admin configures the registry, only GIs explicitly flaggedExposedtoMCPare reachable; until then the gate stays inactive and all OData-exposed GIs remain available exactly as before. The REST/entity getters are unaffected.- Lazy pull, no service account, no Cron. The registry is built on demand with the requesting user's token (
getGiRegistry(),src/lib/gi-registry-build.ts) when the KV cache (cache:gi_registry) is stale, then shared for everyone. The gate list + field schemas are global GI/field metadata (never business rows), so building from whoever's token is in hand is safe; execution still uses each user's own token and row-level access. Chosen after confirmingclient_credentialsis disabled on the Connected App. - Feeds. Two parameter-free, OData-exposed GIs supply the data:
MCPGIs(one row per exposed GI) andMCPGIFields(one row per output column). Field types come from OData$metadata(authoritative), with runtime sample inference as fallback; curatedUsrAIDescriptiontext is surfaced bydescribe_inquiry/list_generic_inquiries. Pure assembly logic (parseEdmxTypes/assembleRegistry/checkGiGate) lives in the unit-tested leafsrc/lib/gi-registry.ts. - Gate semantics — fail-closed once active. No registry → inactive (no dead period during rollout). Registry present → only listed GIs allowed; an empty list denies all; feed/canary GIs (
MCPGIs/MCPGIFields/MCPAccess) are always denied. A failed rebuild serves the cached last-good rather than flapping. Enforced inrun_inquiry+describe_inquiry;listshows only gated GIs. - Fixed-width trim.
cleanGiRow/cleanGiRows(src/lib/gi-rows.ts) trim space-padded fixed-width key values (e.g."GARES ", which break equality filters) and strip@odata.*everywhere a GI row reaches the model. - Cache invalidation.
acumatica_clear_cachewith no argument (ortarget=gi) now also clearsgi_registry. - Operator setup (to activate): grant the
MCP Accessrole read access toMCPGIs+MCPGIFields, add theUsrExposedtoMCP/UsrAIDescriptionextension fields, and tag the GIs to expose. See README /CLAUDE.md→ "GI Tool Gating & Registry". - Tests: new
test/gi-registry.test.tscovers gate semantics, row cleaning, and EDMX type parsing / registry assembly.
- Lazy pull, no service account, no Cron. The registry is built on demand with the requesting user's token (
- Docs:
docs/upgrading-acumatica.md§4 now lists the GI registry (cache:gi_registry) among the runtime caches to clear after an upgrade (field types track$metadata, so an endpoint-version change is exactly when a refresh matters).docs/tool-reference.mddocuments the gate.docs/gi-discovery-plan.mdrecords the design and the deferred per-GI-tool workstream.
[0.36.0] - 2026-06-18
Added
- Configurable contract-API endpoint name. The contract base URL
/entity/{name}/{version}previously hardcodedDefaultas the endpoint name. A new optionalACUMATICA_ENDPOINT_NAMEenv var (defaultDefault) lets the server target a custom Web Service Endpoint (SM207060). Threaded throughAcumaticaClient, the preflight endpoint probe (which now reports the configured name in its pass/fail/remediation text), and the admin diagnostics input. Existing deployments need no change — the var is optional and falls back toDefault. - Endpoint-aware getter 404s. The 38
acumatica_get_*tools use entity names curated for the stockDefaultendpoint. On a non-Defaultendpoint, a 404 is ambiguous — wrong key, or the endpoint simply doesn't expose that entity (Acumatica returns the same status for both).runGetter()now re-messages the 404 (viaendpointAware404Message()in the import-free leafsrc/tools/getter-errors.ts) to surface the "entity may not be exposed by this endpoint" cause and point the model atacumatica_describe_entity/acumatica_search_schema. OnDefaultthe plain "verify the ID" message is kept. Registration is deliberately not gated on a live entity catalog (the contract API needs a per-user token, so there's no auth-free way to enumerate entities at DOinit()). New unit tests cover the re-messaging. - Docs:
docs/upgrading-acumatica.md§7 now documents how to add or extend a getter entry inGETTER_TOOLS(including for custom/extended entities), and §1 covers the custom-endpoint case.
Fixed
- Deploy-to-Cloudflare GUI no longer blocks on empty
REDACT_PATTERNS/REDACT_SKIP. These shipped in thewrangler.jsoncvarsblock as empty strings; the GUI deploy flow treats every declared var as required and won't let you proceed with a blank value. They're optional in code (read defensively, undefined-safe), so they've been removed from the committed template — add them later via the dashboard (Variables and Secrets) or the admin console (config:redact_patterns/config:redact_skip) if you want to extend/whitelist redaction. - GUI deploy KV-namespace guidance. Cloudflare auto-provisioning derives a new KV namespace's title from the Worker name, so both KV bindings (
TOKEN_STORE,OAUTH_KV) default tomcp4acumaticaand collide ("Cannot provision a KV Namespace … because it already exists"). README now flags that the two namespaces need distinct names, how to clear the orphan left by a failed attempt, and that the terminal installer (one shared namespace) avoids the issue entirely. - Removed the bogus "set the scope" step from the Connected Application setup. Acumatica's Connected Application (SM303010) has no scope field — OAuth scopes (
api openid profile email offline_access) are sent request-side by the server in the/authorizeURL. Corrected every reference (README.md,CLAUDE.md,docs/upgrading-acumatica.md,docs/self-hosting-guide.md, and the code comment inacumatica-auth-handler.ts).
[0.35.0] - 2026-06-13
Fixed
substringof/startswith/endswithfilters silently returned[]. Acumatica's contract-REST$filterparser returns an empty set (HTTP 200, no error) when a boolean string function is compared to a literal —substringof('X', Field) eq true— but works for the bare function. Models habitually appendeq true(valid OData v3), so every partial-text/"contains" search returned zero rows.normalizeODataFilter()(src/lib/odata-filter.ts) now strips a trailingeq trueoff the three boolean functions before the request goes out, for bothacumatica_list_entitiesandacumatica_run_inquiry.eq falseis left verbatim — the only equivalent negation (not substringof(...)) is rejected by the contract API with a 500. (This was a parser quirk, not a URL-encoding bug.)
Added
- Structured errors for non-optimizable
$filterqueries. Acumatica's OData filter binder 500s when it can't apply a$filterto a complex document entity (unbound/computed/BQL-delegate field →CannotOptimizeException, a child-collection field → "not a single value", a type mismatch, or an unknown field).getFilterErrorKind()(src/lib/complex-entities.ts) classifies these andacumatica_list_entitiesreturns a structured, actionable error (filterNotApplicable: true,filterErrorKind, a key-field hint, and a pointer toacumatica_describe_entity/ a Generic Inquiry) instead of an opaque "Acumatica internal error". - False-negative guard for complex document entities. When
acumatica_list_entitiesreturns 0 rows on a non-key filter against a known complex entity (PurchaseOrder,Shipment,PhysicalInventoryCount), the response now includes apossibleFalseNegative: truewarning — Acumatica can silently drop a non-optimizable filter and return[]even when matching records exist, so the model is told not to conclude "no such record exists" and to verify with a keyed lookup or a Generic Inquiry. - Tool descriptions for
acumatica_list_entities/acumatica_run_inquirynow tell the model to write boolean functions bare (noeq true) and call out the complex-document-entity filtering limitation. - Unit-test harness — first tests in the repo (
test/, Node's built-innode --testrunner with TypeScript type-stripping, zero new dependencies), wired tonpm test. CoversnormalizeODataFilterand the filter-error classification helpers.
[0.34.2] - 2026-06-11
Fixed
- The OIDC-fallback
UserSecurityInfoidentity lookup in/callbackhardcoded the contract version25.200.001instead of usingACUMATICA_ENDPOINT_VERSION. On a re-targeted instance (e.g. 26R1) that path would 404, silently dropping users to the UUID-based key fallback and breaking token reuse across sessions. Now uses the configured endpoint version like every other contract-API URL. (Originally authored by Adam Coates in the hoser-dev fork.)
[0.34.1] - 2026-06-11
Docs
- Documented the DAC-layer stance: DAC metadata is intentionally not a tool — stock DACs are covered by Acumatica's public DAC Schema Browser (
help.acumatica.com/dacBrowser, reachable via the client's web access), custom DACs by the customization source, and API-exposed custom fields by the existing schema tools. (A DAC-via-GI customization was prototyped and dropped as redundant + high-maintenance.) - Added a "DAC-layer questions" pointer to
/docs/schema-discovery; removed a third-party-comparison aside and a stale "DAC index (planned)" item from the upgrade guide.
[0.34.0] - 2026-06-11
Added
- Schema-knowledge tools for power users building integrations and customizations:
acumatica_search_schema— find entities by name/keyword and/or "which entities contain field X".acumatica_get_schema_entity— full offline schema for one entity (fields + types, actions,$expandsub-entities).acumatica_list_schema_entities— browse/filter the entity catalog by name/module prefix.acumatica_explain_gi_xml— stateless structural summary of a pasted Generic Inquiry definition XML (tables, joins, parameters, filters, results).
- These answer from an offline schema index built from your instance's own
swagger.json(always current, includes your customizations, no third-party IP), instead of sampling live records to infer shape. The three index-backed tools register only when the index is present; the GI explainer is always available. - New platform abstraction
IBlobStore(CF implCloudflareR2BlobStore) onAppEnv.indexStore, backed by a newmcp4acumatica-indexR2 bucket (INDEX_STORE). Self-hosting story preserved. - Open-source ingestion scripts (
scripts/build-schema-index.mjs,scripts/upload-indexes.mjs) +npm run build-index;setup.shbuilds/uploads the schema index automatically after deploy whenswagger.jsonis present. - New
/docs/schema-discoverydocumentation page.
Notes
- Acumatica documentation lookups are intentionally not a tool — the public Help Wiki (https://help.acumatica.com/) is reachable via the AI client's own web search. DAC metadata and GI XML example libraries are planned as later, private-index workstreams.
[0.33.2] - 2026-06-08
Added
- This
CHANGELOG.md(full history reconstructed from git tags/commits) and a/docs/changelogpage on the documentation site.
Docs
- Commit and close-session checklists now include a changelog-update step.
[0.33.1] - 2026-06-07
Fixed
- Sessions no longer die after ~1 hour of idle. Root cause:
/authorizenever requested theoffline_accessscope, so Acumatica/IdentityServer issued no refresh token — the stored refresh token was empty and every refresh failed with400 invalid_request. Now requestsoffline_access(the Connected App must permit it). TokenManagerreadToken()reconciles DO storage vs KV by recency, so a failed callback seed can't pin a stale, already-rotated token.
Added
token_resolve_outcomediagnostic logging (reason on every non-ok token resolution).- Self-hosting guide now documents the
offline_accessrequirement and theITokenProviderserialization step.
[0.33.0] - 2026-06-07
Changed
- Per-user token-refresh serialization via a new
TokenManagerDurable Object. All token access for a user funnels through one globally-unique DO (idFromName(username)), coalescing concurrent refreshes. Eliminates the cross-isolate rotation race where concurrent sessions reused a rotated refresh token and one was spuriously evicted. - Token logic kept platform-agnostic behind a new
ITokenProviderabstraction onAppEnv(CF implDOTokenProvider; self-host = a distributed lock).
Docs
- Documented that Claude.ai authenticates via CIMD (not DCR), and recorded the Claude.ai reconnect/dead-state and
/authorize-500-on-bad-client_id findings.
[0.32.1] - 2026-06-06
Fixed
- Dead refresh tokens are now classified by HTTP status (any
4xx→ re-auth;5xx/429→ transient), not by matching theinvalid_grantstring — Acumatica's400body doesn't reliably parse to that code, which previously made the model loop on "try again shortly" instead of re-authenticating.
[0.32.0] - 2026-05-29
Added
- Transparent re-auth on a dead Acumatica refresh token: a
ReauthRequiredErrorrevokes the user's MCP grant so the client silently re-runs OAuth instead of a manual disconnect/reconnect.
[0.31.1] - 2026-05-10
Docs
- Documented the Generic Inquiry "no description metadata" gap and three potential cure paths.
[0.31.0] - 2026-05-10
Added
CONTRIBUTING.mdandSECURITY.md;.claude/gitignored; anonymized theworkers.devhostname in tracked config.
[0.30.1] - 2026-05-10
Changed
- Set
preview_urls: truein the trackedwrangler.jsoncso deploys don't flip it off on config drift.
[0.30.0] - 2026-05-10
Added
- GUI install path ("Deploy to Cloudflare" button) with
wrangler.jsoncas the tracked deploy template; one-shotsetup.shand one-lineinstall.sh. - Preflight diagnostics (
/docs/admin/preflight) and/callbackOAuth-error mapping.
Changed
- Tool-description rework (instance-specific ID wording, lookup pointers, expand/denylist/cache disclosures);
runGetterempty-string guard for required path params.
[0.29.1] - 2026-04-16
Fixed
- Persist the DO log buffer to
ctx.storageso a buffer flush survives DO eviction (alarm runs on a fresh instance).
[0.29.0] - 2026-04-16
Security
- Closed the full security-audit review (all critical/high/medium/low items).
[0.26.1] - 2026-04-16
Fixed
- Use a full UUID (not an 8-char slice) for R2 log filenames to avoid collisions.
[0.26.0] - 2026-04-16
Security
- Closed audit items M1, M2, M5, M6.
[0.25.0] - 2026-04-16
Security
- Closed audit criticals C1–C3 and mediums M3, M7.
[0.24.1] - 2026-04-16
Fixed
- Flush the audit-log buffer on a DO alarm, not only on the next log arrival.
[0.24.0] - 2026-04-16
Changed
- Removed the server-side pagination cooldown guard in favor of a structured pagination-refusal envelope (
truncated,paginationSupported: false,actionRequired). - Fixed the
acumatica_max_recordsKV override and hardenedtopNcoercion.
[0.23.2] - 2026-04-16
Changed
- Sped up the admin log viewer (streaming server-side pagination) and buffered DO logs into fewer R2 files.
[0.23.1] - 2026-04-09
Fixed
- DO tool logs weren't visible in the admin console — write them directly to R2 from the DO.
[0.23.0] - 2026-04-09
Added
- Storage abstraction layer (
IKeyValueStore+AppEnv) for platform portability; self-hosting guide.
[0.22.1] - 2026-04-09
Docs
- Added the close-session procedure to CLAUDE.md.
[0.22.0] - 2026-04-09
Added
- Admin console: log viewer, settings management, and R2 Logpush.
[0.21.0] - 2026-04-08
Added
- Pagination guard and anti-pagination tool descriptions (later superseded by the 0.24.0 refusal envelope).
[0.20.2] - 2026-04-08
Docs
- Documented access control, consent, redaction, and audit logging.
[0.20.1] - 2026-04-08
Changed
- Renamed the project to MCP4Acumatica.
[0.20.0] - 2026-04-08
Added
- KV-backed metadata cache (entity schemas 24h; GI lists/field schemas 1h) and the
acumatica_clear_cachetool.
[0.19.1] - 2026-04-08
Changed
- Clarified the
topNmax-1000 limit in tool descriptions.
[0.19.0] - 2026-04-08
Added
- Access controls: canary-GI role gate, consent interstitial, sensitive-field redaction, and enhanced audit logging.
[0.18.1] - 2026-04-08
Changed
- Filter parameterized GIs out of
acumatica_list_generic_inquiries.
[0.18.0] - 2026-04-08
Changed
- Renamed
ACUMATICA_COMPANY→ACUMATICA_TENANT; added a configurable record limit; restored GI tools over OData with OAuth 2.0 Bearer tokens.
[0.17.0] - 2026-04-07
Changed
- Removed unused code and consolidated the KV namespaces.
[0.16.0] - 2026-04-07
Added
- GI discovery tools:
acumatica_list_generic_inquiries,acumatica_describe_inquiry.
[0.15.0] - 2026-04-07
Added
- CIMD support alongside DCR; OpenID Connect discovery endpoint (for ChatGPT compatibility).
[0.14.0] - 2026-04-07
Added
- Documentation website served from
/docson the same Worker.
[0.13.0] - 2026-04-07
Added
- Schema discovery tool:
acumatica_describe_entity.
[0.12.0] - 2026-04-07
Added
- Generic list/search tool:
acumatica_list_entities.
[0.11.0] - 2026-04-06
Added
- Generic Inquiry tool:
acumatica_run_inquiry.
[0.10.0] - 2026-04-06
Added
- CRM Activity read-only tools: Email, Event, Activity, Task.
[0.9.0] - 2026-04-06
Added
- HR & Payroll read-only tools: Employee, ExpenseClaim, TimeEntry.
[0.8.0] - 2026-04-06
Added
- Shipping & Fulfillment read-only tools: Shipment, SalesInvoice.
[0.7.0] - 2026-04-06
Added
- Sales & CRM read-only tools: Contact, BusinessAccount, Opportunity, Lead, Salesperson.
[0.6.0] - 2026-04-06
Added
- Service & Field read-only tools: Case, ServiceOrder, Appointment.
[0.5.0] - 2026-04-06
Added
- Projects read-only tools: Project, ProjectTask, ProjectBudget, ProjectTransaction.
[0.4.0] - 2026-04-06
Added
- Purchasing read-only tools: PurchaseOrder, PurchaseReceipt.
[0.3.0] - 2026-04-06
Added
- Inventory & Warehouse read-only tools: StockItem, NonStockItem, availability inquiries, Warehouse, ItemClass.
[0.2.0] - 2026-04-06
Added
- Financial/Accounting read-only tools: Invoice, Bill, JournalTransaction, Payment, Account, Check.
[0.1.0] - 2026-04-06
Added
- Initial Acumatica MCP server: OAuth auth (Acumatica as sole IdP) and the first read-only tools (Customer, Vendor, SalesOrder). Microsoft Entra ID removed in favor of direct Acumatica OAuth.