Skip to main content
Glama

discord_create_forum_post

Create a new forum post (thread) in a Discord channel by specifying the channel ID, title, content, and optional tags.

Instructions

Create a new post (thread) in a forum channel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forum_channel_idYes
titleYesThe post title (thread name).
contentYesThe initial message content of the post.
applied_tagsNoArray of tag IDs to apply to the post.

Implementation Reference

  • The handler logic for creating a forum post (a new thread) in a Discord forum channel.
    case "discord_create_forum_post": {
      const forum = await getForumChannel(args.forum_channel_id as string);
      const thread = await forum.threads.create({
        name: args.title as string,
        message: { content: args.content as string },
        appliedTags: (args.applied_tags as string[] | undefined) ?? [],
      });
      return { content: [{ type: "text", text: `✅ Forum post "${thread.name}" created (id: ${thread.id}) in #${forum.name}.` }] };
    }
  • The MCP tool definition and input schema for discord_create_forum_post.
      name: "discord_create_forum_post",
      description: "Create a new post (thread) in a forum channel.",
      inputSchema: {
        type: "object",
        properties: {
          forum_channel_id: { type: "string" },
          title: { type: "string", description: "The post title (thread name)." },
          content: { type: "string", description: "The initial message content of the post." },
          applied_tags: {
            type: "array",
            items: { type: "string" },
            description: "Array of tag IDs to apply to the post.",
          },
        },
        required: ["forum_channel_id", "title", "content"],
      },
    },

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/PaSympa/discord-mcp'

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