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

@virtocommerce/mcp-onx

v1.0.1

Published

Commerce Operations Foundation adapter for VirtoCommerce Fulfillment

Readme

@virtocommerce/mcp-onx

VirtoCommerce adapter for the Commerce Operations Foundation (COF) MCP Server. Connects VirtoCommerce Platform to AI assistants via the Model Context Protocol (MCP), enabling order management, customer lookup, product catalog, inventory, fulfillment, and returns operations.

Supported Operations

| Category | Tools | | -------- | ----- | | Orders | create-sales-order, update-order, cancel-order, get-orders | | Fulfillment | fulfill-order, get-fulfillments | | Customers | get-customers | | Products | get-products, get-product-variants | | Inventory | get-inventory | | Returns | create-return, get-returns |

Quick Start

Option A: Via npx (no local clone needed)

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "cof-mcp": {
      "command": "npx",
      "args": [
        "--package=@virtocommerce/cof-mcp",
        "--package=@virtocommerce/mcp-onx",
        "--yes",
        "cof-mcp"
      ],
      "env": {
        "ADAPTER_TYPE": "npm",
        "ADAPTER_PACKAGE": "@virtocommerce/mcp-onx",
        "ADAPTER_CONFIG": "{\"apiUrl\":\"https://your-vc-instance.com\",\"apiKey\":\"YOUR_API_KEY\",\"workspace\":\"your-store-id\"}",
        "LOG_LEVEL": "info"
      }
    }
  }
}

Option B: From source

git clone https://github.com/VirtoCommerce/mcp-onx.git
cd mcp-onx

# Build server first (adapter depends on it)
cd server && npm install && npm run build && cd ..

# Build adapter
cd virtocommerce-adapter && npm install && npm run build && cd ..

Then add to Claude Desktop config:

{
  "mcpServers": {
    "cof-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/server/dist/index.js"],
      "env": {
        "ADAPTER_TYPE": "local",
        "ADAPTER_PATH": "/absolute/path/to/virtocommerce-adapter/dist/index.js",
        "ADAPTER_CONFIG": "{\"apiUrl\":\"https://your-vc-instance.com\",\"apiKey\":\"YOUR_API_KEY\",\"workspace\":\"your-store-id\"}",
        "LOG_LEVEL": "info"
      }
    }
  }
}

Configuration

| Option | Type | Required | Default | Description | | ------ | ---- | -------- | ------- | ----------- | | apiUrl | string | Yes | — | VirtoCommerce Platform URL | | apiKey | string | Yes | — | API key (api_key header) | | workspace | string | No | — | Store ID — scopes orders/shipments, auto-detects catalog | | catalogId | string | No | — | Catalog ID for product searches (auto-detected from store if workspace is set) | | timeout | number | No | 30000 | Request timeout in milliseconds | | retryAttempts | number | No | 3 | Max retry attempts for failed requests | | debugMode | boolean | No | false | Log all API requests/responses to stderr |

VirtoCommerce Permissions

The adapter requires the following VirtoCommerce API permissions:

  • Order: Read, Search, Create, Update
  • Shipment: Search
  • Customer/Members: Read, Search
  • Catalog: Search
  • Inventory: Search
  • Platform: Read (countries list)
  • Store: Read (when workspace is set)
  • Pricing: Evaluate (optional — for automatic price lookup during order creation)

See docs/PERMISSIONS.md for detailed permission mappings.

Documentation

Development

cd virtocommerce-adapter

npm run build        # tsc → dist/
npm run dev          # tsc --watch
npm test             # Jest with --experimental-vm-modules
npm run lint         # ESLint

Note: Build the server (cd server && npm run build) before building the adapter — it depends on @cof-org/mcp via file:../server.

License

See LICENSE in the repository root.