Skip to main content
Glama
mmarqueti

WhatsApp Cloud API MCP Server

by mmarqueti
storage.js430 B
export class MessageStorage { messages = []; limit; constructor(limit = 50) { this.limit = limit; } addMessage(message) { this.messages.unshift(message); if (this.messages.length > this.limit) { this.messages.pop(); } } getRecentMessages(limit = 20) { return this.messages.slice(0, limit); } } export const messageStorage = new MessageStorage();

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/mmarqueti/whatsapp-mcp'

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