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

betahub-mcp-server

v0.9.0

Published

Model Context Protocol server for BetaHub - manage projects, feature requests, issues, and releases

Downloads

115

Readme

BetaHub MCP Server

A Model Context Protocol (MCP) server that integrates BetaHub's feedback management platform with AI assistants like Claude.

Overview

The BetaHub MCP Server enables AI assistants to interact with BetaHub projects and feature requests through standardized MCP tools. This allows you to manage feedback, view feature requests, and interact with your BetaHub projects directly from AI-powered development environments.

Capabilities

  • List BetaHub projects - Access all projects available to your account
  • Browse feature requests - View, sort, and paginate through suggestions in any project
  • Search feature requests - Search by text query or find specific requests by ID
  • Browse issues/bugs - View, filter, and paginate through bug reports in any project
  • Search issues/bugs - Search by text query or find specific issues by ID
  • Find similar issues - AI-powered semantic search to find duplicate or related issues (recommended for duplicate detection)
  • List issue tags - Discover available tags for categorizing issues
  • Browse releases - View project releases with download links
  • Filter by status - Access requests and issues in various states (open, in_progress, resolved, etc.)
  • Filter by priority - View issues by priority level (low, medium, high, critical)
  • Filter by tags - Filter issues using tag IDs
  • Filter by date - Filter by creation or update date ranges
  • Control response size - Select specific fields and configure text truncation for large payloads
  • Full MCP compliance - Works with any MCP-enabled AI assistant

Getting Your BetaHub Token

  1. Go to your BetaHub profile settings
  2. Navigate to "Personal Access Tokens"
  3. Create a new token with appropriate permissions
  4. Token format: pat-{64-character-hex}

Quick Start — Hosted Endpoint (Recommended)

The fastest way to get started is connecting to the hosted BetaHub MCP server at mcp.betahub.io. No installation required — just provide your BetaHub token.

Claude Code

claude mcp add betahub --transport http -H "Authorization: Bearer pat-your-token-here" https://mcp.betahub.io/

Verify it works:

claude mcp list
claude -p "What BetaHub MCP tools are available?"

Claude Desktop App

Add to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/claude/claude_desktop_config.json
{
  "mcpServers": {
    "betahub": {
      "type": "streamable-http",
      "url": "https://mcp.betahub.io/",
      "headers": {
        "Authorization": "Bearer pat-your-token-here"
      }
    }
  }
}

Generic MCP Client

Any MCP client that supports HTTP transport can connect:

  • Transport: Streamable HTTP
  • URL: https://mcp.betahub.io/
  • Headers: Authorization: Bearer pat-your-token-here
  • Accept: application/json, text/event-stream

Alternative: Self-Hosted Setup

If you prefer to run the MCP server locally (e.g., for development or air-gapped environments), you can install and run it via npm.

Prerequisites

  • Node.js v18 or higher

Installation

npm install -g betahub-mcp-server

Claude Code

# One-line setup with token as argument
claude mcp add betahub npx betahub-mcp-server -- --token=pat-your-token-here

# Verify the connection
claude mcp list

Alternative: Using Environment Variable

claude mcp add-json betahub '{
  "command": "npx",
  "args": ["betahub-mcp-server"],
  "env": {
    "BETAHUB_TOKEN": "pat-your-token-here"
  }
}'

Claude Desktop App

{
  "mcpServers": {
    "betahub": {
      "command": "npx",
      "args": ["betahub-mcp-server", "--token=pat-your-token-here"]
    }
  }
}

Cline (VS Code Extension)

  1. Open VS Code settings (Cmd/Ctrl + ,)
  2. Search for "Cline MCP Servers"
  3. Add the BetaHub server configuration:
{
  "cline.mcpServers": {
    "betahub": {
      "command": "npx",
      "args": ["betahub-mcp-server", "--token=pat-your-token-here"]
    }
  }
}

Continue.dev

Add to your Continue configuration (~/.continue/config.json):

{
  "models": [...],
  "mcpServers": {
    "betahub": {
      "command": "npx",
      "args": ["betahub-mcp-server", "--token=pat-your-token-here"]
    }
  }
}

Generic MCP Client (stdio)

  • Transport Type: stdio
  • Command: npx betahub-mcp-server --token=pat-your-token-here
  • Arguments: Token can be passed as --token=pat-xxx argument or via BETAHUB_TOKEN environment variable

Usage Examples

Once configured, you can interact with BetaHub through your AI assistant:

Projects

"Show me all my BetaHub projects"

Feature Requests (Suggestions)

"List the top feature requests from project pr-0690627851"
"Get the newest feature requests from the BetaHub project, page 2"
"Show me feature requests that are under moderation"
"Search for feature requests about 'dark mode' in project pr-0690627851"
"Find feature request fr-123 in the project"

Issues (Bug Reports)

"List all critical bugs in project pr-0690627851"
"Show me issues with status 'in_progress' from the project"
"Search for bugs related to 'crash' in project pr-0690627851"
"Find issue g-456 in the project"
"Get high priority issues that are not resolved yet"

Issue Tags

"List all issue tags in project pr-0690627851"
"What tags are available for categorizing bugs?"
"Show me the tag hierarchy for this project"

Filtering by Tags

"List issues tagged with 'Performance' (tag ID 1953)"
"Show me all bugs with tags 1957 or 1958 (Crash or Freeze)"

Releases

"List all releases for project pr-0690627851"
"What versions have been released?"
"Show me the latest release with download links"

Date Filtering

"Show me issues created after 2025-01-01"
"List feature requests updated in the last week"
"Get bugs created between January and March 2025"

Controlling Response Size

"List issues with only id, title, status, and url fields"
"Show me issues with full descriptions (no truncation)"
"List issues with descriptions limited to 100 characters"

Development

Building from Source

If you want to contribute or modify the server:

# Clone the repository
git clone https://github.com/betahub-io/betahub-mcp-server.git
cd betahub-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

# Test locally
export BETAHUB_TOKEN="pat-your-token-here"
./build/index.js

Using Local Build in Claude Code

For development purposes, you can use a local build:

# Using command-line argument (recommended)
claude mcp add betahub-dev /absolute/path/to/betahub-mcp-server/build/index.js -- --token=pat-your-token-here

# Or with environment variable
claude mcp add-json betahub-dev '{
  "command": "node",
  "args": ["/absolute/path/to/betahub-mcp-server/build/index.js"],
  "env": {
    "BETAHUB_TOKEN": "pat-your-token-here"
  }
}'

Adding New Tools

When adding new MCP tools, ensure you provide:

  1. Clear tool descriptions in the server capabilities
  2. Detailed input schema descriptions using Zod's .describe() method
  3. Comprehensive error handling for API failures

Example:

server.registerTool("newTool", {
  title: "Tool Title",
  description: "What this tool does",
  inputSchema: {
    param: z.string().describe("What this parameter is for")
  }
}, async ({ param }) => {
  // Implementation
});

AWS Lambda Deployment

You can deploy your own instance of the BetaHub MCP server as a hosted endpoint on AWS Lambda.

Prerequisites

  • AWS SAM CLI
  • An ACM certificate for your custom domain (must be in the same region as the API)
  • A Route53 hosted zone for the domain

Build and Deploy

# Build the Lambda bundle
npm run build:lambda

# Deploy with SAM (first time — guided)
sam deploy --guided

# Subsequent deployments
sam deploy

SAM will prompt you for:

  • DomainName — your custom domain (e.g., mcp.example.com)
  • CertificateArn — the ARN of your ACM certificate
  • HostedZoneId — your Route53 hosted zone ID

How It Works

The Lambda deployment uses the MCP Streamable HTTP transport in stateless mode:

  • Each request creates a fresh MCP server instance
  • Authentication is per-request via the Authorization header (no global token)
  • Responses are pure JSON (no SSE streaming)
  • The bundled Lambda is a single ~760KB file with zero external dependencies

Troubleshooting

Connection Failed (Self-Hosted)

  1. Verify the package is installed:

    npm list -g betahub-mcp-server
  2. Test your token directly:

    export BETAHUB_TOKEN="pat-your-token-here"
    npx betahub-mcp-server
  3. Check the server output for any error messages

Authentication Errors

  • Verify your token hasn't expired
  • Ensure you're using the correct token format (pat-)
  • Check you have appropriate permissions for the requested resources
  • Try generating a new token from BetaHub

Version Issues

If you need a specific version:

# Install specific version
npm install -g [email protected]

# Use specific version with your MCP client
npx [email protected] --token=pat-your-token-here

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For issues and questions:

  • GitHub Issues: https://github.com/betahub-io/betahub-mcp-server/issues
  • BetaHub Support: https://app.betahub.io/feedback
  • NPM Package: https://www.npmjs.com/package/betahub-mcp-server