Slack Max API MCP
Enables operations-first management of Slack workspaces, featuring tools for incident tracking, SLA breach monitoring, automated follow-up replies, message broadcasting, and granular access control policies.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Slack Max API MCP Search for messages about 'Q4 planning' and summarize the main points."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Slack Max API MCP
Operations-first Slack MCP server for Codex/Claude Code over stdio.
Package:
slack-max-api-mcpRuntime: pure CLI MCP over stdio
HTTP Slack API gateway/proxy: removed
Local HTTP callback is still used only for OAuth code return
Tool exposure
operations(default): 21 operations-first tools onlydeveloper: operations tools +gateway_*+ core Slack API toolslegacy: fixed core tools + optional catalog method tools (final count depends on method-tool settings)
Environment:
SLACK_TOOL_EXPOSURE_MODE=operations|developer|legacySLACK_SMART_COMPAT_CORE_TOOLS=true|falseSLACK_ENABLE_METHOD_TOOLS=true|falseSLACK_MAX_METHOD_TOOLS=<number>
smart is still accepted as an alias for developer.
Related MCP server: MCP Slack Python
Operations-first tools
The default surface is now operations-first and keeps raw API wrappers out of the main tool list:
ops_policy_info: runtime policy/audit guardrailsops_access_policy_info: active access profile, effective rules, pending requests, active grantsops_access_policy_set: switch active access-control profile (open,readonly,restricted)ops_access_request: create a scoped elevation request for read/write/admin/delete accessops_access_approve: approve a pending elevation request and activate a time-boxed grantops_access_revoke: revoke one grant or all active grantsops_playbook_list: built-in operations playbooksops_state_overview: inspect local operations state (incidents,digests,broadcasts,followups)ops_incident_create: create + optionally announce a tracked incidentops_incident_update: persist a status change and optionally post a thread updateops_incident_close: close a tracked incident with stored resolutionops_broadcast_prepare: prepare and store a broadcast draft before sendingops_playbook_run: run standardized workflows (incident_open,support_digest,release_broadcast)ops_channel_snapshot: activity/participant/thread snapshot for a channelops_unanswered_threads: find stale or unanswered question-like threadsops_sla_breach_scan: detect SLA breach threads across multiple channelsops_sla_followup: auto follow-up replies for SLA breaches with duplicate-suppression stateops_broadcast_message: send a prepared draft or direct operational announcementops_recent_failures: list recent human-readable failures from local diagnostics stateops_explain_error: explain one recorded failure with troubleshooting hintsops_audit_log_read: inspect local JSONL audit logs
These tools let teams run repeatable Slack operations without rebuilding multi-step API call chains, and they persist local operational state to make incidents/broadcasts/followups first-class records.
Config and state
Operations config file:
config/operations.jsonOverride path:
SLACK_OPERATIONS_CONFIG_PATH=<path>Local state path:
~/.slack-max-api-mcp/operations-state.jsonOverride path:
SLACK_OPERATIONS_STATE_PATH=<path>
The operations config controls incident templates, digest defaults, broadcast templates, and follow-up suppression windows.
Access control and diagnostics
Access control is enforced inside the MCP server, not only by prompt instructions.
Default profiles are
open,readonly, andrestricted.Elevation is two-step: create a scoped request with
ops_access_request, then explicitly approve it withops_access_approve.Recorded failures are stored in operations state and can be inspected with
ops_recent_failuresandops_explain_error.
Playbook examples
Codex, run ops_playbook_run with playbook=incident_open on #incident-war-room.
title is "DB Latency Spike", severity is "sev2", owner is "@oncall-db", dry_run=true.Codex, run ops_playbook_run with playbook=support_digest for channels #support-kor and #support-global.
lookback_hours=24, sla_minutes=60, report_channel=#support-ops, dry_run=true.Codex, run ops_sla_followup for channels #support-kor and #support-global.
sla_minutes=90, lookback_hours=24, max_messages=20, dry_run=true.Codex, run ops_incident_create on #incident-war-room.
title is "API Error Spike", summary is "5xx rate above threshold", owner is "@oncall-api", dry_run=true.Codex, run ops_state_overview with collection=incidents and limit=10.Governance settings
SLACK_ENABLE_AUDIT_LOG=true|false(default:true)SLACK_AUDIT_LOG_PATH=<path>(default:~/.slack-max-api-mcp/audit.log)SLACK_METHOD_ALLOWLIST=chat.postMessage,conversations.historySLACK_METHOD_DENYLIST=users.deletePhotoSLACK_METHOD_ALLOW_PREFIXES=chat.,conversations.SLACK_METHOD_DENY_PREFIXES=admin.
If allowlist/allow-prefix is set, methods outside that policy are blocked.
Install
npm install -g slack-max-api-mcp@latestRegister MCP
Codex:
codex mcp add slack-max -- npx -y slack-max-api-mcp
codex mcp listClaude Code:
claude mcp add slack-max -- npx -y slack-max-api-mcp
claude mcp listAuth options
1) Local OAuth (single machine)
setx SLACK_CLIENT_ID "YOUR_CLIENT_ID"
setx SLACK_CLIENT_SECRET "YOUR_CLIENT_SECRET"
npx -y slack-max-api-mcp oauth login --profile my-workspace --team T1234567890Helper commands:
npx -y slack-max-api-mcp oauth list
npx -y slack-max-api-mcp oauth use <profile_key_or_name>
npx -y slack-max-api-mcp oauth current2) Central onboarding server (team onboarding, no client secret on team PCs)
Run on central server:
setx SLACK_CLIENT_ID "YOUR_CLIENT_ID"
setx SLACK_CLIENT_SECRET "YOUR_CLIENT_SECRET"
setx SLACK_ONBOARD_SERVER_HOST "0.0.0.0"
setx SLACK_ONBOARD_SERVER_PORT "8790"
setx SLACK_ONBOARD_PUBLIC_BASE_URL "https://onboard.example.com"
npx -y slack-max-api-mcp onboard-server startRun on team member PC:
npx -y slack-max-api-mcp onboard runThis flow opens browser OAuth via central server and saves tokens to local token store.
Default onboard server URL is https://43.202.54.65.sslip.io.
Use --server (or SLACK_ONBOARD_SERVER_URL) only when overriding it.
3) Manual token mode
setx SLACK_BOT_TOKEN "xoxb-..."
setx SLACK_USER_TOKEN "xoxp-..."Token precedence
token_overridein tool inputenv tokens:
SLACK_BOT_TOKEN/SLACK_USER_TOKEN/SLACK_TOKENactive OAuth profile from token store (
SLACK_PROFILEor default profile).env.examplefallback ifSLACK_ALLOW_ENV_EXAMPLE_FALLBACK=true
Development
npm install
npm run check
npm run build:catalog
npm run start
node src/slack-mcp-server.js helpAvailable Tools
21 toolsops_access_approveA
Approve a pending access elevation request and convert it into an active time-boxed grant.
Inputs: request_id (required), duration_minutes, reason.
ops_access_policy_infoB
Show access-control profiles, effective rules, pending elevation requests, and active grants.
Inputs: no named parameters.
ops_access_policy_setC
Switch the active Slack access-control profile for this MCP runtime state.
Inputs: profile (required), reason.
ops_access_requestA
Create a scoped Slack access elevation request that must be approved before it becomes active.
Inputs: actions (required), reason (required), channels, methods, +2 more.
ops_access_revokeA
Revoke one active access grant, or all active grants, and persist the revocation in local state.
Inputs: grant_id, revoke_all_active, reason.
ops_audit_log_readC
Read recent local audit log entries for governance and troubleshooting.
Inputs: limit, event, method.
ops_broadcast_messageC
Broadcast the same operational message to multiple channels, or send a prepared broadcast draft.
Inputs: broadcast_id, channels, text, title, +9 more.
ops_broadcast_prepareB
Create a tracked broadcast draft before sending it to one or more channels.
Inputs: channels (required), text, title, summary, +4 more.
ops_channel_snapshotC
Operational snapshot for a channel: activity volume, participants, threads, reactions, and recent samples.
Inputs: channel (required), lookback_hours, limit, participant_limit, +2 more.
ops_explain_errorB
Explain a recorded failure in human-readable form using the latest diagnostics snapshot.
Inputs: failure_id.
ops_incident_closeB
Close a tracked incident, optionally post a closure update, and persist the final resolution.
Inputs: incident_id (required), resolution, details, owner, +3 more.
ops_incident_createC
Create and optionally announce a tracked incident record using config-backed incident templates.
Inputs: title (required), channel, summary, details, +6 more.
ops_incident_updateC
Update a tracked incident, optionally post a thread update, and persist the new operational status.
Inputs: incident_id (required), status, summary, details, +6 more.
ops_playbook_listB
List built-in operations playbooks that can run multi-step Slack workflows.
Inputs: no named parameters.
ops_playbook_runC
Run a named operations playbook (incident open, support digest, release broadcast) with config-backed defaults and state persistence.
Inputs: playbook (required), channel, channels, report_channel, +11 more.
ops_policy_infoB
Show operational guardrails for this MCP (method policy and local audit settings).
Inputs: no named parameters.
ops_recent_failuresC
List recent tool, Slack API, or access-control failures from local diagnostics state.
Inputs: limit, kind, method.
ops_sla_breach_scanC
Scan multiple channels for threads that exceed an SLA threshold without external replies.
Inputs: channels (required), sla_minutes, lookback_hours, max_threads_per_channel, +2 more.
ops_sla_followupB
Post reminder replies to SLA-breached threads across channels (supports dry-run).
Inputs: channels (required), sla_minutes, lookback_hours, max_threads_per_channel, +5 more.
ops_state_overviewC
Inspect local operations state for incidents, digests, broadcasts, followups, and playbook runs.
Inputs: collection, status, limit.
ops_unanswered_threadsC
Find unanswered or stale question-like threads in a channel for follow-up operations.
Inputs: channel (required), lookback_hours, min_age_minutes, max_threads, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
Most tools have distinct purposes within the Slack operations domain, but some overlap exists. For example, ops_access_policy_info and ops_policy_info both relate to policy information, which could cause confusion. However, descriptions clarify that the former focuses on access-control profiles while the latter covers operational guardrails, helping to differentiate them.
Tool names follow a highly consistent pattern throughout, using the 'ops_' prefix followed by a descriptive verb_noun structure (e.g., ops_access_approve, ops_incident_create). This uniformity makes the set predictable and easy to navigate, with no deviations in naming conventions.
With 21 tools, the count is borderline high for a focused operations server, potentially feeling heavy. While the tools cover various aspects like access control, incidents, broadcasts, and SLA management, some consolidation might improve usability without losing functionality.
The tool set provides comprehensive coverage for Slack operations, including CRUD-like lifecycle management for incidents (create, update, close), access control (request, approve, revoke), and monitoring (audit logs, failures, SLA breaches). No obvious gaps are present, ensuring agents can handle full workflows without dead ends.
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Hosted Slack MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to search and retrieve messages within a Slack workspace using the Slack Web API. It supports specific channel filtering and includes built-in rate limit handling for efficient message discovery.ISC
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables interaction with Slack workspaces through tools for managing channels, sending messages, and retrieving user profiles. It leverages the Slack API and FastMCP to provide functionalities like message history lookup and reaction management.1-
- FlicenseNot gradedqualityDmaintenanceThis MCP server provides integration with the Slack API via HTTP transport, allowing for channel management and message operations. It enables users to list channels, send or edit messages, search message history, and retrieve user information through standardized tools.-
- AlicenseAqualityDmaintenanceAn MCP server that enables AI agents to read and write Slack messages as the user, not as a bot, using Slack user tokens for authentic actions across multiple workspaces.101MIT