Skip to content

Contentrain/ai

v@contentrain/[email protected] Feature

This release adds 3 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-agents claude-code content-governance contentrain cursor developer-tools
+8 more
git i18n mcp mcp-server model-context-protocol sdk typescript windsurf

Affected surfaces

auth rbac rce_ssrf

Summary

AI summary

Updates Minor Changes, Patch Changes, and f5c70eb across a mixed release.

Changes in this release

Security Medium

Marks contentrain_media_delete as destructive requiring confirmation.

Marks contentrain_media_delete as destructive requiring confirmation.

Source: granite4.1:30b@2026-07-14-audit

Confidence: low

Feature Low

Adds MediaProvider contract and five media management tools to MCP.

Adds MediaProvider contract and five media management tools to MCP.

Source: llm_adapter@2026-07-13

Confidence: low

Feature Low

Adds MediaProvider contract with list/get/ingest/update/delete methods.

Adds MediaProvider contract with list/get/ingest/update/delete methods.

Source: granite4.1:30b@2026-07-14-audit

Confidence: low

Feature Low

Introduces five media management tools: contentrain_media_list, get, ingest, update, delete.

Introduces five media management tools: contentrain_media_list, get, ingest, update, delete.

Source: granite4.1:30b@2026-07-14-audit

Confidence: low

Feature Low

Makes MediaProvider optional on RepoProvider; tools appear only if provider supports media facet.

Makes MediaProvider optional on RepoProvider; tools appear only if provider supports media facet.

Source: granite4.1:30b@2026-07-14-audit

Confidence: low

Feature Low

Supports URL-based ingest where provider fetches source server‑side.

Supports URL-based ingest where provider fetches source server‑side.

Source: granite4.1:30b@2026-07-14-audit

Confidence: low

Dependency Low

Updates dependency @contentrain/types to version 0.8.0.

Updates dependency @contentrain/types to version 0.8.0.

Source: llm_adapter@2026-07-13

Confidence: high

Full changelog

Minor Changes

  • f5c70eb: feat(mcp): media tools over an optional provider media facet

    @contentrain/types: new MediaProvider contract (list/get/ingest/update/delete) plus MediaAsset, MediaListOptions, MediaListResult, MediaIngestInput, MediaUpdateInput. RepoProvider gains an optional media?: MediaProvider facet — implemented by hosted providers (Studio MCP Cloud), absent on Local/GitHub/GitLab.

    @contentrain/mcp: five new tools — contentrain_media_list, contentrain_media_get, contentrain_media_ingest, contentrain_media_update, contentrain_media_delete — as a deterministic passthrough to the provider's media facet.

    • Capability-aware: registered only when RepoProvider.media is present (new media requirement in TOOL_REQUIREMENTS). Local stdio servers keep listing exactly the 19 core tools; nothing changes for existing embeddings.
    • URL-based ingest. MCP has no binary channel; the provider fetches the source URL server-side and owns SSRF/MIME/size policy. contentrain_media_ingest is the only tool with openWorldHint: true.
    • Safety: media_delete is destructiveHint: true and requires confirm: true; content references are never rewritten by MCP.
    • Closes the discovery loop for external agents: list assets → pick a media/... path → reference it via contentrain_content_save (absolute delivery URLs via mediaBaseUrl).

    @contentrain/rules: MCP_TOOLS now lists 24 tools (19 core + 5 media); essential guardrails document the media flow.

    @contentrain/skills: references/mcp-tools.md gains a Media Tools section covering all five tools (parity-tested against the MCP registry).

Patch Changes

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Contentrain/ai

Get notified when new releases ship.

Sign up free

About Contentrain/ai

Local-first MCP server for AI content governance — 13 tools for model/content CRUD, validation, normalization, and i18n across any framework.

All releases →

Related context

Earlier breaking changes

Beta — feedback welcome: [email protected]