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

erica-slack-mcp

v1.0.0

Published

MCP server for accessing Slack private channels where the bot is a member

Downloads

80

Readme

ERICA Slack MCP Server

MCP server for accessing Slack private channels where the bot is a member.

Required Environment Variables

SLACK_BOT_TOKEN=xoxb-your-bot-token-here

How to Get the Bot Token

  1. Go to Slack API Apps
  2. Select your existing Slack app
  3. Navigate to OAuth & Permissions in the sidebar
  4. Copy the Bot User OAuth Token (starts with xoxb-)

Required Bot Token Scopes

Ensure your Slack app has these OAuth scopes under Bot Token Scopes:

| Scope | Purpose | |-------|---------| | channels:history | Read messages from public channels | | channels:read | List public channels | | groups:history | Read messages from private channels | | groups:read | List private channels | | chat:write | Post messages | | users:read | List users and get user info | | users:read.email | Access user email addresses | | search:read | Search messages (optional, requires user token) |

Note: For search:read to work, you may need a User OAuth Token instead of a Bot Token, as Slack's search API has limitations with bot tokens.

Tools

| Tool | Description | |------|-------------| | slack_list_channels | List all channels (public and private) where the bot is a member | | slack_get_channel_history | Get message history from a channel | | slack_get_thread | Get all replies in a thread | | slack_search_messages | Search messages across channels | | slack_post_message | Post a message to a channel | | slack_get_channel_info | Get detailed info about a channel | | slack_list_users | List workspace users | | slack_get_user_info | Get info about a specific user |

Installation

cd mcp/slack
npm install

Usage

The MCP server runs on stdio and is designed to be used with Claude Desktop or other MCP clients.

Claude Desktop Configuration

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "slack": {
      "command": "node",
      "args": ["/path/to/ERICA/mcp/slack/index.js"],
      "env": {
        "SLACK_BOT_TOKEN": "xoxb-your-bot-token"
      }
    }
  }
}

Important Notes

  • The bot must be invited to private channels to access them
  • To invite the bot: In Slack, go to the private channel → Settings → Integrations → Add apps
  • Message search may require a user token instead of bot token depending on your Slack workspace settings