slack_send_message
Pack: slack_connect · Endpoint: https://gateway.pipeworx.io/slack_connect/mcp
Send a message to a Slack channel. Bot auto-joins the channel if needed.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | yes | Channel ID to send the message to |
text | string | yes | Message text (supports Slack markdown) |
thread_ts | string | no | Thread timestamp to reply in a thread (optional) |
Example call
Arguments
{
"channel": "C01234ABCDE",
"text": "Hello team, here's an update on the project."
}
curl
curl -X POST https://gateway.pipeworx.io/slack_connect/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"slack_send_message","arguments":{"channel":"C01234ABCDE","text":"Hello team, here'\''s an update on the project."}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('slack_send_message', {
"channel": "C01234ABCDE",
"text": "Hello team, here's an update on the project."
});
More examples
{
"channel": "C01234ABCDE",
"text": "Great point! I agree.",
"thread_ts": "1609459200.123456"
}
Response shape
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the message was sent successfully |
channel | string | Channel ID where message was sent |
ts | string | Timestamp of sent message |
message | object | Message object containing details |
error | string | Error code if message send failed |
Full JSON Schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the message was sent successfully"
},
"channel": {
"type": "string",
"description": "Channel ID where message was sent"
},
"ts": {
"type": "string",
"description": "Timestamp of sent message"
},
"message": {
"type": "object",
"description": "Message object containing details",
"properties": {
"type": {
"type": "string",
"description": "Message type"
},
"user": {
"type": "string",
"description": "User ID of sender"
},
"text": {
"type": "string",
"description": "Message text"
},
"ts": {
"type": "string",
"description": "Message timestamp"
}
}
},
"error": {
"type": "string",
"description": "Error code if message send failed"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"slack_connect": {
"url": "https://gateway.pipeworx.io/slack_connect/mcp"
}
}
}
See Getting Started for client-specific install steps.