Skip to content

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

Choose a tag to compare

@KenLP KenLP released this 17 Jul 07:34
· 63 commits to main since this release

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.