Log inGet started

mcpLog

The mcpLog namespace — the engine's Luau API reference for mcpLog.

The mcpLog namespace — 2 functions.

globals/mcpLog/clear

globals/mcpLog/clear() -> boolean

Clear all entries from the engine's MCP log ring buffer.

globals/mcpLog/query

globals/mcpLog/query(limit: number?) -> { McpLogEntry }

Return the most-recent MCP tool-call entries from the engine's MCP log ring buffer (newest last). Pass limit to cap how many entries are returned — omit for the full ring (up to 500 entries).

  • api
  • reference