Skip to content

Releases

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 23 Nov 09:27
51da4cd

Small fix release.

Fixed

  • Upstream redirects (301/302/303/307/308) are reported as a clear, actionable error instead of the raw redirect body. Redirects are still never followed, so credentials only reach the configured Spoolman URL.

Full Changelog: v0.1.2...v0.1.3

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 22 Nov 17:51

Security release based on a full source audit of v0.1.1. Update recommended.

Fixed

  • Path traversal: unlink_tag and other free-text path arguments accepted ..; a uid like ../ could delete the parent spool via Spoolman's slash redirects. Empty, ./.. and values containing / or \ are now rejected.
  • The upstream client followed redirects and could leak credentials (headers to other hosts, Authorization after an HTTPS→HTTP downgrade). Redirects are no longer followed.
  • set_setting could bypass ALLOW_DELETE=false via extra_fields_* keys; those are refused and resets need confirm=true.
  • Unparseable boolean env values silently fell back to a permissive default; they are now a startup error (yes/no/on/off are accepted).
  • Credentials in SPOOLMAN_URL are moved to Basic auth and never logged; config errors never echo secrets.
  • Tool annotations: overwrite/merge/reset tools are marked destructive, bulk renames are no longer marked idempotent.

Hardening

  • Streamable HTTP sessions are bound to the token that created them.
  • Limits: MCP_HTTP_MAX_CONCURRENT (default 64), MaxHeaderBytes, MAX_RESULT_BYTES, oversized upstream responses are an error, error bodies capped at 64 KiB.
  • SPOOLMAN_URL with query/fragment is rejected; conflicting Authorization header settings are refused.

Supply chain

  • Actions and images pinned by SHA/digest, Dependabot, checkout without persisted credentials, PR builds without write permissions, no cache for release builds.
  • Signed build provenance for images and binaries (gh attestation verify … --repo virtualben89/spoolman-mcp-go); latest only for non-prerelease tags.
  • CI actions updated to the Node 24 majors.

Docs

  • Token via file, example compose binds to 127.0.0.1, security notes.

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 22 Nov 12:50

Maintenance release, no functional changes.

Changed

  • Built with Go 1.27.4; dependencies updated.
  • CI takes the Go version from go.mod, so CI, Docker build and go.mod always match.

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 22:56

First release: MCP server for Spoolman (3D printing filament inventory), written in Go.

Features

  • 38 tools covering the full Spoolman API: vendors, filaments, spools (incl. usage and measuring), locations, lot/article numbers, NFC tags, extra fields, settings, backups, export and import from the SpoolmanDB catalogue.
  • Transports: stdio, Streamable HTTP (/mcp) and legacy HTTP+SSE (/sse).
  • Bearer token auth for HTTP (several tokens, constant-time compare); refuses to start unauthenticated.
  • Safety switches: READ_ONLY=true hides all write tools, ALLOW_DELETE=false hides delete tools, every delete needs confirm=true.
  • Upstream auth towards Spoolman (Bearer, Basic or custom headers, e.g. Cloudflare Access).
  • Portable tool schemas for strict clients (Gemini, OpenAI) and all common MCP clients.

Distribution

  • Image FROM scratch, non-root, about 14 MB, multi-arch (amd64, arm64, arm/v7) on GHCR.
  • Binaries for Linux, macOS and Windows.

Full Changelog: https://github.com/virtualben89/spoolman-mcp-go/commits/v0.1.0