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

@pwhermanson/stax-mcp-server

v1.1.1

Published

Stax MCP Client - Connect Cursor to Stax Cloud with provider-agnostic authentication

Readme

Stax MCP Server

Enterprise-grade Model Context Protocol (MCP) server for the Stax AI development platform. This server provides powerful tools for code analysis, project management, and GitHub integration.

Features

  • 🔧 13 MCP Tools - Comprehensive set of development tools
  • 🔐 Secure Authentication - JWT-based authentication system
  • Redis Caching - High-performance caching with Upstash Redis
  • 🐙 GitHub Integration - Full GitHub API integration
  • 📊 Health Monitoring - Built-in health checks and monitoring
  • 🚀 Easy Deployment - Simple CLI-based deployment

Quick Start

Installation

npm install -g @stax/mcp-server

Setup

Run the interactive setup to configure your credentials:

stax-mcp-server setup

Running the Server

stax-mcp-server run <your-config-key>

Configuration

Cursor MCP Configuration

Add this to your Cursor MCP configuration file:

{
  "mcpServers": {
    "stax-mcp-server": {
      "command": "npx",
      "args": ["-y", "@stax/mcp-server@latest", "run", "your-config-key"]
    }
  }
}

Environment Variables

The server can be configured using environment variables:

# Required
GITHUB_TOKEN=your_github_token
GITHUB_REPO_OWNER=your_username
GITHUB_REPO_NAME=your_repo
UPSTASH_REDIS_URL=your_redis_url
UPSTASH_REDIS_TOKEN=your_redis_token
MCP_AUTH_SECRET=your_jwt_secret

# Optional
STAX_APP_URL=http://localhost:3000
STAX_CONFIG_KEY=your_config_key

Available Tools

Project Analysis Tools

  • fetch_blueprint - Get project blueprint information
  • fetch_tech_stack - Get technology stack details
  • fetch_project_structure - Get project structure analysis
  • fetch_dependencies - Get project dependencies
  • fetch_readme - Get README content

Code Analysis Tools

  • fetch_file_content - Fetch file content from GitHub
  • fetch_directory_contents - List directory contents
  • search_code - Search for code patterns
  • find_related_code - Find code related to specific features
  • build_diff_analysis - Analyze code changes and impact

Repository Tools

  • fetch_repository_info - Get repository metadata
  • fetch_branches - Get Git branch information

Utility Tools

  • puns - Fun utility tool

CLI Commands

stax-mcp-server run <config-key>

Run the MCP server with the specified configuration key.

Options:

  • -p, --port <port> - Port to run the server on (default: 8080)
  • -e, --env <file> - Environment file path
  • --verbose - Enable verbose logging

stax-mcp-server setup

Interactive setup wizard for configuring credentials.

stax-mcp-server config

Generate Cursor MCP configuration file.

Options:

  • -o, --output <file> - Output file path (default: mcp-config.json)

stax-mcp-server health

Check server health status.

Options:

  • -u, --url <url> - Server URL (default: http://localhost:8080)

Configuration Management

The server supports multiple configuration sources in order of preference:

  1. Local Configuration - .stax-mcp-server/config.json in your project
  2. Global Configuration - ~/.stax-mcp-server/config.json in your home directory
  3. Environment Variables - Standard environment variables
  4. Stax API - Remote configuration from Stax's API (future feature)

Security

  • All credentials are stored securely and never exposed in logs
  • JWT-based authentication for MCP protocol endpoints
  • Rate limiting and request validation
  • CORS protection and security headers

Development

Building

npm run build

Testing

npm test

Linting

npm run lint

Deployment

Railway

npm run deploy:railway

Docker

docker build -t stax-mcp-server .
docker run -p 8080:8080 stax-mcp-server

Support

License

MIT License - see LICENSE file for details.

Contributing

We welcome contributions! Please see our Contributing Guide for details.


Made with ❤️ by the Stax AI team