Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I gave Claude Code direct control over our SaaS in-app messaging (Without breaking production)

说明与用途

通过MCP和确定性JSON规则,AI代理Claude Code在不添加临时UI代码的情况下控制SaaS的内部消息,减少了包体积并防止了样式漂移。

问题

AI agents generating ad‑hoc React components for temporary in‑app announcements risk bundle bloat, CSS inconsistencies, and SSR layout breaks.

结果

Dynamic in‑app messaging is now driven by deterministic JSON rules, eliminating bundle bloat and styling drift while maintaining zero server latency.

工作流

  • 1. Prompt Claude Code or Cursor to announce a release.
  • 2. Agent connects to https://www.neotic.app/api/mcp using OAuth 2.1 PKCE S256.
  • 3. Agent emits a structured JSON payload with slot_id, rules (path_pattern, user_properties), and content (headline, cta).
  • 4. Browser evaluates rules locally via a micro‑SDK (<4KB) with zero server latency.
  • 5. Matching rules trigger the in‑app message without adding new React components.

证据

Model Context Protocol (MCP) is usually framed as a way for LLMs to read local files or query SQL databases. But the highest‑leverage application of MCP isn't reading data—it's runtime app orchestration.

来源

The better architectural pattern is Deterministic JSON Rules governed by MCP.

来源

  • 记录日期: 2026-09-21T22:00:23.142Z