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

allegro-mcp

v0.1.2

Published

MCP server for safe Allegro seller catalogue operations — connect, query offers, plan and apply price/stock changes

Readme

allegro-mcp

MCP server for Allegro seller catalogue work: connect an account, find offers, plan a price or stock change, apply it only after explicit confirmation.

Node 20+. stdio by default, Streamable HTTP with --http. Works with Cursor, Claude Desktop, VS Code, and any general purpose agent.

Created by NOXLABS AI. Not affiliated with Allegro.pl.

npm · GitHub

Install

npx -y allegro-mcp --help

Or install the command: npm install -g allegro-mcp.

1. Register an Allegro app

apps.developer.allegro.pl — sandbox: apps.developer.allegro.pl.allegrosandbox.pl.

  • Type headless / device_code. No redirect URI.

2. Connect the agent

Add the server to your client's MCP config — Cursor ~/.cursor/mcp.json, Claude Desktop claude_desktop_config.json, VS Code .vscode/mcp.json:

{
  "mcpServers": {
    "allegro": {
      "command": "npx",
      "args": ["-y", "allegro-mcp"],
      "env": {
        "ALLEGRO_CLIENT_ID": "your-client-id",
        "ALLEGRO_CLIENT_SECRET": "your-client-secret",
        "ALLEGRO_USER_AGENT": "YourApp/1.0.0 (+https://example.com/YourApp)",
        "ALLEGRO_TOKEN_STORE": "/absolute/path/to/token.json"
      }
    }
  }
}

Set ALLEGRO_TOKEN_STORE to a fixed path. npx does not guarantee a stable working directory.

3. Authorize the seller account

Ask the agent: "which Allegro account am I connected to?" It calls connect_account, and you get one of two things back:

  • CONNECTED with the account login — already authorized, you are done.
  • AUTHORIZATION_REQUIRED with a link and an 8-character code. Open the link, approve as the seller (within the hour), then ask the agent to confirm. It calls confirm_connection, which reports PENDING until you approve and then CONNECTED.

Then try "find my active offers and take 10% off the USB-C cables" — the agent plans the change, shows before/after per offer, and writes nothing until you confirm.

Allegro rotates the refresh token on every refresh and kills the old chain, so the token file outranks ALLEGRO_REFRESH_TOKEN, deleting it costs you another approval round, and only one process per account may run.

Configuration

| Variable | Default | Description | |---|---|---| | ALLEGRO_CLIENT_ID | required | App client id | | ALLEGRO_CLIENT_SECRET | required | App client secret | | ALLEGRO_USER_AGENT | required | Registered UA, sent on every request | | ALLEGRO_API_BASE | https://api.allegro.pl | REST host | | ALLEGRO_AUTH_BASE | https://allegro.pl/auth/oauth | Token URL is ${ALLEGRO_AUTH_BASE}/token | | ALLEGRO_SITE | https://allegro.pl | Offer link base | | ALLEGRO_TOKEN_STORE | token.json | Rotated refresh token | | ALLEGRO_REFRESH_TOKEN | none | Seeds the first run only | | ALLEGRO_AUDIT_PATH | audit.jsonl | Append-only apply log | | HOST / PORT | 127.0.0.1 / 3000 | --http bind |

--http has no authentication — anyone who can reach the port gets the seller tools. Keep it on localhost.

Source, architecture, and tests: github.com/noxlabs-ai/allegro-merchant-mcp.