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

@mcpsq/mcpsq

v1.1.3

Published

A simple MCP server to discover and manage MCP servers of your needs

Readme

MCP^2(MCPSQ)

CI/CD

MCP^2(MCPSQ) is a simple MCP server to discover and manage MCP servers. See our website mcpsq.xyz for more information.

Usage

npm start

Local Development

Prerequisites

Installation

  1. Clone the repository:
git clone https://github.com/xinbenlv/mcpsq.git
cd mcpsq
  1. Install dependencies:
npm install

Running the Server

Start the MCP server locally:

# Production mode
npm start

# Development mode with auto-reload
npm run dev

# Build TypeScript to JavaScript
npm run build

The server will start on http://localhost:3000 and provide:

  • SSE endpoint at GET /mcp
  • Message handling at POST /messages

Configuring Cursor MCP Integration

To use this MCP server with Cursor, add the following configuration to your Cursor MCP settings:

Option 1: Global Configuration

Create or edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "mcpsq": {
      "url": "http://localhost:3000/mcp"
    }
  }
}

Option 2: Project-specific Configuration

Create .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "mcpsq": {
      "url": "http://localhost:3000/mcp"
    }
  }
}

Available MCP Tools

Once configured, the following tools will be available in Cursor:

  • find-mcp-server: Search for MCP servers relevant to your query
  • add-mcp-server-to-cursor: Add an MCP server to your Cursor configuration
  • list-current-mcp-servers: List all currently configured MCP servers
  • remove-mcp-server-from-cursor: Remove an MCP server from your configuration

Testing the Integration

  1. Start the MCPSQ server locally
  2. Configure Cursor with the MCP settings above
  3. Restart Cursor or reload the MCP configuration
  4. In Cursor chat, try asking: "Find MCP servers for database management"
  5. The MCPSQ tools should appear in the available tools list

Development Scripts

# Start the server in production mode
npm start

# Start the server in development mode with auto-reload
npm run dev

# Build TypeScript to JavaScript
npm run build

# Clean build directory
npm run clean

# Validate data files
npm run validate:data

# Type checking without emitting files
npm run typecheck

Development Workflow

  1. Development: Use npm run dev for development with automatic restart on file changes
  2. Type Checking: Run npm run typecheck to check for TypeScript errors without building
  3. Building: Use npm run build to compile TypeScript to JavaScript (automatically cleans first)
  4. Production: Use npm start to run the compiled TypeScript directly with tsx

Troubleshooting

  • Server not starting: Check if port 3000 is available
  • Cursor not connecting: Verify the MCP configuration file path and JSON syntax
  • Tools not appearing: Check Cursor's MCP logs in the output panel
  • TypeScript errors: Run npm run typecheck to see detailed error messages

Data

The data is stored in the data directory.

Contributing

Contributions are welcome! Please feel free to submit a pull request that updates the data in the data directory.

ROADMAP

  • [x] handle env vars needed
  • [ ] publish to npmjs.com

License

This project is licensed under the MIT License - see the LICENSE file for details.