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

yespark-slack-mcp-server

v1.0.2

Published

Security-hardened MCP server for Slack (DMs blocked)

Readme

yespark-slack-mcp-server

Serveur MCP pour Slack, sécurisé pour une utilisation avec des assistants IA.

Sécurité : Les DMs et group DMs sont bloqués pour protéger les conversations privées.

Installation

npm install yespark-slack-mcp-server

Configuration MCP

{
  "mcpServers": {
    "slack": {
      "command": "npx",
      "args": ["yespark-slack-mcp-server"],
      "env": {
        "SLACK_MCP_XOXC_TOKEN": "xoxc-...",
        "SLACK_MCP_XOXD_TOKEN": "xoxd-..."
      }
    }
  }
}

Authentification

Option 1 : Tokens du navigateur (recommandé)

  1. Ouvre Slack dans ton navigateur (pas l'app desktop)
  2. Ouvre la console développeur (F12)

Récupérer SLACK_MCP_XOXC_TOKEN :

JSON.parse(localStorage.localConfig_v2).teams[document.location.pathname.match(/^\/client\/([A-Z0-9]+)/)[1]].token

Récupérer SLACK_MCP_XOXD_TOKEN :

  • Onglet ApplicationCookies
  • Copie la valeur du cookie nommé d

Option 2 : OAuth Token (xoxp)

  1. Crée une app sur https://api.slack.com/apps
  2. Ajoute les scopes : channels:read, channels:history, groups:read, groups:history, users:read, search:read, chat:write
  3. Installe l'app et copie le User OAuth Token (xoxp-...)
{
  "env": {
    "SLACK_TOKEN": "xoxp-..."
  }
}

Variables d'environnement

| Variable | Description | |----------|-------------| | SLACK_MCP_XOXC_TOKEN | Token browser (xoxc-...) | | SLACK_MCP_XOXD_TOKEN | Cookie browser (xoxd-...) | | SLACK_TOKEN | Alternative : OAuth token (xoxp-...) | | SLACK_MCP_ADD_MESSAGE_TOOL | true ou liste de channel IDs pour activer l'envoi |

Outils disponibles

| Outil | Description | |-------|-------------| | channels_list | Liste les channels (public + privé) | | conversations_history | Messages d'un channel | | conversations_replies | Réponses d'un thread | | conversations_search | Recherche de messages | | conversations_add_message | Poster un message (désactivé par défaut) |

Restrictions de sécurité

| Fonctionnalité | Statut | |----------------|--------| | DMs (@user, D...) | ❌ Bloqué | | Group DMs (MPIM) | ❌ Bloqué | | Channels publics | ✅ Autorisé | | Channels privés | ✅ Autorisé |

Licence

MIT