Skip to main content
Glama
index.ts•1 kB
import type { SlackClient } from '../slack-client.js'; import { sendMessageTool } from './send-message.js'; import { getChannelsTool } from './get-channels.js'; import { getUsersTool } from './get-users.js'; import { getChannelHistoryTool } from './get-channel-history.js'; import { searchMessagesTool } from './search-messages.js'; import { readFrontendLadisaiTool } from './read-frontend-ladisai.js'; export interface SlackTool { name: string; description: string; inputSchema: { type: 'object'; properties: Record<string, any>; required?: string[]; }; handler: (args: Record<string, any>) => Promise<any>; } /** * Create all Slack tools */ export function createSlackTools(slackClient: SlackClient, userId?: string): SlackTool[] { return [ sendMessageTool(slackClient), getChannelsTool(slackClient), getUsersTool(slackClient), getChannelHistoryTool(slackClient), searchMessagesTool(slackClient), readFrontendLadisaiTool(slackClient, userId), ]; }

Latest Blog Posts

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/NeilKuo-opennet/slack-mcp'

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