Skip to content

Implement product event parsing and mapping to MCP format with compre…#430

Open
Abhishek-Punhani wants to merge 1 commit into
shopstr-eng:mainfrom
Abhishek-Punhani:Issue416
Open

Implement product event parsing and mapping to MCP format with compre…#430
Abhishek-Punhani wants to merge 1 commit into
shopstr-eng:mainfrom
Abhishek-Punhani:Issue416

Conversation

@Abhishek-Punhani

@Abhishek-Punhani Abhishek-Punhani commented Apr 18, 2026

Copy link
Copy Markdown
Contributor

Implement product event parsing and mapping to MCP format with compre…

Description

Introduced a unified product parsing architecture with:
Shared Base Parser
A canonical parser responsible for reading raw product events and parsing all supported product tags into a normalized internal ProductData shape.

Consumer Adapters
Separate adapters that transform canonical parsed data into consumer-specific output:

UI Adapter → preserves UI state and frontend-friendly structures
MCP Adapter → JSON-safe output with pricing blocks and flattened structures

Resolved or fixed issue

Fixes #416

Screenshots (if applicable)

Add screenshots or examples if this PR includes UI-related changes.

Affirmation

For more details on what to include, see:

Bug Report Template
Feature Request Template
Documentation Issue Template
Security Issue Template

…hensive tests

Signed-off-by: Abhishek-Punhani <punhani.manavabhi@gmail.com>
@vercel

vercel Bot commented Apr 18, 2026

Copy link
Copy Markdown

@Abhishek-Punhani is attempting to deploy a commit to the shopstr-eng Team on Vercel.

A member of the Team first needs to authorize it.

@wolgwang1729 wolgwang1729 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
(You didn't tick the acknowledgement, though)

@GautamBytes GautamBytes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] refactor: unify product event parsing with shared base parser and consumer adapters (UI and MCP)

3 participants