Skip to content

mcp-data-platform-v1.86.1

Choose a tag to compare

@github-actions github-actions released this 15 Jun 16:50
03492d7

Highlights

This release fixes embedding failures for long content against Ollama, and picks up base-image and dependency updates.

Bug Fixes

Embedding: cap input bytes before Ollama embed (#623, #624)

Long content failed to embed against an Ollama nomic-embed-text backend loaded at a 2048-token context. The batch endpoint returned 400 the input length exceeds the context length, the index job retried and then failed terminally, and the affected record never received an embedding, dropping it out of semantic search.

The provider had delegated input bounding to Ollama's truncate flag, which does not reliably bound real content (content over the context can return 400 even with truncate: true, because Ollama's truncation and the model runner disagree on the token count for some inputs). The platform now bounds input itself:

  • Each text is capped to a byte budget on a UTF-8 rune boundary at the single embedding chokepoint, so every consumer is protected: memory, prompts, collections, assets, and API Gateway OpenAPI spec operations.
  • truncate: true is also set explicitly as defense-in-depth.
  • A warning is logged when content is trimmed for embedding. Only the embedded text is trimmed; stored content is unaffected, and the content-identity hash used for dedup is computed on the full text, so re-index dedup and drift detection are unchanged.

New config knob, defaulted on so existing deployments are fixed without changes:

memory:
  embedding:
    provider: ollama
    ollama:
      max_input_bytes: 6000   # 0 selects the default (6000); raise for a larger-context model

Operators with records that previously failed terminally should re-index them once on this version (touch the source so its embed-text hash changes, or trigger a reconcile) so the reconciler re-enqueues them on the capped path.

Dependencies

  • Bump golang.org/x/crypto from 0.52.0 to 0.53.0 (#622)
  • Bump Alpine base image from 3.23 to 3.24 (#621)

Installation

Homebrew (macOS)

brew install txn2/tap/mcp-data-platform

Claude Code CLI

claude mcp add mcp-data-platform -- mcp-data-platform

Docker

docker pull ghcr.io/txn2/mcp-data-platform:v1.86.1

Verification

All release artifacts are signed with Cosign. Verify with:

cosign verify-blob --bundle mcp-data-platform_1.86.1_linux_amd64.tar.gz.sigstore.json \
  mcp-data-platform_1.86.1_linux_amd64.tar.gz