slack-analytics-mcp-server

v0.3.1
slack-analytics-mcp-server Checked 12 hours ago Published 12 days ago

MCP server that lets Analytics Model workflows send dashboard links, alerts and workflow assignment messages to Slack (DM by email, or post to a channel).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_workspace

Check the connection. Returns the Slack workspace name, id and the bot user. Use it to validate a token when a user adds a workspace.

lookup_user_by_email

Find a person in the workspace by their email address. Needs the users:read.email scope.

ParameterTypeDescription
email *stringWork email of the person

check_recipients

Check, without sending anything, whether each email belongs to a person in this workspace who can get a DM. Use it before assigning a workflow or saving a Slack step, to warn about people who would not be reached. Never fails as a whole.

ParameterTypeDescription
emails *arrayWork emails to check

list_channels

List public channels the bot can post to, so the user can pick one in the UI.

ParameterTypeDescription
limitinteger
querystringFilter by name

send_dm

Send a direct message to one person, found by email.

ParameterTypeDescription
email *string
text *stringMessage text (Slack mrkdwn)

post_to_channel

Post a message to a channel, by name (e.g. "growth") or id. The bot must be in the channel unless it has chat:write.public.

ParameterTypeDescription
channel *string
text *string

send_notification

Send a notification about anything (a new record, an alert, a summary) to a channel and/or people by email. Pass the data as fields or items; several items are sent as ONE message. The caller decides WHAT is new; this tool only delivers it.

ParameterTypeDescription
title *stringHeadline, e.g. "New dashboard created"
channelstringChannel name or id
emailsarrayPeople to DM, by work email
itemsarrayOne entry per new record. Shown as name + key/value lines
textstringShort sentence under the headline
urlstringButton link
url_labelstring

notify_workflow_assigned

DM a person that a workflow was assigned to them, with who assigned it, an optional note, when it runs, its steps and an "Open workflow" button. With event "unassigned", tell the previous assignee it was taken off them instead. Call it once per change of assignee; this server does not remember who was told.

ParameterTypeDescription
email *stringWork email of the person to tell
workflow_name *string
workflow_url *stringLink that opens this workflow in the app
assigned_byobjectWho made the change. With an email that exists in Slack, they are @-mentioned.
delivers_resultsbooleanTrue (default) when this person will also get the results in Slack
eventstringDefault "assigned"
new_owner_namestringFor "unassigned": the new assignee, if any
notestringMessage from the assigner, shown as a quote
schedulestringWhen it runs, in words, e.g. "Every Monday at 09:00"
stepsarrayStep names in order, e.g. ["Scheduler", "Data Selector", "Slack"]