Simulation-Theory/help-scout-mcp-server
If you are the rightful owner of help-scout-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Help Scout MCP Server connects AI assistants like Claude to Help Scout data, offering secure and advanced search capabilities.
comprehensiveConversationSearch
Searches across all conversation statuses automatically.
searchConversations
Basic search with Help Scout query syntax.
advancedConversationSearch
Boolean queries with content/subject/email filtering.
searchInboxes
Find inboxes by name.
getConversationSummary
Customer message + latest staff reply summary.
Help Scout MCP Server
Help Scout MCP Server - Connect Claude and other AI assistants to your Help Scout data with enterprise-grade security and advanced search capabilities.
๐ Table of Contents
- ๐ What's New
- โก Quick Start
- ๐ API Credentials
- ๐ ๏ธ Tools & Capabilities
- โ๏ธ Configuration
- ๐ Troubleshooting
- ๐ค Contributing
๐ What's New in v1.2.1
- ๐ฏ DXT Extension: One-click installation for Claude Desktop
- ๐ง Clear Environment Variables:
HELPSCOUT_CLIENT_ID
andHELPSCOUT_CLIENT_SECRET
- โก Connection Pooling: Improved performance with HTTP connection reuse
- ๐ก๏ธ Enhanced Security: Comprehensive input validation and API constraints
- ๐ Dependency Injection: Cleaner architecture with ServiceContainer
- ๐งช Comprehensive Testing: 69%+ branch coverage with reliable tests
Prerequisites
- Node.js 18+ (for command line usage)
- Help Scout Account with API access
- OAuth2 App or Personal Access Token from Help Scout
- Claude Desktop (for DXT installation) or any MCP-compatible client
Note: The DXT extension includes Node.js, so no local installation needed for Claude Desktop users.
Quick Start
๐ฏ Option 1: Claude Desktop (DXT One-Click Install)
Easiest setup using DXT (Desktop Extensions) - no configuration needed:
- Download the latest
.dxt
file from releases - Double-click to install in Claude Desktop
- Enter your Help Scout OAuth2 Client ID and Client Secret when prompted
- Start using immediately!
๐ Option 2: Claude Desktop (Manual Config)
{
"mcpServers": {
"helpscout": {
"command": "npx",
"args": ["help-scout-mcp-server"],
"env": {
"HELPSCOUT_CLIENT_ID": "your-client-id",
"HELPSCOUT_CLIENT_SECRET": "your-client-secret"
}
}
}
}
๐ณ Option 3: Docker
docker run -e HELPSCOUT_CLIENT_ID="your-client-id" \
-e HELPSCOUT_CLIENT_SECRET="your-client-secret" \
drewburchfield/help-scout-mcp-server
๐ป Option 4: Command Line
HELPSCOUT_CLIENT_ID="your-client-id" \
HELPSCOUT_CLIENT_SECRET="your-client-secret" \
npx help-scout-mcp-server
Getting Your API Credentials
๐ฏ Recommended: OAuth2 Client Credentials
- Go to Help Scout โ My Apps โ Create Private App
- Fill in app details and select required scopes
- Copy your Client ID and Client Secret
- Use in configuration:
HELPSCOUT_CLIENT_ID=your-client-id
HELPSCOUT_CLIENT_SECRET=your-client-secret
๐ Alternative: Personal Access Token
- Go to Help Scout โ Your Profile โ API Keys
- Create a new Personal Access Token
- Use in configuration:
HELPSCOUT_API_KEY=Bearer your-token-here
Features
- ๐ Advanced Search: Multi-status conversation search, content filtering, boolean queries
- ๐ Smart Analysis: Conversation summaries, thread retrieval, inbox monitoring
- ๐ Enterprise Security: PII redaction, secure token handling, comprehensive audit logs
- โก High Performance: Built-in caching, rate limiting, automatic retry logic
- ๐ฏ Easy Integration: Works with Claude Desktop, Cursor, Continue.dev, and more
Tools & Capabilities
Core Search Tools
Tool | Description | Best For |
---|---|---|
comprehensiveConversationSearch | โญ Recommended - Searches across all conversation statuses automatically | Finding conversations without knowing exact status |
searchConversations | Basic search with Help Scout query syntax | Targeted searches with specific filters |
advancedConversationSearch | Boolean queries with content/subject/email filtering | Complex search requirements |
searchInboxes | Find inboxes by name | Discovering available inboxes |
Analysis & Retrieval Tools
Tool | Description | Use Case |
---|---|---|
getConversationSummary | Customer message + latest staff reply summary | Quick conversation overview |
getThreads | Complete conversation message history | Full context analysis |
getServerTime | Current server timestamp | Time-relative searches |
Resources
helpscout://inboxes
- List all accessible inboxeshelpscout://conversations
- Search conversations with filtershelpscout://threads
- Get thread messages for a conversationhelpscout://clock
- Current server timestamp
Search Examples
Recommended: Multi-Status Search
// Best approach - automatically searches active, pending, and closed
comprehensiveConversationSearch({
searchTerms: ["urgent", "billing"],
timeframeDays: 60,
inboxId: "256809"
})
Content-Specific Searches
// Search in message bodies and subjects
comprehensiveConversationSearch({
searchTerms: ["refund", "cancellation"],
searchIn: ["both"],
timeframeDays: 30
})
// Customer organization search
advancedConversationSearch({
emailDomain: "company.com",
contentTerms: ["integration", "API"],
status: "active"
})
Help Scout Query Syntax
// Advanced query syntax support
searchConversations({
query: "(body:\"urgent\" OR subject:\"emergency\") AND tag:\"escalated\"",
status: "active"
})
Configuration Options
Variable | Description | Default |
---|---|---|
HELPSCOUT_CLIENT_ID | OAuth2 Client ID from Help Scout My Apps | Required |
HELPSCOUT_CLIENT_SECRET | OAuth2 Client Secret from Help Scout My Apps | Required |
HELPSCOUT_API_KEY | Personal Access Token (format: Bearer token ) | Alternative to OAuth2 |
HELPSCOUT_BASE_URL | Help Scout API endpoint | https://api.helpscout.net/v2/ |
ALLOW_PII | Include message content in responses | false |
CACHE_TTL_SECONDS | Cache duration for API responses | 300 |
LOG_LEVEL | Logging verbosity (error , warn , info , debug ) | info |
Compatibility
Works with any Model Context Protocol (MCP) compatible client:
- ๐ฅ๏ธ Desktop Applications: Claude Desktop, AI coding assistants, and other MCP-enabled desktop apps
- ๐ Code Editors: VS Code extensions, Cursor, and other editors with MCP support
- ๐ Custom Integrations: Any application implementing the MCP standard
- ๐ ๏ธ Development Tools: Command-line MCP clients and custom automation scripts
Primary Platform: Claude Desktop with full DXT and manual configuration support
Since this server follows the MCP standard, it automatically works with any current or future MCP-compatible client.
Security & Privacy
- ๐ PII Protection: Message content redacted by default
- ๐ก๏ธ Secure Authentication: OAuth2 Client Credentials or Personal Access Token with automatic refresh
- ๐ Audit Logging: Comprehensive request tracking and error logging
- โก Rate Limiting: Built-in retry logic with exponential backoff
- ๐ข Enterprise Ready: SOC2 compliant deployment options
Development
# Quick start
git clone https://github.com/drewburchfield/help-scout-mcp-server.git
cd help-scout-mcp-server
npm install && npm run build
# Create .env file with your credentials (OAuth2)
echo "HELPSCOUT_CLIENT_ID=your-client-id" > .env
echo "HELPSCOUT_CLIENT_SECRET=your-client-secret" >> .env
# Start the server
npm start
Troubleshooting
Common Issues
Authentication Failed
# Verify your credentials
echo $HELPSCOUT_CLIENT_ID
echo $HELPSCOUT_CLIENT_SECRET
# Test with curl
curl -X POST https://api.helpscout.net/v2/oauth2/token \
-d "grant_type=client_credentials&client_id=$HELPSCOUT_CLIENT_ID&client_secret=$HELPSCOUT_CLIENT_SECRET"
Connection Timeouts
- Check your network connection to
api.helpscout.net
- Verify no firewall blocking HTTPS traffic
- Consider increasing
HTTP_SOCKET_TIMEOUT
environment variable
Rate Limiting
- The server automatically handles rate limits with exponential backoff
- Reduce concurrent requests if you see frequent 429 errors
- Monitor logs for retry patterns
Empty Search Results
- Verify inbox permissions with your API credentials
- Check conversation exists and you have access
- Try broader search terms or different time ranges
Debug Mode
Enable debug logging to troubleshoot issues:
LOG_LEVEL=debug npx help-scout-mcp-server
Getting Help
If you're still having issues:
- Check existing issues
- Enable debug logging and share relevant logs
- Include your configuration (without credentials!)
Contributing
We welcome contributions! Here's how to get started:
๐ Quick Development Setup
git clone https://github.com/drewburchfield/help-scout-mcp-server.git
cd help-scout-mcp-server
npm install
๐ง Development Workflow
# Run tests
npm test
# Type checking
npm run type-check
# Linting
npm run lint
# Build for development
npm run build
# Start development server
npm run dev
๐ Before Submitting
- โ
All tests pass (
npm test
) - โ
Type checking passes (
npm run type-check
) - โ
Linting passes (
npm run lint
) - โ Add tests for new features
- โ Update documentation if needed
๐ Bug Reports
When reporting bugs, please include:
- Help Scout MCP Server version
- Node.js version
- Authentication method (OAuth2/Personal Access Token)
- Error messages and logs
- Steps to reproduce
๐ก Feature Requests
We'd love to hear your ideas! Please open an issue describing:
- The problem you're trying to solve
- Your proposed solution
- Any alternative approaches you've considered
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- NPM Package: help-scout-mcp-server
License
MIT License - see file for details.
Need help? Open an issue or check our documentation.