Skip to main content
Glama

Slack MCP Server

by piekstra

send_code_snippet

Share formatted code snippets in Slack channels with syntax highlighting. Specify the channel, title, code, optional language, and description for clear communication.

Instructions

Send a formatted code snippet message.

Args: channel: Channel ID or name title: Code snippet title code: The code content language: Programming language for syntax highlighting (optional) description: Optional description thread_ts: Thread timestamp for replies (optional)

Input Schema

NameRequiredDescriptionDefault
channelYes
codeYes
descriptionNo
languageNo
thread_tsNo
titleYes

Input Schema (JSON Schema)

{ "properties": { "channel": { "title": "Channel", "type": "string" }, "code": { "title": "Code", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Language" }, "thread_ts": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Thread Ts" }, "title": { "title": "Title", "type": "string" } }, "required": [ "channel", "title", "code" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/piekstra/slack-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server