Skip to content

mcp-data-platform-v1.38.4

Choose a tag to compare

@github-actions github-actions released this 10 Mar 19:03
· 271 commits to main since this release
c57f88a

What's New

Fix: Prompt Templates Now Visible in Platform Info UI (#221)

v1.38.3 added the "Show prompt template" toggle to the Prompts tab, but it only worked for workflow and custom prompts. Toolkit prompts (portal and knowledge) had their content constants defined but never included them in the PromptInfos() return values. Because the Content field uses json:"content,omitempty", it was silently dropped from the platform_info JSON response, and the toggle never appeared.

Root Cause

The portal and knowledge toolkit PromptInfos() methods returned PromptInfo structs without the Content field:

// Before — content constant defined but not used
func (*Toolkit) PromptInfos() []registry.PromptInfo {
    return []registry.PromptInfo{
        {Name: saveAssetPromptName, Description: "...", Category: "toolkit"},
    }
}

Fix

Both toolkits now populate Content from their existing constants:

  • Portal toolkit: saveAssetPromptContent and showAssetsPromptContent
  • Knowledge toolkit: knowledgeCapturePrompt and captureKnowledgePromptContent

Added TestPromptContentInJSON which marshals prompt infos to JSON and asserts the "content" key is present, preventing this regression in the future.


Changelog

Bug Fixes

  • c57f88a: fix: populate Content in toolkit PromptInfos and add JSON proof test (#221) (@cjimti)

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.38.4

Verification

All release artifacts are signed with Cosign. Verify with:

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