
Research
/Security News
737 Chrome VPN Extensions Linked to Brand Impersonation and Browser Traffic Redirection
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.
@semore/mcp-adapter
Advanced tools
MCP (Model Context Protocol) adapter — JSON-RPC 2.0 client + server scaffold for the Semore agentic-commerce 5-tool surface.
Adapter helpers for the Model Context Protocol (MCP) — Anthropic's
JSON-RPC 2.0 protocol for connecting AI agents to external tools and
resources. This package is a thin client wrapper around the externally
exposed Semore MCP surface at mcp.semore.net, plus reusable shapes for
building your own MCP server.
Source of Truth: this directory in the Semore monorepo until repo split. The production MCP server lives in the internal Semore API at
apps/api/src/routes/mcp.ts. This package exposes the stable, framework- agnostic contract for third-party agents and orchestrators.Standards-body posture [LEGAL-PENDING]: References to the Model Context Protocol are nominative fair use. Semore claims no endorsement by, affiliation with, or co-authorship of Anthropic. Any co-branded integration is (proposed, subject to joint agreement) with the respective body. [EXTERNAL-ADVISORY]
npm install @semore/mcp-adapter
# or
pnpm add @semore/mcp-adapter
The Semore MCP server advertises exactly five tools, mirroring the agentic-commerce primitive surface:
| Tool | Purpose |
|---|---|
search_product | Catalog search — k-beauty / k-fashion / electronics |
get_product | Fetch a product by SKU id |
create_cart | Build a cart from a list of { skuId, qty } items |
quote_checkout | Compute landed price (duty + tax + shipping) for a country |
submit_intent | Submit an AP2 intent mandate to begin the agentic flow |
import { McpAdapter, type JsonRpcRequest } from "@semore/mcp-adapter";
const adapter = new McpAdapter({
endpoint: "https://mcp.semore.net",
// Optional: intercept JSON-RPC for tests by passing your own fetch
// transport: globalThis.fetch,
});
const tools = await adapter.listTools();
console.log(tools.map((t) => t.name)); // 5 entries
const result = await adapter.callTool("search_product", {
query: "Korean sunscreen",
country: "US",
});
import { McpAdapter } from "@semore/mcp-adapter";
const adapter = new McpAdapter({ endpoint: "https://mcp.semore.net" });
adapter.registerHandler("search_product", async (args) => {
// your implementation
return { products: [] };
});
const response = await adapter.handleJsonRpc({
jsonrpc: "2.0",
id: 1,
method: "tools/call",
params: { name: "search_product", arguments: { query: "sunscreen" } },
});
McpAdapter class — JSON-RPC 2.0 wrapper for the Semore MCP server.listTools() — fetch the 5-tool advertisement.callTool(name, args) — invoke a tool over the wire.handleJsonRpc(req) — dispatcher for inbound requests when you mount your
own MCP server in front of @semore/mcp-adapter.JsonRpcRequest, JsonRpcResponse, JsonRpcError,
ToolDefinition, ToolCall, McpAdapterOptions.mcp.semore.net and are not open-sourced.did:web:semore.netsemore.hq@gmail.com · GitHub @semore_hqApache-2.0 — see LICENSE. Patent grant per Apache-2.0 §3.
Copyright (c) Semore Founding Team.
FAQs
MCP (Model Context Protocol) adapter — JSON-RPC 2.0 client + server scaffold for the Semore agentic-commerce 5-tool surface.
We found that @semore/mcp-adapter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.