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

canx-mcp-server

v1.0.6

Published

CANX Platform MCP Server - Manage campaigns and extensions via AI agents

Readme

canx-mcp-server

Give your AI agent direct access to the CANX platform.

Manage campaigns, extensions, and analytics — all from your IDE.


What is this?

An MCP server that connects AI coding assistants (Cursor, Cline, Claude Desktop, Windsurf) to the CANX advertising platform. Your agent can create campaigns, register extensions, check balances, and pull analytics without you ever opening the dashboard.

Tools

| Tool | Type | Description | |------|------|-------------| | canx_get_balance | read | Advertiser & developer wallet balance | | canx_list_campaigns | read | All campaigns with impressions, clicks, CTR, spend | | canx_post_campaign | write | Create a new campaign (auto-submits for approval) | | canx_pause_campaign | write | Pause or resume a running campaign | | canx_get_analytics | read | Last 7 days — impressions, clicks, CTR | | canx_list_extensions | read | All registered extensions with status & SDK keys | | canx_get_extension | read | Full extension metadata (ratings, version, size, etc.) | | canx_post_extension | write | Register a new extension (starts in Sandbox) |

Setup

1. Add to your MCP config

Drop this into your client's MCP configuration file:

{
  "mcpServers": {
    "canx": {
      "command": "npx",
      "args": ["-y", "canx-mcp-server"],
      "env": {
        "CANX_USER_ID": "your-user-id"
      }
    }
  }
}
{
  "mcpServers": {
    "canx": {
      "command": "npx",
      "args": ["-y", "canx-mcp-server"],
      "env": {
        "CANX_USER_ID": "your-user-id"
      }
    }
  }
}
{
  "mcpServers": {
    "canx": {
      "command": "npx",
      "args": ["-y", "canx-mcp-server"],
      "env": {
        "CANX_USER_ID": "your-user-id"
      }
    }
  }
}

2. Set your User ID

Your CANX_USER_ID is visible in the Developer Dashboard under your profile. This scopes all operations to your account.

3. That's it

Restart your AI client. The tools will appear automatically.

Environment Variables

| Variable | Required | Default | Description | |----------|:--------:|---------|-------------| | CANX_USER_ID | ✅ | — | Your CANX platform user ID | | SUPABASE_URL | — | Production URL | Override the Supabase endpoint | | SUPABASE_ANON_KEY | — | Production key | Override the Supabase anon key |

Local Development

cd canx-mcp
npm install
npm run dev        # runs with tsx (hot reload)
npm run build      # compiles to dist/
npm start          # runs compiled output

Example Prompts

Once connected, try asking your AI agent:

"Check my CANX balance" "List all my campaigns and their performance" "Create a new banner campaign for my productivity tool with a $25 budget" "Pause the Summer Sale campaign" "Register my new extension called 'Tab Manager Pro'"

Tech

  • Runtime — Node.js (ES2022)
  • Protocol — MCP over stdio
  • Database — Supabase (canx_* tables)
  • Auth — User ID scoped (all queries filtered by CANX_USER_ID)

License

MIT