1. Conduid
  2. AI
  3. Slackcli
MCP server · AI

Slackcli

The Slack CLI and MCP server built for LLM-powered agents and programmatic access.

64Good

Scored 2 days ago · breakdown

About Slackcli

Slackcli is an MCP server published by jackchuka in the AI category: the Slack CLI and MCP server built for LLM-powered agents and programmatic access.

The repository has 1 stars and 0 forks, with the last commit 4 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/jackchuka/slackcli

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Slackcli

Powered by Claude · Grounded in docs

I know everything about Slackcli. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

3 checks have not been run yet.

Releases

v0.3.26v0.3.26 · 13 Oct 2026What's Changed deps(deps): bump github.com/slack-go/slack from 0.29.0 to 0.30.1 by @dependabot[bot] in https://github.com/jackchuka/slackcli/pull/64 deps(deps): bump github.com/mark3labs/mcp-go from 1.1.1 to 1.2.1 by @dependabot[bot] in…
v0.3.25v0.3.25 · 29 Sep 2026What's Changed deps(deps): bump github.com/mark3labs/mcp-go from 1.1.0 to 1.1.1 by @dependabot[bot] in https://github.com/jackchuka/slackcli/pull/62 Full Changelog: https://github.com/jackchuka/slackcli/compare/v0.3.24...v0.3.25
v0.3.24v0.3.24 · 24 Sep 2026What's Changed deps(deps): bump github.com/olekukonko/tablewriter from 1.1.4 to 1.1.5 by @dependabot[bot] in https://github.com/jackchuka/slackcli/pull/60 deps(deps): bump github.com/mark3labs/mcp-go from 1.0.0 to 1.1.0 by @dependabot[bot]…
v0.3.23v0.3.23 · 14 Sep 2026What's Changed deps(deps): bump golang.org/x/term from 0.45.0 to 0.46.0 by @dependabot[bot] in https://github.com/jackchuka/slackcli/pull/59 Full Changelog: https://github.com/jackchuka/slackcli/compare/v0.3.22...v0.3.23
v0.3.22v0.3.22 · 7 Sep 2026What's Changed deps(deps): bump github.com/mark3labs/mcp-go from 0.58.0 to 1.0.0 by @dependabot[bot] in https://github.com/jackchuka/slackcli/pull/58 Full Changelog: https://github.com/jackchuka/slackcli/compare/v0.3.21...v0.3.22

README

slackcli

Test Go Report Card

For AI, by AI. The Slack CLI and MCP server built from the ground up for LLM-powered agents and programmatic access.

Why slackcli?

Most Slack tools are built for humans. slackcli is built for agents. Every design decision — JSON-first output, structured error codes, automatic pagination, rate limit retries — is made so LLMs can interact with Slack reliably without hand-holding. Plug it in as an MCP server and your AI agent gets Slack superpowers. Use --read-only mode when you want guardrails.

Quick Start

  1. Create a Slack app and install it to your workspace with the scopes you need (e.g. channels:read, chat:write, search:read).
  2. Grab the Bot or User OAuth Token (xoxb-...) from OAuth & Permissions.
  3. Run:
brew install jackchuka/tap/slackcli
export SLACK_TOKEN=xoxb-your-token
slackcli channels list

Features

  • CLI commands for channels, messages, users, files, reactions, and search
  • MCP server (stdio transport) for AI agent integration
  • JSON-first output optimized for LLM consumption, with TTY-aware table fallback
  • Rate limit handling with automatic retry
  • Error classification with structured error codes
  • Pagination support across all list operations
  • Read-only mode to prevent accidental writes by AI agents

Installation

Homebrew:

brew install jackchuka/tap/slackcli

Or via Go:

go install github.com/jackchuka/slackcli/cmd/slackcli@latest

Or build from source:

make build

Authentication

Set your Slack token via environment variable or the CLI:

# Environment variable
export SLACK_TOKEN=xoxb-your-token

# Or use the auth command
slackcli auth login --token xoxb-your-token

# With a named workspace
slackcli auth login --token xoxb-your-token --name my-workspace

Token resolution order: --token flag > SLACK_TOKEN env > stored config.

Usage

CLI

# Channels
slackcli channels list
slackcli channels info C1234567890
slackcli channels create new-channel

# Messages
slackcli messages list --channel C1234567890
slackcli messages send --channel C1234567890 --text "Hello"
slackcli messages search --query "important"

# Users
slackcli users list
slackcli users info U1234567890

# Files
slackcli files list
slackcli files upload --channel C1234567890 --file ./report.pdf

# Reactions
slackcli reactions add --channel C1234567890 --timestamp 1234567890.123456 --name thumbsup
slackcli reactions list --user U1234567890

MCP Server

Start the MCP server for AI agent integration:

slackcli mcp serve

Configure in your MCP client (e.g., Claude Desktop):

{
  "mcpServers": {
    "slack": {
      "command": "slackcli",
      "args": ["mcp", "serve"],
      "env": {
        "SLACK_TOKEN": "xoxb-your-token"
      }
    }
  }
}

Available MCP tools:

Category Tools
Channels list_channels, get_channel_info, create_channel, archive_channel, invite_to_channel, kick_from_channel, set_channel_topic, set_channel_purpose
Messages list_messages, send_message, edit_message, delete_message, search_messages
Users list_users, get_user_info, get_user_presence
Reactions add_reaction, remove_reaction, list_reactions
Files list_files, get_file_info, delete_file
Auth auth_test

Read-Only Mode

Use --read-only to restrict to read-only operations. This prevents AI agents from accidentally sending messages, deleting files, or modifying channels.

CLI -- write commands are rejected before execution:

slackcli --read-only channels list           # works
slackcli --read-only messages send ...       # blocked
# Error: command "slackcli messages send" is a write operation and cannot be used in read-only mode

MCP server -- write tools are hidden entirely (AI agents never see them):

{
  "mcpServers": {
    "slack-readonly": {
      "command": "slackcli",
      "args": ["--read-only", "mcp", "serve"],
      "env": {
        "SLACK_TOKEN": "xoxb-your-token"
      }
    }
  }
}

Read-only tools (always available): auth_test, list_channels, get_channel_info, list_messages, list_users, get_user_info, get_user_presence, list_reactions, list_files, get_file_info, search_messages.

Write tools (hidden in read-only mode): create_channel, archive_channel, invite_to_channel, kick_from_channel, set_channel_topic, set_channel_purpose, send_message, edit_message, delete_message, add_reaction, remove_reaction, delete_file.

Output Formats

# Force JSON output
slackcli channels list -o json

# Force table output
slackcli channels list -o table

Default: table for TTY, JSON for piped output.

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Slackcli

How do I install Slackcli?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Slackcli safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes 2 of the 3 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Slackcli still maintained?

Yes — the latest release is v0.3.26 (13 Oct 2026), and the last commit was 4 days ago. The repository has 1 stars.