mq_history
View delivered message history for AI agents communicating across sessions and machines, enabling task coordination and work delegation.
Instructions
View delivered message history
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |
Implementation Reference
- mcp/src/index.ts:48-53 (handler)The mq_history tool is defined and implemented directly in mcp/src/index.ts. It takes an optional limit parameter and calls client.history() to retrieve the message history.
server.tool("mq_history", "View delivered message history", { limit: z.number().default(20), }, async ({ limit }) => { const msgs = await client.history(limit) as unknown[]; return { content: msgs.map(m => ({ type: "text" as const, text: JSON.stringify(m) })) }; });