Slack Feedback MCP Server
Enables users to collect, search, and retrieve product feedback and full conversation threads directly from Slack channels. It supports filtering messages by specific stakeholders and time ranges to facilitate efficient feedback analysis.
README
Slack Feedback MCP Server
MCP server for collecting product feedback from Bryan and others in the StartupOS Slack workspace.
What It Does
This MCP server provides three tools for Claude Code:
- get_stakeholder_feedback - Pull messages from Bryan (and others) with flexible date filtering
- get_thread_context - Retrieve full conversation threads
- search_feedback - Search feedback by keywords
Setup Instructions
Step 1: Create the Slack Channel
- In your StartupOS Slack workspace, create a new channel:
#bryan-product-feedback - Invite Bryan to the channel
- Get the channel ID:
- Right-click the channel name
- Select "View channel details"
- Scroll to the bottom and copy the Channel ID (starts with C...)
Step 2: Get Bryan's User ID
- Click on Bryan's profile in Slack
- Click "More" → "Copy member ID"
- Save this ID (starts with U...)
Step 3: Create the Slack App
- Go to https://api.slack.com/apps
- Click "Create New App" → "From scratch"
- Name: "Feedback Collector MCP"
- Workspace: StartupOS
- Click "Create App"
Step 4: Configure Bot Permissions
- In your app settings, go to "OAuth & Permissions"
- Scroll to "Scopes" → "Bot Token Scopes"
- Add these scopes:
channels:history- Read messages in public channelschannels:read- View basic channel infogroups:history- Read messages in private channelsgroups:read- View basic private channel infousers:read- Get user infosearch:read- Search messages
Step 5: Install to Workspace
- Scroll to the top of "OAuth & Permissions"
- Click "Install to Workspace"
- Click "Allow"
- Copy the "Bot User OAuth Token" (starts with
xoxb-)
Step 6: Add Bot to Channel
- Go to the
#bryan-product-feedbackchannel in Slack - Type:
/invite @Feedback Collector MCP - Press Enter
Step 7: Deploy to Railway
Option A: Deploy from GitHub (Recommended)
- Push this code to a GitHub repository
- Go to https://railway.app and sign up with GitHub
- Click "New Project" → "Deploy from GitHub repo"
- Select your repository
- Railway will auto-detect the Node.js project
Option B: Deploy via CLI
npm install -g @railway/cli
railway login
railway init
railway up
Step 8: Set Environment Variables in Railway
In your Railway project dashboard:
-
Go to the "Variables" tab
-
Add these variables:
SLACK_BOT_TOKEN= your xoxb- token from Step 5SLACK_BRYAN_USER_ID= Bryan's user ID from Step 2FEEDBACK_CHANNEL_ID= channel ID from Step 1PORT= 3000
-
Save and redeploy if needed
Step 9: Get Your Railway URL
After deployment, Railway assigns you a public URL like:
https://slack-feedback-mcp-production-xxxx.up.railway.app
Copy this URL.
Step 10: Configure Claude Code
Add to your Claude Code MCP settings file:
Location: ~/.claude/settings.json or project .mcp.json
{
"mcpServers": {
"slack-feedback": {
"type": "sse",
"url": "https://YOUR-RAILWAY-URL.up.railway.app/sse"
}
}
}
Replace YOUR-RAILWAY-URL with your actual Railway URL.
Testing
Restart Claude Code and try:
- "Pull feedback from Bryan from the last 48 hours"
- "Search for feedback mentioning 'authentication'"
- "Get the full thread for this message" (when you have a thread_ts)
Available Tools
get_stakeholder_feedback
Pull messages from the feedback channel with date filtering.
Parameters:
time_range(optional): "last 48 hours", "last 7 days", "today", "this week", etc.stakeholder(optional): "bryan" or "all" (default: "all")channel_id(optional): Specific channel to search
Example:
Pull Bryan's feedback from the last 2 days
get_thread_context
Get full conversation thread including all replies.
Parameters:
channel_id(required): Channel IDthread_ts(required): Parent message timestamp
Example:
Get the full thread for message ts: 1234567890.123456 in channel C0XXXXXXXXX
search_feedback
Search Bryan's messages by keyword.
Parameters:
query(required): Search keywordstime_range(optional): Time range filter
Example:
Search Bryan's feedback for "login flow" from the last month
Local Development
- Copy
.env.exampleto.env - Fill in your values
- Run:
npm run dev
Server runs on http://localhost:3000
Security Notes
- Never commit
.envor tokens to git - Slack bot token only has read permissions
- Railway environment variables are encrypted at rest
Troubleshooting
"Channel not found" error:
- Make sure you invited the bot to the channel (
/invite @Feedback Collector MCP) - Verify the channel ID is correct
"Not authorized" error:
- Check that all required scopes are added in the Slack app settings
- Reinstall the app to workspace after adding scopes
No messages returned:
- Verify Bryan's user ID is correct
- Check that there are actually messages in the time range
- Try a longer time range like "last 30 days"
Future Enhancements
The codebase is structured to support Claude-powered summarization and categorization of feedback. To enable this:
- Add
ANTHROPIC_API_KEYenvironment variable - Uncomment summarization logic in the tools
- Add
@anthropic-ai/sdkdependency
For now, raw messages are returned for maximum flexibility.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.