Skip to content

mcp-data-platform-v0.23.2

Choose a tag to compare

@github-actions github-actions released this 20 Feb 22:54
· 339 commits to main since this release
d8c1947

Bug Fixes

Fix: SQL replay corruption in Tools Inspector (#129)

Replaying an audit event containing multi-line SQL from the Tools Inspector silently corrupted the query, causing Trino parse errors like mismatched input 'TABLE'.

Root cause: The FieldInput component checked prop.format === "sql" to decide whether to render a <textarea> or <input type="text">. The upstream mcp-trino tool schema defines the sql parameter as {type: "string"} with no format field — the condition never matched. HTML <input type="text"> strips all newline characters from values, so multi-line SQL like avg_ticket\nFROM TABLE( became avg_ticketFROM TABLE(, merging tokens and breaking the query.

Fix: Extended the condition to also match by field name (name === "sql"), ensuring SQL parameters always render as a multi-line textarea regardless of whether the upstream schema includes a format hint.

Fix: Non-ASCII characters in knowledge pipeline writes (#129)

Applying catalog changes (descriptions, tags, glossary terms) containing non-ASCII Unicode characters such as em dash (), en dash (), bullets (), or CJK characters failed with HTTP 400 from DataHub's RestLi validation.

Root cause: DataHub's GenericAspect.value is typed as bytes in the RestLi PDL schema, which uses Avro-style encoding permitting only characters U+0000–U+00FF. Go's json.Marshal produces raw UTF-8 multi-byte sequences for characters above this range, causing RestLi to reject the request before the handler even executes.

Fix: Bumped mcp-datahub to v0.7.4, which escapes non-ASCII runes to \uXXXX JSON escape sequences in the inner aspect JSON. Includes a fast path with zero overhead for pure-ASCII content.

Affected operations: update_description (dataset and column level), add_tag, add_glossary_term, add_documentation — any knowledge pipeline write where the content contains characters above U+00FF.

Dependencies

Dependency From To
mcp-datahub v0.7.3 v0.7.4

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:v0.23.2

Verification

All release artifacts are signed with Cosign. Verify with:

cosign verify-blob --bundle mcp-data-platform_0.23.2_linux_amd64.tar.gz.sigstore.json \
  mcp-data-platform_0.23.2_linux_amd64.tar.gz