slack-mcp

slack-mcp

Enables comprehensive interaction with Slack workspaces, allowing users to manage channels, send messages, and search history. It supports managing reminders, pins, reactions, and user information through the Model Context Protocol.

Category
Visit Server

README

Slack MCP Server

An MCP server implementation that integrates the Slack API, providing messaging, channel management, and search capabilities.

Features

  • Conversations: List channels, read message history, manage threads
  • Messaging: Send, update, and delete messages; add reactions
  • Search: Find messages across your workspace (user token only)
  • Users: List users, get profiles, lookup by email
  • Files & Pins: List files, manage pinned messages
  • Token Rotation: Automatic refresh for rotatable tokens

Tools

Conversations

  • slack_list_conversations - List channels, DMs, and group DMs
  • slack_get_conversation_info - Get channel details
  • slack_conversations_history - Fetch message history
  • slack_conversations_replies - Get thread replies
  • slack_conversations_members - List channel members
  • slack_conversations_join - Join a public channel
  • slack_conversations_leave - Leave a conversation
  • slack_conversations_open - Open a DM or group DM

Messages

  • slack_chat_post_message - Send a message to a channel or thread
  • slack_chat_update - Update an existing message
  • slack_chat_delete - Delete a message
  • slack_reactions_add - Add emoji reaction
  • slack_reactions_remove - Remove emoji reaction

Search

  • slack_search_messages - Search messages (requires user token)

Users

  • slack_users_list - List workspace users
  • slack_users_info - Get user details by ID
  • slack_users_lookup_by_email - Find user by email
  • slack_auth_test - Get current token info

Other

  • slack_team_info - Get workspace info
  • slack_bookmarks_list - List channel bookmarks
  • slack_pins_list / slack_pins_add / slack_pins_remove - Manage pins
  • slack_reminders_list / slack_reminders_add / slack_reminders_delete - Manage reminders
  • slack_files_list / slack_files_info - List and get file details

Configuration

Getting a Slack Token

  1. Go to Slack API Apps
  2. Click Create New AppFrom scratch
  3. Go to OAuth & Permissions
  4. Add scopes under Bot Token Scopes or User Token Scopes:
    channels:read, channels:history, chat:write, users:read, team:read
    
  5. Click Install to Workspace
  6. Copy the token (xoxb-... or xoxp-...)

Token Types

Token Prefix Search? Access
Bot xoxb- No Invited channels only
User xoxp- Yes All user's channels
Rotatable xoxe.xoxp- Yes Auto-refreshes

Development

Install Dependencies

uv sync

Run the Server

uv run python src/main.py

Test the API

uv run python test_api.py

Test with MCP Inspector

npx @modelcontextprotocol/inspector uv run python src/main.py

License

MIT License - see LICENSE for details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured