slack-mcp CLAUDE.md

slack-mcp CLAUDE.md is an instructions file for coding agents from aaronsb/slack-mcp. It costs 674 tokens per session, scanned A, original, MIT.

A set of instructions for a Go-based MCP server that connects an AI agent to a Slack workspace. Slack is a team messaging service, and this server can read inbox items, messages, and workspace information.

In plain words
What is it for?
Use it as a development reference when compiling the server, cross-building it for different operating systems, or working on Slack message and workspace tools. It describes session-token authentication rather than OAuth.
Why use it?
It documents how to build, test, format, and package the server, as well as how its Slack tools are organized. This helps developers maintain or extend the integration.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/aaronsb/slack-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/aaronsb/slack-mcp

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for slack-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aaronsb/slack-mcp/claude-md.svg)](https://agentmods.dev/instructions/aaronsb/slack-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/aaronsb/slack-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/aaronsb/slack-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 674 This file is loaded in full into every session.
When invoked 674 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00674 $0.00674
Opus 5 $0.00337 $0.00337
Sonnet 5 $0.00135 $0.00135
Haiku 4.5 $0.00067 $0.00067

Measured 5d ago against content hash 7a7e128d637b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

slack-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Slack MCP Server

Go-based MCP server for Slack workspace interaction using session tokens (xoxc/xoxd). No OAuth, no bot permissions, no admin approval.

Build

make build              # Build for current platform
make build-all-platforms # Cross-compile (darwin/linux/windows x amd64/arm64)
make test               # Run tests
make format             # Format code
make tidy               # Tidy go modules
make clean              # Remove build artifacts
make npm-publish NPM_TOKEN=... # Publish to npm

Architecture

  • cmd/slack-mcp/ — Entry point, transport selection (stdio/sse), setup command
  • pkg/server/ — MCP server, tool registration
  • pkg/provider/ — Slack API client, two-phase channel caching
  • pkg/features/ — Tool implementations
  • pkg/text/ — Text processing utilities
  • npm/ — npm wrapper packages (platform binary resolver)

Tools

Tool Kind What it does
inbox noun What needs you: view='new' (since your last dismiss), 'unreads', 'mentions'
messages noun Conversation content: target= reads in full, +around= context, +since= time window, query= full Slack search syntax
estate noun Workspace shape and relationships: view='about'|'families'|'person'|'initiatives'|'convergence'|'people'|'channels'
batch executor Run a held plan of reads in one call: commands=[{tool, params}...]; playbooks via save=/run=/list=/delete=
say verb Contribute content (Slack-visible): a message, or an emoji reaction
dismiss verb Mark inbox items handled — private watermark, invisible to Slack
mark-read verb Fire read receipts — the one visibly-public read signal
auth verb Interactive token setup (localhost only)
download verb Download a shared file

Verb encodes effect, noun encodes domain, parameter encodes scope (ADR-009); the batch executor encodes composition, never effect, and admits only the read nouns (ADR-010). Every noun echoes its effective parameters and pages every capped list.

Read the full file on GitHub · 54 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 54 lines · 674 tokens per session scan A 7a7e128d637b

Subscribe to this mod's changes

slack-mcp CLAUDE.md is an instructions file published in the GitHub repository aaronsb/slack-mcp (2 stars, last pushed 15d ago), licensed MIT. It adds 674 tokens to every session, about $0.0034 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.