ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว

Slack MCP Server

โดย stevenvoรุ่น 0.1.0i★ 1iรันบนเครื่อง
ชื่อใน registryio.github.stevenvo/slack-mcp-server

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ต้องมี SLACK_USER_TOKEN, SLACK_BOT_TOKEN · ต้องกรอกค่าตั้ง 1 ช่อง (SLACK_WORKSPACE_URL)
  • หมวด แชตและอีเมล
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Read Slack conversations, threads, user info, and search messages from your MCP client.

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 2/3 · ทำงานบนเครื่องคุณ · ✓ ตรวจคำสั่งแล้ว 14 พ.ย. 2569

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ Slack MCP Server (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SLACK_WORKSPACE_URL) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. สมัครและสร้างคีย์ของ Slack MCP Server

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  3. กรอกค่าตั้ง 1 ช่อง

    ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย

    • SLACK_WORKSPACE_URL Your Slack workspace URL (e.g., https://your-company.slack.com). Required for generating message links.

    คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ

  4. เปิดไฟล์ตั้งค่าของแอป Claude บนคอม

    SettingsDeveloperEdit Config

  5. วางค่าตั้งนี้แล้วบันทึกไฟล์

    {
      "mcpServers": {
        "slack": {
          "command": "uvx",
          "args": [
            "slack-mcp-server-v2"
          ],
          "env": {
            "SLACK_USER_TOKEN": "ใส่ค่าของคุณ",
            "SLACK_BOT_TOKEN": "ใส่ค่าของคุณ",
            "SLACK_WORKSPACE_URL": "ใส่ค่าของคุณ"
          }
        }
      }
    }

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  6. ปิดแอป Claude แล้วเปิดใหม่

  7. ลองเลย

    ใช้ Slack MCP Server บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ Slack MCP Server หรือมีชื่อเครื่องมือของ Slack MCP Server ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ Slack MCP Server ไม่ได้

Slack MCP Server ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ Slack MCP Server ได้

  • ต้องมีคีย์ของ Slack MCP Server (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SLACK_WORKSPACE_URL) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
  • ต้องมีคีย์ของ Slack MCP Server (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SLACK_WORKSPACE_URL) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องมีคีย์ของ Slack MCP Server (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SLACK_WORKSPACE_URL) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องมีคีย์ของ Slack MCP Server (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SLACK_WORKSPACE_URL) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

ข · ตัวอื่นในหมวด แชตและอีเมล ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ Slack MCP Server (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SLACK_WORKSPACE_URL) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. สมัครและสร้างคีย์ของ Slack MCP Server

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  3. กรอกค่าตั้ง 1 ช่อง

    ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย

    • SLACK_WORKSPACE_URL Your Slack workspace URL (e.g., https://your-company.slack.com). Required for generating message links.

    คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ

  4. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  5. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --scope user slack --env SLACK_USER_TOKEN='ใส่ค่าของคุณ' --env SLACK_BOT_TOKEN='ใส่ค่าของคุณ' --env SLACK_WORKSPACE_URL='ใส่ค่าของคุณ' -- uvx slack-mcp-server-v2

    แก้ “ใส่ค่าของคุณ” เป็นคีย์ของคุณก่อนกด Enter

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  6. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น Slack MCP Server ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  7. ลองเลย

    ใช้ Slack MCP Server บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ Slack MCP Server หรือมีชื่อเครื่องมือของ Slack MCP Server ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ Slack MCP Server (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SLACK_WORKSPACE_URL) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. สมัครและสร้างคีย์ของ Slack MCP Server

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  3. กรอกค่าตั้ง 1 ช่อง

    ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย

    • SLACK_WORKSPACE_URL Your Slack workspace URL (e.g., https://your-company.slack.com). Required for generating message links.

    คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ

  4. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  5. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ Slack MCP Server ช่อง SLACK_USER_TOKEN, SLACK_BOT_TOKEN, SLACK_WORKSPACE_URL ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  6. เปิดแชตของ AI ใน Cursor โหมด Agent

  7. ลองเลย

    ใช้ Slack MCP Server บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ Slack MCP Server หรือมีชื่อเครื่องมือของ Slack MCP Server ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ Slack MCP Server (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SLACK_WORKSPACE_URL) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. สมัครและสร้างคีย์ของ Slack MCP Server

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  3. กรอกค่าตั้ง 1 ช่อง

    ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย

    • SLACK_WORKSPACE_URL Your Slack workspace URL (e.g., https://your-company.slack.com). Required for generating message links.

    คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ

  4. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  5. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ Slack MCP Server ช่อง SLACK_USER_TOKEN, SLACK_BOT_TOKEN, SLACK_WORKSPACE_URL ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  6. เปิดแชตของ AI ใน VS Code โหมด Agent

  7. ลองเลย

    ใช้ Slack MCP Server บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ Slack MCP Server หรือมีชื่อเครื่องมือของ Slack MCP Server ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ Slack MCP Server อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ติดตั้งในเครื่อง

Claude Code

claude mcp add --scope user slack --env SLACK_USER_TOKEN='ใส่ค่าของคุณ' --env SLACK_BOT_TOKEN='ใส่ค่าของคุณ' --env SLACK_WORKSPACE_URL='ใส่ค่าของคุณ' -- uvx slack-mcp-server-v2

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "slack": {
      "command": "uvx",
      "args": [
        "slack-mcp-server-v2"
      ],
      "env": {
        "SLACK_USER_TOKEN": "ใส่ค่าของคุณ",
        "SLACK_BOT_TOKEN": "ใส่ค่าของคุณ",
        "SLACK_WORKSPACE_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "slack": {
      "command": "uvx",
      "args": [
        "slack-mcp-server-v2"
      ],
      "env": {
        "SLACK_USER_TOKEN": "ใส่ค่าของคุณ",
        "SLACK_BOT_TOKEN": "ใส่ค่าของคุณ",
        "SLACK_WORKSPACE_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "slack": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "slack-mcp-server-v2"
      ],
      "env": {
        "SLACK_USER_TOKEN": "ใส่ค่าของคุณ",
        "SLACK_BOT_TOKEN": "ใส่ค่าของคุณ",
        "SLACK_WORKSPACE_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

ค่าที่ต้องใส่เอง

  • 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.

คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
25/สัปดาห์
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
0.1.0
ส่งเข้า registryi
7 พ.ย. 2568
แก้โค้ดล่าสุดi
17 ม.ค. 2569
ผู้ทำ
stevenvo
แพ็กเกจ
pypi: slack-mcp-server-v2
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 14 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub stevenvo ซึ่งเป็นเจ้าของ repo

  • ! ควรระวัง

    ยังมีคนดูแล

    แก้โค้ดล่าสุด 10 เดือนที่ผ่านมา นานกว่า 6 เดือน

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด แชตและอีเมลi

  • ดาวมากกว่า 83% ของอีก 2040 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 0% ของอีก 2040 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 51% ของอีก 2040 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Slack MCP Server ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 2 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: SLACK_USER_TOKEN, SLACK_BOT_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด 10 เดือนที่ผ่านมา และส่งรุ่นล่าสุด (0.1.0) เข้า registry 12 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี HyperFrames by HeyGen, Inbox Zero, draw.io

ตัวอื่นในหมวดเดียวกัน

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

HyperFrames by HeyGen

Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.

โดย heygen-comใช้กันมาก★ 83.9Kอัปเดต วันนี้

รันบนคลาวด์

Inbox Zero

Search Gmail and Outlook, save drafts, manage email rules, and view email stats.

โดย elie222ใช้กันมาก★ 13Kอัปเดต 44 วันที่ผ่านมา

รันบนคลาวด์

draw.io

Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.

โดย jgraphใช้กันมาก★ 5.8Kอัปเดต 4 วันที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · draw.io

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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

ตัดมาแค่ช่วงต้น อ่านต่อใน repo