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

slack-workspace-mcp-server

v0.0.1

Published

MCP server for Slack workspace integration

Readme

Slack MCP Server

A Model Context Protocol (MCP) server for integrating with Slack workspaces. This server provides tools for reading and writing messages, managing threads, and reacting to messages in Slack.

Features

  • List Channels - View all accessible public and private channels
  • Read Channel - Get channel info and recent messages
  • Read Threads - Get full threaded conversations
  • Post Messages - Send new messages to channels
  • Reply to Threads - Continue threaded conversations
  • Update Messages - Edit previously posted messages
  • React to Messages - Add emoji reactions to messages

Installation

npm install slack-workspace-mcp-server

Or run directly with npx:

npx slack-workspace-mcp-server

Configuration

Required Environment Variables

| Variable | Description | Example | | ----------------- | -------------------------- | -------------- | | SLACK_BOT_TOKEN | Slack Bot User OAuth Token | xoxb-1234... |

Optional Environment Variables

| Variable | Description | Default | | -------------------- | ----------------------------------- | ----------- | | ENABLED_TOOLGROUPS | Comma-separated list of tool groups | All enabled |

Getting a Bot Token

  1. Go to api.slack.com/apps
  2. Create a new app or select an existing one
  3. Navigate to OAuth & Permissions
  4. Add the following Bot Token Scopes:
    • channels:read - View basic channel information
    • channels:history - View messages in public channels
    • groups:read - View private channels
    • groups:history - View messages in private channels
    • chat:write - Send messages
    • reactions:write - Add reactions
  5. Install the app to your workspace
  6. Copy the Bot User OAuth Token (starts with xoxb-)

MCP Client Configuration

For Claude Desktop, add to your configuration:

{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": ["slack-workspace-mcp-server"],
      "env": {
        "SLACK_BOT_TOKEN": "xoxb-your-token-here"
      }
    }
  }
}

Available Tools

Read-Only Tools

| Tool | Description | | -------------------- | ------------------------------------- | | slack_get_channels | List all accessible channels | | slack_get_channel | Get channel info with recent messages | | slack_get_thread | Get a thread with all replies |

Write Tools

| Tool | Description | | ------------------------ | ---------------------------------- | | slack_post_message | Post a new message to a channel | | slack_reply_to_thread | Reply to an existing thread | | slack_update_message | Update a previously posted message | | slack_react_to_message | Add an emoji reaction to a message |

Tool Groups

You can control which tools are available using the ENABLED_TOOLGROUPS environment variable:

  • readonly - Only read operations (get channels, messages, threads)
  • write - All operations including posting and reactions

Example: ENABLED_TOOLGROUPS=readonly to disable all write operations.

Development

# Install dependencies
npm run install-all

# Run in development mode
npm run dev

# Run tests
npm test                  # Functional tests
npm run test:integration  # Integration tests
npm run test:manual       # Manual tests (requires real credentials)

# Build
npm run build

License

MIT