Definition
Assembly: CloudNimble.McpEssentials.PostgreSQL.dll Namespace: CloudNimble.McpEssentials.PostgreSQL.Tasks Inheritance: CloudNimble.McpEssentials.Core.Tasks.NotifyingMcpTaskStoreBaseSyntax
Summary
An IMcpTaskStorePlus that persists snapshots as PostgreSQL rows withLISTEN / NOTIFY fan-out for resolved input.
Remarks
Register as a singleton. The host ownsNpgsqlDataSource.
McpTaskStoreBase.AutoSweep defaults to true. Sweep is
DELETE WHERE "DiscardAfter" <= now. Use Entity Framework Core with
UseNpgsql when the host already has a DbContext; this package exists
for Npgsql/Dapper hosts and for native notification.
Constructors
.ctor
Initializes a new instance of the PostgreSqlMcpTaskStore class.Syntax
Parameters
Exceptions
.ctor
Initializes a new instance that always uses userId.Syntax
Parameters
Exceptions
.ctor
Initializes a new instance that resolves the user from a ClaimsPrincipal.Syntax
Parameters
Exceptions
.ctor
Initializes a new instance with deferred factories so the MCP server builder can capture the store beforeBuild().
Syntax
Parameters
Exceptions
Properties
ListenChannel Virtual
Gets or sets theLISTEN / NOTIFY channel for resolved input.
Syntax
Property Value
Type:string
Schema Virtual
Gets or sets the schema that holds the tasks table.Syntax
Property Value
Type:string
TableName Virtual
Gets or sets the tasks table name.Syntax
Property Value
Type:string