McpTask
Defined in: src/mcp/task-types.ts:17
Operational metadata shared by every MCP task state.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”taskId
Section titled “taskId”taskId: string;Defined in: src/mcp/task-types.ts:19
Stable server-generated task identifier.
status
Section titled “status”status: McpTaskStatus;Defined in: src/mcp/task-types.ts:20
statusMessage?
Section titled “statusMessage?”optional statusMessage?: string;Defined in: src/mcp/task-types.ts:21
createdAt
Section titled “createdAt”createdAt: string;Defined in: src/mcp/task-types.ts:23
ISO 8601 timestamp at which the task was created.
lastUpdatedAt
Section titled “lastUpdatedAt”lastUpdatedAt: string;Defined in: src/mcp/task-types.ts:25
ISO 8601 timestamp at which the task was last updated.
ttlMs: number;Defined in: src/mcp/task-types.ts:27
Retention duration from creation in milliseconds, or null for unlimited retention.
pollIntervalMs?
Section titled “pollIntervalMs?”optional pollIntervalMs?: number;Defined in: src/mcp/task-types.ts:29
Server-suggested polling interval in milliseconds.