mcp
The mcp namespace — the engine's Luau API reference for mcp.
The mcp namespace — 3 functions.
mcp/call
mcp.call(toolName, args?)
Call an MCP tool asynchronously. Returns a request ID to poll for the result. Use with task.await or manual polling via mcp.poll().
mcp/listTools
mcp.listTools()
List all available MCP tool names.
mcp/poll
mcp.poll(requestId)
Poll for a completed MCP tool call result. Returns nil if not yet complete.