Skip to main content
Glama

Textwell MCP Server

by worldnine
textBuffer.ts643 B
export class TextBuffer { private currentText: string = ''; private lastUpdated: Date | null = null; set(text: string): void { this.currentText = text; this.lastUpdated = new Date(); } get(): { text: string; lastUpdated: Date | null } { return { text: this.currentText, lastUpdated: this.lastUpdated }; } clear(): void { this.currentText = ''; this.lastUpdated = null; } isEmpty(): boolean { return this.currentText === ''; } getLastUpdatedFormatted(): string | null { if (!this.lastUpdated) { return null; } return this.lastUpdated.toISOString(); } }

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/worldnine/textwell-mcp'

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