Skip to content
View mjesar's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report mjesar

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mjesar/README.md

Mohammad Ali Jesar, senior Ruby on Rails engineer for Shopify and e-commerce, AI agents, RAG and MCP

Senior Ruby on Rails Engineer · Shopify & E-commerce · AI Agents, RAG & MCP
Full-stack · Lahore, Pakistan · Open to remote roles and freelance projects

LinkedIn profile of Mohammad Ali Jesar Fiverr profile for Ruby on Rails freelance work Email Mohammad Ali Jesar, open to work

I'm Mohammad Ali Jesar (Ali), a senior Ruby on Rails engineer with 7+ years of experience building production software for international clients. I build Rails APIs and integrations, and most of my work is in Shopify and e-commerce: I contributed to five apps on the Shopify App Store (three also on BigCommerce) and built catalog, order, and marketplace integrations. I also add AI to existing Rails applications, including MCP servers, RAG on PostgreSQL, and agents that work with real application data and tools.

What I work on

  • Ruby on Rails: APIs, PostgreSQL, Redis, Sidekiq, performance work, and React or Hotwire frontends, with JavaScript and TypeScript. Deployments on Heroku, AWS, Google Cloud, and Docker.
  • Shopify and e-commerce: Shopify and Shopify Plus (checkout customization, B2B features), BigCommerce apps, Shopify Functions, extensions, and Liquid
  • Integrations: REST and GraphQL APIs, webhooks, and syncing products, inventory, and orders between systems, including Amazon SP-API
  • AI engineering: MCP servers, RAG, AI agents, and LLM assistants connected to application data

Featured projects

Three open-source projects that cover the same ground from different sides: safe LLM access to store data, conversational catalog search, and measuring how visible a product is to AI assistants.

shop_mcp_server exposes a store to Claude over MCP, ai_shop_assistant searches Shopify's live Catalog API, and product_geo_agent scores how discoverable a product is to AI shopping assistants

What it does: an MCP server in Rails that exposes a store's products, orders, and inventory to Claude. Problem: an LLM needs access to real store data, and write actions should not run without a human approving them. What I built: schema-validated tools, read-only and destructive annotations so clients gate writes behind approval, transactional order creation with rollback, and semantic product search with Voyage AI embeddings and pgvector. I verified it in the Rails console, MCP Inspector, and as a live Claude custom connector, and moved to the official MCP Ruby SDK after finding a legacy SSE vs. Streamable HTTP transport mismatch. Stack: Rails 8.1, MCP Ruby SDK, PostgreSQL, pgvector, Voyage AI, RSpec.

What it does: a shopping assistant that answers product questions from Shopify's live Catalog API over MCP. Problem: answers should come from the real catalog, not from the model's memory. What I built: the chat UI with realtime replies over Turbo Streams, background jobs on Solid Queue, and a hand-written HTTP/JSON-RPC MCP client, because the existing gem failed on the protocol handshake. Stack: Rails 8, RubyLLM, Google Gemini, Hotwire, MongoDB.

What it does: an agent that rates how discoverable a Shopify product is to AI shopping assistants (GEO and AEO). Problem: a product page can look fine to a person and still be hard for an AI assistant to read and trust. What I built: checks of product data, FAQ content, and schema.org structured data, an LLM step that judges whether it would recommend the product, and a deterministic score backed by an eval harness. Stack: Rails, Google Gemini, Shopify Storefront API.

Shopify and e-commerce

I worked on Shopify and BigCommerce apps for furniture and retail merchants, from architecture through App Store publishing and merchant support. Much of that work was keeping data in step across systems: products, inventory, and orders moving between supplier and retailer stores, Amazon, and the storefront, using the Admin APIs, webhooks, and Sidekiq jobs with retries.

  • Shopify apps: embedded apps with Polaris and App Bridge, Admin and Storefront REST and GraphQL APIs, webhooks, Shopify CLI, and App Store publishing and compliance
  • Shopify Functions and checkout: Functions (including Scripts-to-Functions migration for discounts, delivery, and payment customizations), Checkout UI Extensions, and Checkout Extensibility
  • Themes: Theme App Extensions and Liquid
  • Shopify Plus: checkout customization with Shopify checkout extensions, and Shopify Plus B2B features
  • BigCommerce: apps built on the Catalog, Orders, and Checkout APIs (REST and GraphQL), with webhooks and app store publishing
  • Amazon SP-API: product listings, variants, and image uploads, including an Amazon Import & Sync System that keeps listings in step between Amazon and e-commerce stores
  • Production support: led deployment, versioning, and updates to the app stores, and fixed issues across app code, DNS, and email delivery

Apps published on the Shopify App Store, built as part of the MGLogics development team:

  • MGLogics JSON-LD SEO Schema (Shopify and BigCommerce): structured data for rich results and AI search. Rated 4.3/5 across 17 reviews.
  • Express Sync: Order & Inventory (Shopify and BigCommerce): real-time product, inventory, and order sync between supplier and retailer stores.
  • MGLogics Express SEO & Schema: image optimization, JSON-LD, alt tags, redirects, and schema management.
  • GeoLocation Traffic Redirect (Shopify and BigCommerce): country-based redirects with pop-up and automatic options.
  • Email Validator by MGLogics: detects fake or invalid emails on orders to prevent order scams.

AI engineering

My AI work is application engineering: connecting models to the data and actions an existing app already has, and keeping the behavior predictable.

  • MCP: shop_mcp_server exposes tools and resources with validated arguments and approval-gated writes. ai_shop_assistant uses a custom MCP client against Shopify's Catalog API.
  • RAG on the database you already have: semantic product search with PostgreSQL, pgvector, and Voyage AI embeddings, with no separate vector database.
  • Agents and assistants: ai_shop_assistant uses RubyLLM and Gemini with tool calling against a live catalog. In product_geo_agent, the LLM judges and the scoring stays deterministic code, so results are repeatable and covered by evals.
  • GEO and AEO: product_geo_agent, plus JSON-LD structured data in the SEO apps, for making stores readable to AI assistants.

Experience

  • MGLogics (Dec 2021 to Jun 2026, remote): full-stack Rails and React engineer on Shopify and BigCommerce apps, catalog and order sync, and Amazon SP-API integrations. Worked daily with US clients.
  • SimpleDeploy (Apr 2019 to Dec 2021): backend engineer building Rails REST APIs on SQL and NoSQL databases, and management MVP tools for German clients.
  • Education: B.S. in Information Technology (Software), Sindh Agricultural University, 2012 to 2017.

FAQ

Can Ruby on Rails applications be connected to AI agents? Yes. Give the agent a small set of narrow tools backed by your existing Rails code, validate every argument, and require approval for anything that writes. Keep decisions that must be repeatable in code, not in the model. ai_shop_assistant uses RubyLLM and Gemini with tool calling against a live catalog, and in product_geo_agent the LLM judges while the score stays deterministic.

How can RAG be added to an existing Rails application? If the app already uses PostgreSQL, add pgvector for vector search, so there is no separate vector database to run. Generate embeddings, store them next to your records, and query by similarity. shop_mcp_server stores Voyage AI embeddings in pgvector for semantic product search.

How do you build an MCP server for a Rails application? Define tools with validated arguments, mark which are read-only and which are destructive so clients gate writes behind approval, choose the right transport, and test from a real client. In shop_mcp_server I moved to the official MCP Ruby SDK after hitting an SSE vs. Streamable HTTP mismatch, and verified it in MCP Inspector and as a live Claude custom connector.

Can you build custom Shopify apps with Ruby on Rails? Yes. Rails powered the Shopify apps I worked on: embedded apps with Polaris and App Bridge, the Admin and Storefront APIs, webhooks, and App Store publishing. Examples include order and inventory sync between supplier and retailer stores and JSON-LD structured data apps.

Can you build Shopify Plus integrations and checkout customizations? Yes. My Shopify Plus work is checkout customization with Shopify checkout extensions and B2B features, plus Shopify Functions (including Scripts-to-Functions migration for discounts, delivery, and payment customizations).

Can Shopify stores be connected to external APIs and systems? Yes. I use webhooks for changes, Sidekiq jobs with retries for the heavy work, and the Admin APIs for writes. That covers syncing products, inventory, and orders between supplier and retailer stores, and importing and syncing Amazon listings through SP-API.

How can AI be added to an e-commerce application? Connect the model to the data and actions the store already has: an MCP server for products, orders, and inventory, semantic search with pgvector, and an assistant that answers from the live catalog instead of the model's memory. Writes stay behind approval, and repeatable logic stays in code.

How can an online store become discoverable to AI shopping assistants? Make product pages easy for an AI to read and trust: complete product data, clear FAQ content, and schema.org structured data (JSON-LD). product_geo_agent checks these and scores how discoverable a Shopify product is.

Contact

Email: mohammadalijaisar@gmail.com

Pinned Loading

  1. product_geo_agent product_geo_agent Public

    A Ruby on Rails CLI agent that rates a Shopify product's AI discoverability (GEO/AEO). It checks FAQ content and structured data, and whether an LLM would actually recommend the product. Built with…

    Ruby

  2. ai_shop_assistant ai_shop_assistant Public

    AI shopping assistant built with Rails 8, RubyLLM, and Google Gemini — realtime Turbo Streams, live Shopify Catalog API search via MCP, background jobs with Solid Queue

    Ruby 1

  3. shop_mcp_server shop_mcp_server Public

    MCP server in Ruby on Rails connecting Claude to a store's products, orders, and inventory. Schema-validated tools, approval-gated writes, semantic search via Voyage AI + pgvector, and a full migra…

    Ruby