betahub-mcp-server
v0.9.0
Published
Model Context Protocol server for BetaHub - manage projects, feature requests, issues, and releases
Downloads
115
Maintainers
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
- Go to your BetaHub profile settings
- Navigate to "Personal Access Tokens"
- Create a new token with appropriate permissions
- 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-serverClaude 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 listAlternative: 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)
- Open VS Code settings (Cmd/Ctrl + ,)
- Search for "Cline MCP Servers"
- 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-xxxargument or viaBETAHUB_TOKENenvironment 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.jsUsing 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:
- Clear tool descriptions in the server capabilities
- Detailed input schema descriptions using Zod's
.describe()method - 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 deploySAM 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
Authorizationheader (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)
Verify the package is installed:
npm list -g betahub-mcp-serverTest your token directly:
export BETAHUB_TOKEN="pat-your-token-here" npx betahub-mcp-serverCheck 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-hereLicense
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
