Package Exports
- @basicsu/courses-mcp
- @basicsu/courses-mcp/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@basicsu/courses-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@basicsu/courses-mcp
Access interactive programming courses from Basics directly in your Cursor IDE using the Model Context Protocol (MCP).
🚀 Quick Setup
Method 1: Full NPX Path (Recommended)
Find your full NPX path:
which npx
Add to your Cursor MCP settings:
{ "mcpServers": { "basics-courses": { "command": "/opt/homebrew/bin/npx", "args": ["@basicsu/courses-mcp@1.1.14"] } } }
Method 2: Direct Node (Most Reliable)
Install globally:
npm install -g @basicsu/courses-mcp@1.1.14
Find your paths:
which node npm root -g
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
- Get your auth code from basicsu.com/settings/account
- Restart Cursor completely
- Switch to Agent mode (not Composer)
- 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 coursesnextBasicsCourseStep
- Continue to next stepgetBasicsCourseStatus
- Check your progressstartBasicsCourseLesson
- Jump to specific lessonclearBasicsCourseHistory
- 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, causingspawn npx ENOENT
errors- Server appears connected but tools never register
Debugging Steps
- Test manually: Run
npx @basicsu/courses-mcp@1.1.14
in terminal - Check paths: Run
which node
andwhich npx
- Use Agent mode: Switch to Agent mode in Cursor
- Restart fully: Close Cursor completely and reopen
- 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
- Visit basicsu.com/settings/account
- Copy your MCP Auth Code
- When prompted in Cursor, provide:
- Your email address
- Your auth code
- Progress is automatically synced with your account
📞 Support
- Website: basicsu.com
- Documentation: basicsu.com/docs
- GitHub Issues: Report bugs and issues
License
MIT © Basics Team