<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Systra Engineering Notes]]></title><description><![CDATA[Systra Engineering Notes]]></description><link>https://systra-engineering.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Tue, 24 Nov 2026 12:36:25 GMT</lastBuildDate><atom:link href="https://systra-engineering.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[MCP Can Fetch a React Section. It Can't Finish the Integration.]]></title><description><![CDATA[A practical React and Tailwind workflow for integrating MCP-fetched UI: inspect dependencies, replace demo behavior and verify what actually works.]]></description><link>https://systra-engineering.hashnode.dev/mcp-can-fetch-a-react-section-it-can-t-finish-the-integration</link><guid isPermaLink="true">https://systra-engineering.hashnode.dev/mcp-can-fetch-a-react-section-it-can-t-finish-the-integration</guid><category><![CDATA[React]]></category><category><![CDATA[Tailwind CSS]]></category><category><![CDATA[mcp]]></category><dc:creator><![CDATA[Leonie Roesmann]]></dc:creator><pubDate>Fri, 06 Nov 2026 17:29:25 GMT</pubDate><content:encoded><![CDATA[<p>A pricing section can arrive in your editor with animated cards, a background photograph and a button that goes absolutely nowhere.</p>
<p>The code is real. The integration is still your job.</p>
<p>That distinction gets blurry when an AI editor can retrieve an entire section through Model Context Protocol (MCP). Finding an implementation feels a lot like finishing a feature. It is a very convincing feeling, right up to the first click.</p>
<p>Here is a concrete workflow for turning retrieved source into something you can actually review.</p>
<p><em>Disclosure: I co-create Systra Tools with Systra Studios. The example below comes from our library. This is a source-level walkthrough, not an independent review or a claim that the component is ready for every production use.</em></p>
<h2>Start with a real source file</h2>
<p>The example is <code>CardStackPricing</code>, a React section in the pricing category of <a href="https://systra.tools/mcp">Systra Tools</a>.</p>
<p>Its interface shows one vegetable-box plan on top of a three-card deck. Users can move between plans with controls, arrow keys or dragging. The file imports React hooks, Framer Motion and Lucide icons. It also contains demo prices, example marketing claims and an image hosted on the library's domain.</p>
<p>You can <a href="https://systra.tools/preview/CardStackPricing">open the original section preview</a> to inspect the composition alongside the source. Its prices and claims are demo content.</p>
<p>Those details matter more than the adjective "modern" in a prompt.</p>
<p>On November 6, 2026, the public MCP endpoint returned this component without an API key. Access can change, so check the current catalog rather than assuming every component has the same access level.</p>
<p>Connect your editor's remote HTTP MCP integration to:</p>
<pre><code class="language-text">https://systra.tools/api/mcp
</code></pre>
<p>Then ask for a small, inspectable retrieval:</p>
<pre><code class="language-text">Use list_components with category "pricing".
Fetch CardStackPricing with get_component.

Do not edit my project yet.
Report:
- imports and dependencies
- exported component name and existing props
- font utilities and external assets
- placeholder links, actions and business claims
- any integration requirements you cannot verify
</code></pre>
<p>The server exposes those tool names. They are specific to this server, not built-in MCP commands.</p>
<p><a href="https://modelcontextprotocol.io/docs/learn/architecture">MCP's architecture documentation</a> describes how a host application connects to servers that provide tools and context. The protocol does not decide whether a retrieved design suits your users.</p>
<h2>Treat the source as a small dependency review</h2>
<p>Before dropping the section into a page, make an inventory.</p>
<table>
<thead>
<tr>
<th>What the source contains</th>
<th>What the project still needs</th>
</tr>
</thead>
<tbody><tr>
<td>React hooks and Framer Motion</td>
<td>A compatible client environment and installed dependencies</td>
</tr>
<tr>
<td>Lucide icon imports</td>
<td>The matching icon dependency</td>
</tr>
<tr>
<td><code>font-display</code>, <code>font-body</code>, <code>font-kicker</code></td>
<td>Font roles defined in the consuming project</td>
</tr>
<tr>
<td>An externally hosted background image</td>
<td>An asset decision and appropriate disclosure</td>
</tr>
<tr>
<td>A "Start this box" button without an action handler</td>
<td>A real action and loading/error behavior if needed</td>
</tr>
<tr>
<td>A sample link pointing to <code>#</code></td>
<td>A meaningful destination</td>
</tr>
<tr>
<td>Demo prices and claims</td>
<td>Content approved for the actual business</td>
</tr>
</tbody></table>
<p>The component's comments explicitly say that the farm, boxes and prices are invented. That is useful documentation. It is not permission to ship "Grown within 40 km" for a business whose supply chain you have never met.</p>
<p>An editor can copy a claim much faster than someone can substantiate it.</p>
<h2>Mount it without inventing an API</h2>
<p>For an existing React and Tailwind project, the retrieved file's non-React imports require:</p>
<pre><code class="language-bash">npm install framer-motion lucide-react
</code></pre>
<p>Use your project's package manager and dependency policy. If those packages are already installed, inspect the existing versions before changing them.</p>
<p>Save the retrieved source as <code>src/sections/CardStackPricing.tsx</code>. Then mount the export it actually provides:</p>
<pre><code class="language-tsx">import { CardStackPricing } from "./sections/CardStackPricing";

export default function PricingPreview() {
  return (
    &lt;main&gt;
      &lt;CardStackPricing /&gt;
    &lt;/main&gt;
  );
}
</code></pre>
<p>This source version exports a component with no public props. Passing <code>plans={plans}</code> because that would be a convenient API does not make it one.</p>
<p>If you want editable plans, refactor the file deliberately. Move the example data into props, define the type and review how plan IDs and ordering behave when the data changes. Treat that as a change to the implementation.</p>
<p>In a React Server Components framework, this hook-based component also needs a client boundary. For example, in <a href="https://nextjs.org/docs/app/api-reference/directives/use-client">Next.js App Router</a>, add <code>"use client";</code> above the imports in the component module. Do not assume a plain React example has already made that framework-specific choice for you.</p>
<h2>Resolve font roles before judging the layout</h2>
<p>The source uses named font utilities. A consuming project must give those names meaning.</p>
<p>For a Tailwind v4 project, a neutral starting point is:</p>
<pre><code class="language-css">@import "tailwindcss";

@theme {
  --font-display: ui-sans-serif, system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, sans-serif;
  --font-kicker: ui-monospace, monospace;
}
</code></pre>
<p>Replace the fallback stacks with your actual licensed and loaded fonts. Tailwind's <a href="https://tailwindcss.com/docs/theme">theme variable documentation</a> explains the namespaces that generate utilities.</p>
<p>This snippet is for v4. An older Tailwind project needs its own configuration approach.</p>
<p>Also make sure the retrieved TSX file is included in class detection. A file inside a normal source directory is a different situation from source buried in an ignored dependency directory. Tailwind documents <a href="https://tailwindcss.com/docs/detecting-classes-in-source-files">how it detects classes</a> and how to register additional sources.</p>
<p>A missing font or utility can make a composition look broken before you have changed a single design decision.</p>
<h2>Replace demo behavior, not just demo nouns</h2>
<p>Changing "Small box" to "Starter" is not the same as adapting a pricing interaction.</p>
<p>Work through three questions.</p>
<p><strong>What happens when someone chooses a plan?</strong> The supplied button is presentation UI. It does not create a checkout session, save a choice or navigate to a signup page. Decide which behavior the actual product needs and implement it explicitly.</p>
<p><strong>Does the content still fit?</strong> Replace the plan names and descriptions before deciding that the card height is correct. Longer text, translated copy and enlarged text can expose constraints a short English demo does not.</p>
<p><strong>Is a deck the right comparison model?</strong> One visible plan can work for choosing between familiar sizes. It can be a poor fit when users need to compare several technical limits at once. In that case, a plain comparison table may answer the question better.</p>
<p>The animation can remain impressive in the library while being the wrong choice for a particular page. Both things can be true.</p>
<h2>Separate "present in the source" from "verified in the browser"</h2>
<p>This component includes <code>useReducedMotion</code>, keyboard handlers and an <code>aria-live</code> status. Those are things to inspect. They are not a complete accessibility result.</p>
<p>For an interactive deck, review the actual keyboard path. Check whether focus stays visible when cards change, whether covered content can still receive focus, and whether the announced state makes sense.</p>
<p>W3C's <a href="https://www.w3.org/WAI/tutorials/carousels/">carousel tutorial</a> is a useful reference for one-item-at-a-time interfaces, especially keyboard operation, state changes and focus management. A pricing deck is not automatically a full implementation of that pattern just because it has a Next button.</p>
<p>Enable reduced motion and inspect the entire section. JavaScript movement, dragging, entrance effects and CSS transitions can take separate paths. A hook near the top of a file cannot speak for every animation underneath it.</p>
<p>Finally, inspect the image. The source notes identify the library's images and videos as AI-generated and ask for labeling when they could pass as real photographs. That background is illustrative material, not evidence of an actual farm or supplier.</p>
<h2>Give the editor a bounded integration task</h2>
<p>After the inventory, the next instruction can be concrete:</p>
<pre><code class="language-text">Integrate the retrieved section into the pricing preview.

Keep the original file available for comparison.
Use the project's existing typography and action components.
Replace every demo claim with the approved content I provide.
Do not invent prices, customer counts or product benefits.

Before implementing an action, identify its real destination.
If no destination is specified, leave it as a clearly marked
development placeholder and report it as unfinished.

Run the available type and build checks.
Review narrow and wide viewports with the final content.
Report keyboard and reduced-motion checks separately.
Do not describe an unperformed check as passed.
</code></pre>
<p>That last line is not pessimism. It is how a review remains useful.</p>
<p>For this walkthrough, the retrieved component and the mounting example passed TypeScript checking in a small React fixture. The CSS examples also compiled with Tailwind v4. Those checks establish type and compilation evidence. They do not establish completed navigation, visual quality, screen-reader behavior or production accessibility.</p>
<p>MCP changes how an implementation reaches the editor. It can make the starting point concrete and inspectable.</p>
<p>The finishing work still has a name: integration.</p>
<p><em>AI disclosure: This article was drafted and technically checked with AI assistance. It describes inspected source and limited compilation checks, not a controlled experiment or a personal productivity study.</em></p>
]]></content:encoded></item></channel></rss>