Skip to main content
Glama

Discord MCP Server

discord_get_message_history

Retrieve message history from a Discord channel with options to filter by time, limit, or specific message IDs using the Discord MCP Server.

Instructions

Get message history from a Discord channel with optional filtering

Input Schema

NameRequiredDescriptionDefault
afterNoGet messages after this message ID
aroundNoGet messages around this message ID
beforeNoGet messages before this message ID
channelIdYesThe Discord channel ID
limitNoNumber of messages to retrieve (1-100, default: 50)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "after": { "description": "Get messages after this message ID", "type": "string" }, "around": { "description": "Get messages around this message ID", "type": "string" }, "before": { "description": "Get messages before this message ID", "type": "string" }, "channelId": { "description": "The Discord channel ID", "type": "string" }, "limit": { "description": "Number of messages to retrieve (1-100, default: 50)", "maximum": 100, "minimum": 1, "type": "number" } }, "required": [ "channelId" ], "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/RossH121/discord-mcp'

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