🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@semore/mcp-commerce

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semore/mcp-commerce

Semore commerce MCP server — canonical 5 tools (search_product, get_product, create_cart, quote_checkout, submit_intent) per ADR-0062, with AP2 IntentMandate / CartMandate / PaymentMandate VC chain.

latest
Source
npmnpm
Version
0.4.2
Version published
Maintainers
1
Created
Source

@semore/mcp-commerce

license status

Reference Model Context Protocol (MCP) server surface for commerce — four tools that every agent-ready storefront should expose.

ToolPurpose
search_productsKeyword / category / price search across a catalog
build_cartCompute total (subtotal + shipping + duty + tax) for a cart + destination
create_orderTurn a priced cart into an order, returning a checkout URL
get_policyFetch return / refund / shipping / privacy policy in requested language

Source of Truth: this directory in the Semore monorepo until repo split. Production Semore MCP server lives at apps/api/src/routes/mcp.ts and is exposed at https://mcp.semore.net. This package ships the schemas + stub handlers so merchants can validate integrations locally before connecting to Semore.

Install

npm install @semore/mcp-commerce zod

Usage — schema-only

import { searchProductsTool } from "@semore/mcp-commerce/tools/search";

const parsed = searchProductsTool.inputSchema.parse({
  q: "sunscreen",
  lang: "en",
  category: "kbeauty",
  limit: 10,
});

const result = await searchProductsTool.handler(parsed);

Usage — boot a minimal MCP server

import { createMcpServer } from "@semore/mcp-commerce";

const server = createMcpServer({
  // Wire your catalog / cart / order resolvers here.
  // The default skeleton resolvers return deterministic fixtures
  // useful for local integration tests.
});

// Then expose over your preferred transport (stdio, HTTP, SSE).

Directory listing

PlatformListing page
Claude Desktopmcp.semore.net manifest
ChatGPT Appsmcp.semore.net manifest
Gemini Extensionsmcp.semore.net manifest

Metadata is emitted by the production Semore server. This OSS package is the reference surface third-party merchants can fork to expose their own catalog under the same schema.

Reference

License

Apache-2.0 — see LICENSE.

Copyright (c) Semore Founding Team.

Keywords

mcp

FAQs

Package last updated on 28 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts