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

xor-iqassist-appservice

v1.5.0

Published

AI-powered MCP server for comprehensive project testing with dual-path support (local files + web upload)

Downloads

50

Readme

xor-iqassist-appservice

AI-powered MCP server for comprehensive project testing with dual-path support

npm version License: MIT

🚀 Quick Start (2 Minutes)

Installation

# Install globally
npm install -g xor-iqassist-appservice

# Option 1: Windows Service (Recommended for Windows)
# Run as Administrator
npx xor-iqassist-server install-service

# Option 2: PM2 (Cross-platform)
npx xor-iqassist-setup

Configure Cursor IDE

Add to Cursor MCP settings:

{
  "mcpServers": {
    "xor-iqassist-appservice": {
      "transport": "http",
      "url": "http://localhost:8080/mcp"
    }
  }
}

Use in Cursor

@iqassist Generate PRD for D:\Food-Delivery

Done! 🎉 Results will be saved to D:\Food-Delivery\.iqassist\results\


📋 What is xor-iqassist?

xor-iqassist is a Model Context Protocol (MCP) server that provides AI-powered code analysis and testing tools directly in your IDE.

Key Features

Dual-Path Support

  • Use with local projects in Cursor IDE
  • Upload projects via Web UI for team sharing
  • Results stored in your project directory

Comprehensive Analysis

  • Product Requirements Document (PRD) generation
  • Code summary and architecture analysis
  • Test generation (Jest, Playwright)
  • User story extraction and testing

Professional Deployment

  • Windows Service - Native Windows integration, runs 24/7
  • PM2 Option - Cross-platform process management
  • Auto-starts on system boot
  • One-command setup

IDE Integration

  • Works seamlessly with Cursor IDE
  • MCP protocol support
  • Real-time analysis in chat

🎯 Use Cases

1. Generate Product Requirements Document

Analyze your codebase and generate comprehensive PRD:

@iqassist Generate PRD for D:\Food-Delivery

Output: prd.json with:

  • Product overview
  • Feature specifications
  • User stories
  • Technical architecture
  • API documentation

2. Code Analysis & Summary

Get detailed code insights:

@iqassist Generate code summary for D:\MyProject

Output: code_summary.json with:

  • File structure
  • Technologies detected
  • Dependencies analysis
  • Code patterns

3. Test Generation

Initialize comprehensive testing:

@iqassist Initialize testing for D:\MyWebApp

Output:

  • Jest configuration
  • Playwright setup
  • Unit test templates
  • E2E test templates

4. Full Analysis

Run all tools at once:

@iqassist Analyze D:\Food-Delivery and generate comprehensive report

Output:

  • PRD
  • Code Summary
  • Test Configurations
  • Architecture Diagram
  • Recommendations

📦 Installation Options

Option 1: Automated Setup (Recommended for Windows)

# Install package
npm install -g xor-iqassist-appservice

# Run one-command setup
npx xor-iqassist-setup

This will:

  • ✅ Install PM2 and dependencies
  • ✅ Start server automatically
  • ✅ Configure Windows auto-start
  • ✅ Verify port 8080 is free

Option 2: Manual Setup

# Install package
npm install -g xor-iqassist-appservice

# Install PM2 (optional, for background service)
npm install -g pm2 pm2-windows-startup

# Start server manually
xor-iqassist-server start

Option 3: Development Setup

# Clone repository
git clone https://github.com/xor-iqassist/xor-iqassist-appservice.git
cd xor-iqassist-appservice

# Install dependencies
npm install

# Start server
npm start

💬 Using All 26 Tools in Cursor IDE

After setup, you have access to 26 powerful MCP tools in Cursor chat!

Quick Examples

@iqassist Generate PRD for D:\Food-Delivery
@iqassist Generate code summary for D:\Food-Delivery
@iqassist Initialize testing for D:\Food-Delivery
@iqassist Generate all tests for D:\Food-Delivery
@iqassist Execute tests for D:\Food-Delivery
@iqassist Generate report for D:\Food-Delivery

All Available Tools

See CURSOR_CHAT_COMMANDS_GUIDE.md for:

  • Complete list of all 26 tools
  • Detailed command examples
  • Natural language usage
  • Common workflows
  • Pro tips

Quick Reference

See QUICK_REFERENCE_CARD.md for:

  • One-page cheat sheet
  • Most common commands
  • Troubleshooting tips
  • Quick start checklist

🔧 Configuration

Environment Variables

Create a .env file or set environment variables:

# Enable local project support (default: true)
ENABLE_LOCAL_PROJECTS=true

# Allowed drives (Windows)
ALLOWED_DRIVES=C:,D:,E:,F:

# Maximum path depth for security
MAX_PATH_DEPTH=10

# Server port
PORT=8080

# OpenAI API Key (for AI analysis)
OPENAI_API_KEY=your_api_key_here

# Encryption key (for secure data handling)
ENCRYPTION_KEY=your_encryption_key

Cursor IDE Configuration

  1. Open Cursor Settings (Ctrl + ,)
  2. Search for "MCP"
  3. Click "Edit in settings.json"
  4. Add MCP server configuration:
{
  "mcpServers": {
    "xor-iqassist-appservice": {
      "transport": "http",
      "url": "http://localhost:8080/mcp"
    }
  }
}
  1. Save and restart Cursor IDE

🛠️ Server Management

Check Status

npx pm2 status

View Logs

# Real-time logs
npx pm2 logs iqassist-mcp

# Error logs only
npx pm2 logs iqassist-mcp --err

Restart Server

npx pm2 restart iqassist-mcp

Stop Server

npx pm2 stop iqassist-mcp

Start Server

npx pm2 start iqassist-mcp

📂 Project Structure

After analysis, results are saved in your project:

YourProject/
├── .iqassist/
│   └── results/
│       ├── prd.json
│       ├── code_summary.json
│       ├── comprehensive_report.json
│       ├── jest.config.json
│       ├── jest.setup.js
│       ├── playwright.config.js
│       └── test-files/
│           ├── Component.test.jsx
│           └── api.test.js
├── src/
├── package.json
└── ...

Key Points:

  • Results stored in your project, not remotely
  • .iqassist/ folder created automatically
  • Each analysis updates files in results/
  • Gitignore .iqassist/ if you don't want to commit results

🌐 Dual-Path Support

xor-iqassist supports two workflows:

1. Local Projects (Cursor IDE)

Use directly in Cursor with local file paths:

@iqassist Generate PRD for D:\Food-Delivery

Benefits:

  • ✅ No upload required
  • ✅ Results stored locally
  • ✅ Fast analysis
  • ✅ Works offline (after setup)

2. Web Upload (Team Collaboration)

Upload projects via Web UI:

  1. Visit: https://xor-iqassist-appservice.azurewebsites.net
  2. Upload project ZIP
  3. Download comprehensive results
  4. Share with team

Benefits:

  • ✅ Team collaboration
  • ✅ Centralized results
  • ✅ Web dashboard
  • ✅ Historical tracking

🧪 Available MCP Tools

iqassist_generate_prd

Generate Product Requirements Document

Input:

@iqassist Generate PRD for D:\Food-Delivery

Output: prd.json


iqassist_generate_code_summary

Analyze codebase and generate summary

Input:

@iqassist Generate code summary for D:\MyProject

Output: code_summary.json


iqassist_init

Initialize testing infrastructure

Input:

@iqassist Initialize testing for D:\MyWebApp

Output: Test configurations and templates


iqassist_bootstrap_tests

Bootstrap comprehensive test suite

Input:

@iqassist Bootstrap tests for D:\MyProject

Output: Full test scaffold


iqassist_analyze_frontend

Frontend-specific analysis

Input:

@iqassist Analyze frontend at D:\MyApp\frontend

Output: Frontend architecture analysis


iqassist_analyze_backend

Backend-specific analysis

Input:

@iqassist Analyze backend at D:\MyApp\backend

Output: Backend services analysis


iqassist_execute_tests

Execute test suite

Input:

@iqassist Execute tests for D:\MyProject

Output: Test results and reports


iqassist_generate_report

Generate comprehensive testing report

Input:

@iqassist Generate report for D:\MyProject

Output: HTML report with coverage


🆘 Troubleshooting

Server Not Starting

Check if port 8080 is in use:

netstat -ano | findstr :8080

Kill the process:

taskkill /PID <PID> /F

Restart server:

npx pm2 restart iqassist-mcp

Tools Don't Appear in Cursor

  1. Verify server is running:

    npx pm2 status

    Should show online

  2. Restart Cursor IDE completely

  3. Check MCP configuration in Cursor settings

  4. Verify server is accessible: Open http://localhost:8080 in browser


"xor-iqassist-server" Not Recognized

Use npx:

npx xor-iqassist-server start

Or restart terminal (Windows PATH update)


PM2 Commands Not Working

Use npx:

npx pm2 status

Or restart terminal


📚 Documentation

Getting Started

Using the Tools

Advanced


🔐 Security

  • Local-first: Analysis happens on your machine
  • No data upload: Local projects never leave your system
  • Encryption: Secure data handling with AES-256-GCM
  • Path validation: Security checks for file access
  • Environment isolation: Sandboxed execution

🤝 Contributing

Contributions are welcome!

  1. Fork the repository
  2. Create feature branch: git checkout -b feature/amazing-feature
  3. Commit changes: git commit -m 'Add amazing feature'
  4. Push to branch: git push origin feature/amazing-feature
  5. Open Pull Request

📄 License

MIT License - see LICENSE file for details


🙏 Support

  • Issues: https://github.com/xor-iqassist/xor-iqassist-appservice/issues
  • Documentation: See documentation/ folder
  • Help Command: xor-iqassist-server help

🎉 Acknowledgments

Built with:


Made with ❤️ by the xor-iqassist team

Star ⭐ us on GitHub if you find this useful!