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

@digitalpine/slack-api-mcp

v1.3.0

Published

Slack API MCP server providing comprehensive Slack operations (messaging, reactions, channels, users, file uploads)

Readme

Slack API MCP Server

Comprehensive Slack operations MCP server built with xmcp. Provides 12 tools for Slack messaging, channel management, user info, and file uploads.

Tools

  • post_message - Post messages to channels/threads (Block Kit only)
  • update_message - Edit existing messages (Block Kit only)
  • delete_message - Delete messages
  • add_reaction - Add emoji reactions
  • pin_message - Pin messages to channels
  • get_channel_context - Fetch message history with user name resolution
  • get_user_info - Get user information
  • list_channels - List accessible channels
  • upload_snippet - Upload text files/snippets (code, logs, etc.)
  • get_image_from_slack - Download images from Slack
  • create_channel - Create new Slack channels
  • invite_users - Invite users to channels

Features

  • Block Kit enforcement: post_message and update_message only accept Block Kit blocks
  • Compact formatting: Optional 60-90% size reduction for API responses
  • Smart caching: 5min TTL cache for users/channels with LRU eviction

Environment Variables

# Required
SLACK_BOT_TOKEN=xoxb-your-bot-token

Copy .env.example to .env and fill in your credentials.

Installation

# Clone repository
git clone https://github.com/yourusername/slack-api-mcp.git
cd slack-api-mcp

# Install dependencies
pnpm install

# Build server
pnpm build

Development

# Install dependencies
pnpm install

# Build server
pnpm build

# Start server (STDIO transport)
pnpm start:stdio

Usage

Add to .mcp.json:

{
  "mcpServers": {
    "slack-api": {
      "command": "node",
      "args": ["/absolute/path/to/slack-api-mcp/dist/stdio.js"],
      "env": {
        "SLACK_BOT_TOKEN": "${SLACK_BOT_TOKEN}"
      }
    }
  }
}

Or use .mcp.json in your project root:

{
  "mcpServers": {
    "slack-api": {
      "command": "node",
      "args": ["./dist/stdio.js"],
      "env": {
        "SLACK_BOT_TOKEN": "${SLACK_BOT_TOKEN}"
      }
    }
  }
}

Architecture

Built with xmcp framework:

  • Tools auto-discovered from src/tools/ directory
  • Shared utilities in src/lib/: caching, formatting, Slack client singleton
  • STDIO transport for Claude Code integration

License

MIT