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

@crossly/mcp

v0.3.7

Published

Self-hostable Model Context Protocol server for Crossly: 3,250+ tools covering the whole seller API (44 marketplaces, listings, orders, inventory, Hub, World, TCG, wallets) so an AI agent (Claude Desktop, Cursor, Cline) can run a reseller's store end-to-e

Downloads

1,572

Readme

@crossly/mcp

Model Context Protocol server for Crossly — the multi-marketplace crossposting platform for resellers.

Building your own integration in TypeScript instead of letting an AI drive? Use @crossly/sdk — same API, typed methods, no MCP host needed.

Exposes Crossly's public API as MCP tools so an AI agent (Claude Desktop, Cursor, Cline, Continue, etc.) can drive a seller's store end-to-end: list new items, crosspost across Poshmark / Mercari / eBay / Etsy / Depop / Grailed / Vinted / Whatnot / Vestiaire / Facebook / OfferUp / Shopify, edit prices, submit tracking, reply to buyer messages, accept/counter offers, run analytics, and configure automation rules.

Hosted server (no install)

Crossly runs this same server at a URL, over Streamable HTTP (MCP 2025-06-18):

https://crossly.net/mcp

Sign in with Crossly (OAuth). Add the URL to your client and it does the rest: the first call answers 401 with WWW-Authenticate: Bearer resource_metadata="https://crossly.net/.well-known/oauth-protected-resource/mcp", the client finds Crossly's authorization server there (https://crossly.net/atlas), registers itself, and opens your browser. You sign in with your Crossly account and approve the permissions it asks for; the client then holds a token for https://crossly.net/mcp and refreshes it on its own. No token to copy, nothing to install.

By default the client asks for the day-to-day seller permissions: inventory, listings, orders and shipping, buyer messages and offers, sales and analytics (read), connected marketplaces (read), the activity log and the catalogue. The MCP server never gets permissions that move money (payouts, funding, billing, Vault Markets trading, ad spend) or that manage your team, apps or webhooks; use a personal access token for those. Disconnect a client by removing the server in it.

The hosted server serves the core toolset by default (the day-to-day reselling surface: listings, inventory, orders, marketplaces, messaging, analytics). Choose others with ?toolsets= (see Toolsets), e.g. https://crossly.net/mcp?toolsets=core,storefront or ?toolsets=all. A tool that needs a permission you did not grant answers with a permission error.

Cursor (Settings → MCP → Add new MCP server, or ~/.cursor/mcp.json):

{
  "mcpServers": {
    "crossly": { "url": "https://crossly.net/mcp" }
  }
}

Cursor shows Needs login; click it and sign in.

Claude Code:

claude mcp add --transport http crossly https://crossly.net/mcp

Then run /mcp in Claude Code, pick crossly and choose Authenticate.

Claude Desktop and claude.ai: Settings → Connectors → Add custom connector, URL https://crossly.net/mcp, then Connect and sign in.

VS Code: MCP: Add Server → HTTP → https://crossly.net/mcp; VS Code asks to sign in when the server starts.

With a token instead (CI, scripts, clients without OAuth): send the same token the local server takes as a header, Authorization: Bearer crossly_pat_… (or an Atlas access token for the Crossly API). Every tool call runs as that token's account with its scopes.

claude mcp add --transport http crossly https://crossly.net/mcp --header "Authorization: Bearer crossly_pat_live_..."
{
  "mcpServers": {
    "crossly": {
      "url": "https://crossly.net/mcp",
      "headers": { "Authorization": "Bearer crossly_pat_live_..." }
    }
  }
}

The hosted server is stateless: each POST stands alone, no Mcp-Session-Id is issued, and GET/DELETE answer 405.

Install

No install — invoke via npx:

npx -y @crossly/mcp

The server reads two environment variables:

| Var | Required | Default | Purpose | |-----|---|---|---| | CROSSLY_PAT | yes | — | Personal access token. Mint one in the Crossly web app at Settings → Personal Access Tokens. Also accepted: an Atlas access token (a JWT from https://crossly.net/atlas/oauth2/token) or a legacy crossly_oat_…. Atlas-held API keys have the crossly_pat_ shape. | | CROSSLY_API_BASE_URL | no | https://crossly.net/api | Override for self-hosted or staging environments. No trailing slash. | | CROSSLY_STOREFRONT_ID | no | the default store | The store store-scoped tools act on when a call names none. | | CROSSLY_TOOLSETS | no | every tool | Comma-separated toolsets to serve (see below). Also --toolsets=listings,orders. |

Toolsets

There are ~2,900 tools, more than most clients handle well (each tool's schema is sent to the model). Serve a slice:

| Toolset | What | |---|---| | core | listings, inventory, orders, marketplaces, messaging, analytics (the hosted default) | | all | everything (the local default) | | listings | listings, bulk edits, templates, variations, presets, Magic List, repricing, imports, scans | | inventory | catalog items, holds, channel stock, restock, units, sourcing, grading | | orders | orders, sales, fulfillment, returns, offers, detected events, tax, books | | marketplaces | connected accounts, marketplace catalogs, categories, integrations, market comps | | messaging | inbox, conversations, CRM, customers, reputation | | analytics | analytics, the action log, seller ops, work assignment | | automation | automation rules, workflows, webhooks, AI helpers | | account | account, tokens, team, devices, developer apps, sandbox, embeds | | storefront | storefronts, seller profile, branding, feeds, lookbooks, discounts, loyalty, drops, live | | ads | ads, ad billing, listing and sponsored ads | | money | payouts, funding, the Crossly wallet | | wholesale | wholesale store, quotes, drops, terms | | buyer | buying-side tools | | world | Crossly World, Worlds, spatial, showrooms, creator tools | | tcg | Crossly TCG | | vault-markets | Vault Markets | | web3 | Web3, NFT market, CBX, COSM, DAO |

Names combine: CROSSLY_TOOLSETS=core,storefront. An unknown name is an error, not a smaller server.

The PAT's scopes determine what the agent can do. A read-only token can only call list_* / get_* tools; a token without listings:write can't crosspost. Grant the minimum scopes the agent needs.

Claude Desktop config

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Windows: %APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "crossly": {
      "command": "npx",
      "args": ["-y", "@crossly/mcp"],
      "env": { "CROSSLY_PAT": "crossly_pat_live_..." }
    }
  }
}

Restart Claude Desktop. The Crossly tools appear under the hammer/MCP icon.

Cursor / Cline / Continue

Same shape — every MCP host accepts command + args + env. Point them at npx -y @crossly/mcp with CROSSLY_PAT in env.

Tools

Inventory

  • list_inventory — List catalog items (filter by status / search).
  • get_inventory_item — Get one item plus its per-platform listing rows.
  • create_inventory_item — Add a new item to the catalog.
  • update_inventory_item — Edit catalog defaults (does not push to live listings).
  • archive_inventory_item — Soft-delete an item.

Listings

  • list_listings — List live listings across marketplaces.
  • get_listing — Get one listing with all per-platform rows / URLs.
  • crosspost_listing — Publish an item to one or more marketplaces.
  • update_listing — Push a price/title/image edit to live platforms.
  • delist — Remove a listing from one or all platforms.

Orders

  • list_orders — List orders (filter by status / platform).
  • get_order — Get one order with buyer + shipping + tracking detail.
  • submit_tracking — Mark shipped with a tracking number.
  • issue_refund — Refund full or partial via the marketplace's API.

Sales

  • list_sales — List unique sale events across marketplaces.

Inbox

  • list_conversations — List buyer-message conversations.
  • get_conversation — Get one conversation with its messages.
  • reply_to_conversation — Send a text reply.
  • respond_to_offer — Accept / counter / decline a buyer offer.

Analytics

  • get_analytics_summary — Sales count, revenue, fees for the last N days.

Platform accounts

  • list_platform_accounts — List connected marketplace accounts.
  • add_platform_account — Add a new account slot (OAuth/extension login still required in the UI).
  • remove_platform_account — Disconnect an account.

Automation

  • list_automation_rules — List automation rules.
  • create_automation_rule — Create a trigger-condition-action rule.
  • delete_automation_rule — Remove a rule.

Webhooks

  • list_webhooks — List registered webhook endpoints.
  • register_webhook — Register a new endpoint (response includes the HMAC secret — shown once).
  • delete_webhook — Remove an endpoint.

Idempotency

Every mutation tool accepts an optional idempotencyKey argument. If the agent might retry a call (transient network error, client crash, ambiguous timeout), pass a stable unique key — the Crossly API stores the first response and replays it for any retry within 24 hours. Strongly recommended for crosspost_listing, submit_tracking, issue_refund, and register_webhook.

Error handling

API errors are surfaced as MCP tool errors with the structured { error: { code, message } } envelope returned by the server. The agent receives a single text content block of the form:

Crossly API 403 (insufficient_scope): missing scope listings:write

This is intentional — the agent can read it, decide whether to retry or escalate, and explain it back to the user.

License

MIT