原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Slack MCP Server

作者:stevenvo版本 0.1.0i★ –i在你的电脑上运行
注册名称io.github.stevenvo/slack-mcp-server

安装

概览

作者提供的说明(英文原文)

Read Slack conversations, threads, user info, and search messages from your MCP client.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 聊天与邮件
  • 你需要填写:SLACK_USER_TOKEN, SLACK_BOT_TOKEN, SLACK_WORKSPACE_URL

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: SLACK_USER_TOKEN, SLACK_BOT_TOKEN, SLACK_WORKSPACE_URL

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "slack": {
      "command": "uvx",
      "args": [
        "slack-mcp-server-v2"
      ],
      "env": {
        "SLACK_USER_TOKEN": "your-value",
        "SLACK_BOT_TOKEN": "your-value",
        "SLACK_WORKSPACE_URL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add slack --env SLACK_USER_TOKEN=your-value --env SLACK_BOT_TOKEN=your-value --env SLACK_WORKSPACE_URL=your-value -- uvx slack-mcp-server-v2

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "slack": {
      "command": "uvx",
      "args": [
        "slack-mcp-server-v2"
      ],
      "env": {
        "SLACK_USER_TOKEN": "your-value",
        "SLACK_BOT_TOKEN": "your-value",
        "SLACK_WORKSPACE_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "slack": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "slack-mcp-server-v2"
      ],
      "env": {
        "SLACK_USER_TOKEN": "your-value",
        "SLACK_BOT_TOKEN": "your-value",
        "SLACK_WORKSPACE_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • SLACK_USER_TOKEN 机密 env
    Slack User OAuth Token (starts with xoxp-). Get from https://api.slack.com/apps
  • SLACK_BOT_TOKEN 机密 env
    Slack Bot User OAuth Token (starts with xoxb-). Alternative to user token.
  • SLACK_WORKSPACE_URL 必填 env
    Your Slack workspace URL (e.g., https://your-company.slack.com). Required for generating message links.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 stevenvo 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“聊天与邮件”中的其他服务器比较i

  • 星标数多于此分类中其他 1783 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1783 个服务器的 1% 更新
  • 基础检查结果等于或优于此分类中其他 1783 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Slack MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:SLACK_USER_TOKEN, SLACK_BOT_TOKEN, SLACK_WORKSPACE_URL

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.0)于12个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Vexa, emailmd, MCP WhatsApp Cloud

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Vexa

作者:Vexa-ai

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

在云端运行★ 2,949Apache-2.02个月前更新
安装

emailmd

作者:anypost

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

电脑或云端★ 1,385MIT31天前更新
安装

MCP WhatsApp Cloud

作者:codespar

MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API

在你的电脑上运行★ 277MIT5个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Slack MCP Server

A Model Context Protocol (MCP) server that provides programmatic access to Slack conversations, threads, and workspace information. Designed for AI assistants like Claude to interact with your Slack workspace through a standardized interface.

What is MCP?

The Model Context Protocol is an open standard that enables AI assistants to securely access external data sources and tools. This server implements MCP to give Claude direct access to your Slack workspace.

Features

📨 Message Operations
  • Read Channel Messages: Fetch recent messages from any channel with flexible time-based filtering
  • Read Thread Messages: Access complete conversation threads including all replies
  • Get Message Permalinks: Generate permanent, shareable links to specific messages
🔍 Discovery & Search
  • List Your Channels: Enumerate all channels you're a member of (public, private, DMs, group DMs)
  • Search Conversations: Find messages where you're mentioned or involved using Slack's search
📊 Metadata & Context
  • Get Channel Info: View channel details, topics, purposes, member counts, and settings
  • Get User Info: Look up user profiles, emails, titles, timezones, and status information

Quick Start

Option 1: Install from PyPI (Recommended)

The easiest way to use this MCP server is to install it directly from PyPI:

# Install via pip

pip install slack-mcp-server-v2

Or install via uvx (recommended for MCP servers)

uvx slack-mcp-server-v2

Option 2: Install from Source
# Clone the repository

git clone https://github.com/stevenvo/slack-mcp-server.git cd slack-mcp-server

Install dependencies

pip install -r requirements.txt

After installation, you'll need to set up authentication (see below).

Authentication

Option 1: User Token (Recommended)

A User Token uses your personal Slack permissions and can access all channels you're a member of.

  1. Go to https://api.slack.com/apps
  2. Create a new app (or use existing)
  3. Navigate to "OAuth & Permissions"
  4. Add the following User Token Scopes:
  • channels:history - View messages in public channels
  • channels:read - View basic channel info
  • groups:history - View messages in private channels
  • groups:read - View basic private channel info
  • im:history - View messages in direct messages
  • im:read - View basic DM info
  • mpim:history - View messages in group DMs
  • mpim:read - View basic group DM info
  • users:read - View user information
  • search:read - Search messages
  1. Install the app to your workspace
  2. Copy the "User OAuth Token" (starts with xoxp-)
Option 2: Bot Token

A Bot Token is more limited but easier to set up for team-wide access.

  1. Follow steps 1-2 above
  2. Add Bot Token Scopes instead (same list but in bot section)
  3. Install the app
  4. Copy the "Bot User OAuth Token" (starts with xoxb-)
  5. Invite the bot to channels you want to read: /invite @YourBotName
Configure Environment

Create a .env file:

cp .env.example .env

Edit .env and add your token:

# Use one of these:

SLACK_USER_TOKEN=[PopNx MCP ตัดค่าที่หน้าตาเหมือนกุญแจออก]

OR

SLACK_BOT_TOKEN=[PopNx MCP ตัดค่าที่หน้าตาเหมือนกุญแจออก]

Configuration for Claude Code

Add this server to Claude Code by editing your ~/.claude.json file:

Using PyPI Package (Recommended)
{

"mcpServers": { "slack": { "command": "uvx", "args": ["slack-mcp-server-v2"], "env": { "SLACK_USER_TOKEN": "[PopNx MCP ตัดค่าที่หน้าตาเหมือนกุญแจออก]", "SLACK_WORKSPACE_URL": "https://your-workspace.slack.com" } } } }

Using Local Installation

If you installed from source:

{

"mcpServers": { "slack": { "command": "python", "args": ["/path/to/slack-mcp-server/server.py"], "env": { "SLACK_USER_TOKEN": "[PopNx MCP ตัดค่าที่หน้าตาเหมือนกุญแจออก]", "SLACK_WORKSPACE_URL": "https://your-workspace.slack.com" } } } }

Using Bot Token

If you prefer to use a bot token instead of a user token:

{

"mcpServers": { "slack": { "command": "uvx", "args": ["slack-mcp-server-v2"], "env": { "SLACK_BOT_TOKEN": "[PopNx MCP ตัดค่าที่หน้าตาเหมือนกุญแจออก]", "SLACK_WORKSPACE_URL": "https://your-workspace.slack.com" } } } }

Note: Remember to invite your bot to channels: /invite @YourBotName

Verify Installation

Restart Claude Code and verify the server is running:

claude mcp list

You should see slack in the list of active MCP servers.

Available Tools

This server provides 7 MCP tools for interacting with Slack:

📬 read_channel_messages

Retrieve recent messages from any Slack channel with flexible time filtering.

Parameters:

NameTypeRequiredDefaultDescription
channel_idstring✅-Slack channel ID (e.g., C1234567890)
lookback_hoursnumber❌24Hours to look back from now
limitnumber❌100Max messages to retrieve (max: 1000)

Natural Language Examples:

  • "Show me messages from the #general channel in the last 24 hours"
  • "Read the last 48 hours of messages from channel C1234567890"
  • "Get the most recent 50 messages from C070PDRHQS1"

Returns: Formatted messages with timestamps, user mentions, thread indicators, reactions, and permalinks.


💬 read_thread_messages

Read all messages in a conversation thread, including the parent message and all replies.

Parameters:

NameTypeRequiredDescription
channel_idstring✅Channel ID where the thread exists
thread_tsstring✅Thread timestamp (the ts field of the parent message)

Natural Language Examples:

  • "Read the full thread with timestamp 1699564800.123456 in channel C1234567890"
  • "Show me all replies to message ts 1699564800.123456"

Returns: Complete thread with parent message and all replies, formatted with timestamps and reactions.


📋 get_channel_info

Get detailed metadata about a Slack channel.

Parameters:

NameTypeRequiredDescription
channel_idstring✅Slack channel ID

Natural Language Examples:

  • "Get info about channel C1234567890"
  • "Show me details for the #engineering channel"

Returns: Channel name, ID, creation date, member count, privacy status, topic, and purpose.


👤 get_user_info

Look up detailed profile information for any Slack user.

Parameters:

NameTypeRequiredDescription
user_idstring✅Slack user ID (e.g., U1234567)

Natural Language Examples:

  • "Get info about user U1234567"
  • "Show me details for @john.doe"

Returns: User's real name, display name, email, title, status, timezone, and admin/bot flags.


📑 list_my_channels

List all channels you're a member of, with support for different channel types.

Parameters:

NameTypeRequiredDefaultDescription
typesstring❌public_channel,private_channelComma-separated channel types

Supported Types:

  • public_channel - Public channels
  • private_channel - Private channels
  • mpim - Group direct messages
  • im - Direct messages

Natural Language Examples:

  • "List all my channels"
  • "Show me all private channels I'm in"
  • "List all my DMs"

Returns: Channel names, IDs, member counts, and privacy indicators.


🔍 search_my_conversations

Search for messages across all conversations where you're mentioned or involved.

Parameters:

NameTypeRequiredDefaultDescription
querystring✅-Search terms
countnumber❌20Number of results (max: 100)

Natural Language Examples:

  • "Search my conversations for 'deployment'"
  • "Find messages mentioning 'bug fix' in the last week"
  • "Search for messages about 'Q4 planning'"

Returns: Matching messages with channel names, user info, timestamps, and permalinks.


🔗 get_message_permalink

Generate a permanent, shareable link to a specific Slack message.

Parameters:

NameTypeRequiredDescription
channel_idstring✅Channel ID
message_tsstring✅Message timestamp

Natural Language Examples:

  • "Get permalink for message 1699564800.123456 in channel C1234567890"
  • "Generate a link to this message"

Returns: Permanent URL that works even if the workspace's URL changes.

Usage Examples

Once configured in Claude Code, you can interact with your Slack workspace using natural language. Here are some example queries:

Reading Messages
👤 "Show me the latest messages from #engineering"

🤖 [Claude fetches and displays recent messages with timestamps, users, and links]

👤 "What were the last 100 messages in the #product-updates channel from the past week?" 🤖 [Claude retrieves messages from the last 168 hours with limit of 100]

Following Threads
👤 "Read the full thread that starts at timestamp 1699564800.123456 in channel C1234567890"

🤖 [Claude displays the entire conversation thread with all replies]

Discovery & Search
👤 "List all channels I'm a member of"

🤖 [Claude shows all your public and private channels with member counts]

👤 "Search my Slack conversations for 'quarterly review'" 🤖 [Claude searches across all your messages and shows matches with context]

👤 "Find mentions of 'production deployment' in my conversations" 🤖 [Claude uses Slack search to find relevant messages]

Getting Context
👤 "Get info about channel C1234567890"

🤖 [Claude shows channel name, topic, member count, etc.]

👤 "Who is user U1234567?" 🤖 [Claude displays user profile with email, title, timezone]

👤 "Get me a permanent link to message 1699564800.123456 in #general" 🤖 [Claude generates a shareable permalink]

Practical Workflows

Catch up on a project:

👤 "Show me all messages from #project-alpha in the last 3 days"

Find that important decision:

👤 "Search for messages about 'API migration decision'"

Get onboarding context:

👤 "List all channels I'm in and show me the purpose of each"

Finding Channel IDs

Method 1: From Slack URL

When you're in a channel, the URL looks like:

https://your-workspace.slack.com/archives/C1234567890/p1234567890

The part after /archives/ is the channel ID: C1234567890

Method 2: Using the MCP Server

Ask Claude:

List all my channels
Method 3: Right-click in Slack
  1. Right-click on the channel name
  2. Click "Copy link"
  3. Extract the channel ID from the URL

Requirements

  • Python: 3.10 or higher
  • Slack Workspace: Admin access to create and configure a Slack app
  • Claude Code: Latest version with MCP support
  • Operating System: macOS, Linux, or Windows with WSL

Troubleshooting

"Missing required scopes" Error

Your Slack app needs the proper OAuth scopes configured.

Solution:

  1. Go to https://api.slack.com/apps and select your app
  2. Navigate to "OAuth & Permissions"
  3. Ensure you've added all required scopes listed in the Authentication section
  4. Reinstall the app to your workspace
  5. Copy the new to

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx