npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ordereazi/commerce-agent-toolkit

v1.1.1

Published

MCP server + CLI that gives an AI coding agent direct, structured access to the OrderEazi Commerce Store API - so it can scaffold and build a headless storefront instead of guessing at endpoints and SDK method names.

Readme

OrderEazi Commerce Agent Toolkit

An MCP server + CLI that gives an AI coding agent (Claude Code, Cursor, VS Code, etc.) direct, structured access to the OrderEazi Commerce Store API - so it can scaffold and build a headless storefront instead of guessing at endpoints and generated SDK method names.

Mirrors the shape of Shopify's own AI agent toolkit (an npm-distributed MCP server + CLI a developer installs into their coding agent), scoped to this API and this audience: 3rd-party developers building against Storefront.Api's Store document, not internal back-office tooling.

Status: published on npm as @ordereazi/commerce-agent-toolkit.

Install

npx @ordereazi/commerce-agent-toolkit init

Detects Claude Code / Cursor / VS Code from the current directory and registers this toolkit as an MCP server in the right config file (.mcp.json, .cursor/mcp.json, or .vscode/mcp.json). Existing entries are never touched - only merged with. Pass --agent <claude|cursor|vscode|all> to skip auto-detection.

Claude Code note: project-scoped MCP servers need one-time approval - run claude and approve the pending server when prompted.

Scaffold a starter project

npx @ordereazi/commerce-agent-toolkit create my-storefront --api-url http://localhost:5135

Generates a working React + TypeScript + Vite + Tailwind storefront (browse/search, cart, checkout, orders, account, wishlist) wired to the Store API. Writes a .env.example with a placeholder for your Store Access Key - there's no self-serve API for creating one today, only Backoffice > Settings > Application APIs (see <apiUrl>/guides/store). Copy it to .env and fill in the key yourself.

MCP tools

| Tool | What it does | |---|---| | search_api_docs | Keyword search over the Store API's operation summaries and Getting Started/Auth/Errors/Rate Limits guide sections | | get_endpoint_details | Full request/response schema for one operation, plus its real per-language SDK method name | | list_sdk_methods | Browses the API as real generated SDK method names - the same operation is a different method signature per language (TS cartGetCartApi(), Python cart_get_cart_api(), C# CartGetCartApiAsync() returning IApiResponse) | | scaffold_project | Same as create above, callable directly by the agent | | check_connectivity | The one live tool - makes one real, harmless request to prove a Storefront.Api URL + Store Access Key actually work, surfacing the real Problem Details error on failure | | get_retry_policy | Returns the SDKs' retry/backoff policy so generated integration code retries correctly |

Everything except check_connectivity answers from data bundled at build time (src/mcp/data/) - no running Storefront.Api or JRE needed just to ask "what does the cart endpoint look like."

Development

npm install
npm run build              # tsc + copies bundled data/template into dist/
npm test                    # runs both test suites below
  • scripts/refresh-openapi-snapshot.sh - re-fetches store.json/admin.json from a running Storefront.Api (API_URL env override, default http://localhost:5135)
  • npm run manifest:build - rebuilds src/mcp/data/sdk-method-manifest.json from the refreshed snapshot, using per-language method-naming rules verified against real generated SDK output (see the comment at the top of scripts/build-manifest.ts)
  • npm run template:sync - re-extracts react-storefront/ (repo root) into src/scaffold/template/, stripping stale docs/hardcoded keys and templating in {{PROJECT_NAME}}/{{API_URL}} placeholders

Run these three in order after a Storefront.Api change that affects the Store document, then rebuild.

Tests

  • tests/mcp-tools.test.ts - spawns the built MCP server as a real child process and drives it with a real @modelcontextprotocol/sdk Client over stdio, calling every tool at least once
  • tests/cli.test.ts - unit-tests the Claude Code/Cursor/VS Code config merge logic against scratch directories, including a regression fixture copied from this repo's own real .vscode/mcp.json (proves pre-existing, unrelated server entries survive a merge)

Publishing

Published to npm as @ordereazi/commerce-agent-toolkit under the ordereazi org. Unlike the other 4 SDKs (still distributed as S3/CloudFront tarball URLs rather than real registry packages - see SDK_DEPLOYMENT.md's own "Future Improvements"), a coding-agent toolkit has to cold-start via npx with zero repo access, so a real registry publish is a prerequisite here rather than a nice-to-have.

npm ci && npm run build && npm test
npm publish --otp=<code>     # scoped package; publishConfig.access is already "public"

The org has 2FA enforced, so an interactive publish needs an OTP. For a pipeline, use a granular access token scoped to @ordereazi with read/write and the 2FA-bypass option, supplied as NPM_TOKEN.

Verify a release the way a 3rd-party developer actually hits it - from a directory with no checkout:

npx -y @ordereazi/commerce-agent-toolkit@latest --version