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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@aravb09/basics-courses

v1.3.25

Published

Interactive programming courses from Basics - MCP server for Cursor

Readme

@basicsu/courses-mcp

Access interactive programming courses from Basics directly in your Cursor IDE using the Model Context Protocol (MCP).

✨ Zero Configuration Required!

Just install and use - no API keys, no environment variables, no setup needed!

The MCP server includes built-in publishable keys that are safe to use. These keys are protected by Row Level Security (RLS) in Supabase, ensuring users can only access appropriate course content.

🚀 Quick Setup

Method 1: Full NPX Path (Recommended)

  1. Find your full NPX path:

    which npx
  2. Add to your Cursor MCP settings:

    {
      "mcpServers": {
        "basics-courses": {
          "command": "/opt/homebrew/bin/npx",
          "args": ["@basicsu/courses-mcp@latest"]
        }
      }
    }

Method 2: Direct Node (Most Reliable)

  1. Install globally:

    npm install -g @basicsu/courses-mcp@latest
  2. Find your paths:

    which node
    npm root -g
  3. Add to your Cursor MCP settings:

    {
      "mcpServers": {
        "basics-courses": {
          "command": "/opt/homebrew/bin/node",
          "args": ["/opt/homebrew/lib/node_modules/@basicsu/courses-mcp/dist/stdio.js"]
        }
      }
    }

📚 Usage

  1. Get your auth code from basicsu.com/settings/account
  2. Restart Cursor completely
  3. Switch to Agent mode (not Composer)
  4. Start learning:
    • "Please use the startBasics tool to help me learn programming"
    • "Please use startBasics to start the mastra course"
    • "Please use nextBasicsCourseStep to continue"
    • "Please use getBasicsCourseStatus to check my progress"

🔧 Available Tools

  • startBasics - Authenticate and start courses
  • nextBasicsCourseStep - Continue to next step
  • getBasicsCourseStatus - Check your progress
  • startBasicsCourseLesson - Jump to specific lesson
  • clearBasicsCourseHistory - Reset course progress

🐛 Troubleshooting "Zero Tools Available"

Most Common Issue: Cursor can't find npx

Solution: Use full paths instead of relative commands.

Why This Happens

  • Cursor's GUI environment doesn't inherit your shell's PATH
  • npx isn't found, causing spawn npx ENOENT errors
  • Server appears connected but tools never register

Debugging Steps

  1. Test manually: Run npx @basicsu/[email protected] in terminal
  2. Check paths: Run which node and which npx
  3. Use Agent mode: Switch to Agent mode in Cursor
  4. Restart fully: Close Cursor completely and reopen
  5. Verify tools: Should see 5 tools listed (not just green connection)

Common Paths by System

  • Mac (Homebrew): /opt/homebrew/bin/npx, /opt/homebrew/bin/node
  • Mac (Node.js): /usr/local/bin/npx, /usr/local/bin/node
  • Linux: /usr/bin/npx, /usr/bin/node
  • Windows: C:\\Program Files\\nodejs\\npx.cmd

🔐 Authentication

  1. Visit basicsu.com/settings/account
  2. Copy your MCP Auth Code
  3. When prompted in Cursor, provide:
    • Your email address
    • Your auth code
  4. Progress is automatically synced with your account

📞 Support

License

MIT © Basics Team