slack_search_function_mcp

slack_search_function_mcp

2

The Slack Search MCP Server is designed as a Model Context Protocol (MCP) server facilitating LLMs to access Slack's search functionalities efficiently. It provides comprehensive tools and resources to manage and retrieve workspace data such as users, channels, and messages securely.

Slack Search MCP Server

A Model Context Protocol (MCP) server that provides access to Slack's search functionality. This server allows retrieval of users, channels, messages, and more from a Slack workspace.

Features

  • Tools to get users, channels, channel messages, thread replies, and search messages in Slack.
  • Resources for retrieving all users and channels.

Requirements

  • Bun runtime
  • Slack API token with appropriate permissions

Installation

  1. Clone the repository.
  2. Install dependencies using Bun.

Usage

  1. Set the Slack API token as an environment variable.
  2. Run the server using Bun or the compiled executable.

Building

To build the executable, run the build command to generate a compiled version.

Error Handling

Includes handling of token issues, API limits, network errors, and authentication problems.

Security

The Slack API token is kept secure and is only passed via environment variables.