alepha@docs:~/framework/docs/reference/providers$
cat McpTaskStore.md | pretty
1 min read
Last commit:

#McpTaskStore

#Import

typescript
1import { McpTaskStore } from "alepha/mcp";

#Overview

Where the Tasks extension (io.modelcontextprotocol/tasks) keeps a task: a tools/call answered later, polled with tasks/get.

alepha/mcp defines the contract and provides no implementation: a task must outlive the request and the process that created it, which an in-memory map cannot promise. Bind one explicitly, the $job-backed JobMcpTaskStore of alepha/api/jobs being the one the framework ships:

ts
1alepha.with({ provide: McpTaskStore, use: JobMcpTaskStore });

With none bound, the server does not declare the extension and every tool answers plainly.