PulseTrade.Comm.Mcp.Server
0.1.13
dotnet add package PulseTrade.Comm.Mcp.Server --version 0.1.13
NuGet\Install-Package PulseTrade.Comm.Mcp.Server -Version 0.1.13
<PackageReference Include="PulseTrade.Comm.Mcp.Server" Version="0.1.13" />
<PackageVersion Include="PulseTrade.Comm.Mcp.Server" Version="0.1.13" />
<PackageReference Include="PulseTrade.Comm.Mcp.Server" />
paket add PulseTrade.Comm.Mcp.Server --version 0.1.13
#r "nuget: PulseTrade.Comm.Mcp.Server, 0.1.13"
#:package PulseTrade.Comm.Mcp.Server@0.1.13
#addin nuget:?package=PulseTrade.Comm.Mcp.Server&version=0.1.13
#tool nuget:?package=PulseTrade.Comm.Mcp.Server&version=0.1.13
PulseTrade.Comm.Mcp.Server
Archived / legacy reference, 2026-06-23.
PulseTrade.Comm.Mcp.Server is no longer the authoritative public MCP server host for PT.Comm / PTC.
Current ownership:
| Surface | Current authority |
|---|---|
Public /mcp, OAuth protected-resource metadata, bearer validation, MCP tools/list / tools/call |
PulseTrade.Comm.GW.Host |
Task ticket spawn/status/result/cancel, public forwarding ingress, /gw/* diagnostics |
PulseTrade.Comm.GW.Host |
Human /chat, /sets, /actors, MessageFabric / ActorFabric browser surface |
PulseTrade.Comm.Spa.Host / PTCS |
| Backend resource execution, upstream calls, AOE/PTFR/GitHub/MarketData/FSharpDevKit/E2EQ handlers, capability heartbeat/drain, idempotent resource result projection | Resource Node boundary, currently legacy-named PulseTrade.Comm.Mcp.Server |
Use this project only as a legacy implementation source while extracting or rewriting the clean Resource Node/backend executor. New design and deployment work must not use this README or project as the public MCP hosting reference.
Legacy executable package
The project can be packed as PulseTrade.Comm.Mcp.Server. Packing is local by default and does not change the production service authority. An explicit PublishPulseTradeCommMcpServerPackage=true MSBuild property enables the canonical PostBuildEvent.ps1 push after Pack; the script reads the NuGet API key from the established local key file and never writes it into the project or package.
Production GW and PTCS deployment continues through Install-PTCGWHostService.ps1 and Install-PTCSHostService.ps1. Do not deploy this legacy package as a replacement for those hosts.
Legacy Journal / Snapshot / DB
This archived project does not use Akka.Persistence journal/snapshot tables. It owns several legacy SQL Server tables when legacy SQL mode is enabled. They are listed here only for migration/reference; new work should use PulseTrade.Comm.GW.Host, PulseTrade.Comm.Spa.Host, and PulseTrade.Comm.ResourceNode.* provider packages instead.
Legacy SQL database selection comes from the legacy server configuration / connection string. The project does not define one authoritative current production DB name in this README.
Legacy tables and source files:
| Source file | Tables |
|---|---|
CommSqlStore.fs |
dbo.CommParticipant, dbo.CommGroup, dbo.CommGroupMember, dbo.CommMessage, dbo.CommAgentState |
GatewayCommandStore.fs |
dbo.PtcGatewayCommand, dbo.PtcGatewayCommandEvent |
GatewayGitWriteSerialization.fs |
dbo.PtcGatewayGitWriteLease |
GatewayNodeDrain.fs |
dbo.PtcGatewayNodeDrain |
AoeStore.fs |
dbo.PtfrIncomingKey, dbo.PtfrIncomingContent, dbo.PtfrAoeMarkdownPathIndex |
Do not copy these tables into new GW/RN/PTCS designs without a migration RFC. They describe the archived combined-host implementation, not the current package split.
Legacy CREATE TABLE summary
The following DDL is copied from the archived source files as of this README update. It is migration/reference material only.
CREATE TABLE dbo.CommParticipant (
ParticipantId nvarchar(256) NOT NULL PRIMARY KEY,
DisplayName nvarchar(256) NOT NULL,
Kind nvarchar(64) NOT NULL,
LabelsJson nvarchar(max) NOT NULL,
InboxHook nvarchar(512) NULL,
Status nvarchar(64) NOT NULL,
RegisteredAtUtc datetimeoffset(7) NOT NULL,
LastSeenAtUtc datetimeoffset(7) NOT NULL
);
CREATE TABLE dbo.CommGroup (
GroupId nvarchar(256) NOT NULL PRIMARY KEY,
DisplayName nvarchar(256) NOT NULL,
CreatedAtUtc datetimeoffset(7) NOT NULL,
UpdatedAtUtc datetimeoffset(7) NOT NULL
);
CREATE TABLE dbo.CommGroupMember (
GroupId nvarchar(256) NOT NULL,
ParticipantId nvarchar(256) NOT NULL,
CONSTRAINT PK_CommGroupMember PRIMARY KEY (GroupId, ParticipantId)
);
CREATE INDEX IX_CommGroupMember_Participant ON dbo.CommGroupMember(ParticipantId, GroupId);
CREATE TABLE dbo.CommMessage (
MessageSeq bigint IDENTITY(1,1) NOT NULL PRIMARY KEY,
MessageId nvarchar(64) NOT NULL UNIQUE,
FromId nvarchar(256) NOT NULL,
Scope nvarchar(64) NOT NULL,
ToId nvarchar(256) NULL,
GroupId nvarchar(256) NULL,
Channel nvarchar(256) NULL,
Body nvarchar(max) NOT NULL,
TagsJson nvarchar(max) NOT NULL,
CreatedAtUtc datetimeoffset(7) NOT NULL
);
CREATE INDEX IX_CommMessage_PublicThread ON dbo.CommMessage(Scope, Channel, MessageSeq DESC);
CREATE INDEX IX_CommMessage_DirectTo ON dbo.CommMessage(ToId, MessageSeq DESC);
CREATE INDEX IX_CommMessage_From ON dbo.CommMessage(FromId, MessageSeq DESC);
CREATE TABLE dbo.CommAgentState (
ParticipantId nvarchar(256) NOT NULL,
Namespace nvarchar(256) NOT NULL,
StoreKind nvarchar(32) NOT NULL,
DataJson nvarchar(max) NOT NULL,
UpdatedAtUtc datetimeoffset(7) NOT NULL,
CONSTRAINT PK_CommAgentState PRIMARY KEY (ParticipantId, Namespace, StoreKind)
);
CREATE INDEX IX_CommAgentState_Participant ON dbo.CommAgentState(ParticipantId, Namespace);
CREATE TABLE dbo.PtcGatewayCommand (
RequestId nvarchar(80) NOT NULL,
OperationId nvarchar(160) NOT NULL,
IdempotencyKey nvarchar(200) NULL,
ToolName nvarchar(256) NOT NULL,
PublicSurface bit NOT NULL,
ParticipantId nvarchar(256) NULL,
Capability nvarchar(128) NOT NULL,
PayloadJson nvarchar(max) NOT NULL,
CreatedAtUtc datetimeoffset(7) NOT NULL,
DeadlineUtc datetimeoffset(7) NULL,
Status nvarchar(32) NOT NULL,
AssignedNodeId nvarchar(128) NULL,
LeaseExpiresAtUtc datetimeoffset(7) NULL,
Attempts int NOT NULL CONSTRAINT DF_PtcGatewayCommand_Attempts DEFAULT(0),
LastError nvarchar(1024) NULL,
CorrelationId nvarchar(128) NULL,
UpdatedAtUtc datetimeoffset(7) NOT NULL,
CONSTRAINT PK_PtcGatewayCommand PRIMARY KEY (RequestId),
CONSTRAINT CK_PtcGatewayCommand_Status CHECK (Status IN (N'pending', N'leased', N'completed', N'failed', N'cancelled', N'expired'))
);
CREATE UNIQUE INDEX UQ_PtcGatewayCommand_IdempotencyKey
ON dbo.PtcGatewayCommand(IdempotencyKey)
WHERE IdempotencyKey IS NOT NULL;
CREATE INDEX IX_PtcGatewayCommand_StatusCapability
ON dbo.PtcGatewayCommand(Status, Capability, CreatedAtUtc)
INCLUDE (DeadlineUtc, AssignedNodeId, LeaseExpiresAtUtc, Attempts);
CREATE INDEX IX_PtcGatewayCommand_Operation
ON dbo.PtcGatewayCommand(OperationId, CreatedAtUtc DESC);
CREATE TABLE dbo.PtcGatewayCommandEvent (
EventId bigint IDENTITY(1,1) NOT NULL,
RequestId nvarchar(80) NOT NULL,
EventType nvarchar(64) NOT NULL,
Status nvarchar(32) NOT NULL,
NodeId nvarchar(128) NULL,
Message nvarchar(1024) NULL,
CreatedAtUtc datetimeoffset(7) NOT NULL,
CONSTRAINT PK_PtcGatewayCommandEvent PRIMARY KEY (EventId),
CONSTRAINT FK_PtcGatewayCommandEvent_Command FOREIGN KEY (RequestId) REFERENCES dbo.PtcGatewayCommand(RequestId),
CONSTRAINT CK_PtcGatewayCommandEvent_Status CHECK (Status IN (N'pending', N'leased', N'completed', N'failed', N'cancelled', N'expired'))
);
CREATE INDEX IX_PtcGatewayCommandEvent_Request ON dbo.PtcGatewayCommandEvent(RequestId, EventId);
CREATE TABLE dbo.PtcGatewayGitWriteLease (
LeaseKey nvarchar(256) NOT NULL,
Owner nvarchar(200) NOT NULL,
Repo nvarchar(200) NOT NULL,
Branch nvarchar(200) NOT NULL,
CommandRequestId nvarchar(80) NOT NULL,
NodeId nvarchar(128) NOT NULL,
CorrelationId nvarchar(128) NULL,
LeaseToken nvarchar(80) NOT NULL,
AcquiredAtUtc datetimeoffset(7) NOT NULL,
ExpiresAtUtc datetimeoffset(7) NOT NULL,
UpdatedAtUtc datetimeoffset(7) NOT NULL,
CONSTRAINT PK_PtcGatewayGitWriteLease PRIMARY KEY (LeaseKey),
CONSTRAINT FK_PtcGatewayGitWriteLease_Command FOREIGN KEY (CommandRequestId) REFERENCES dbo.PtcGatewayCommand(RequestId)
);
CREATE INDEX IX_PtcGatewayGitWriteLease_Expiry
ON dbo.PtcGatewayGitWriteLease(ExpiresAtUtc, LeaseKey)
INCLUDE (CommandRequestId, NodeId, LeaseToken);
CREATE INDEX IX_PtcGatewayGitWriteLease_Command
ON dbo.PtcGatewayGitWriteLease(CommandRequestId, LeaseKey);
CREATE TABLE dbo.PtcGatewayNodeDrain (
NodeId nvarchar(128) NOT NULL,
Status nvarchar(32) NOT NULL,
RequestedAtUtc datetimeoffset(7) NULL,
UpdatedAtUtc datetimeoffset(7) NOT NULL,
Reason nvarchar(512) NULL,
CONSTRAINT PK_PtcGatewayNodeDrain PRIMARY KEY (NodeId),
CONSTRAINT CK_PtcGatewayNodeDrain_Status CHECK (Status IN (N'active', N'draining', N'leaving', N'left'))
);
CREATE INDEX IX_PtcGatewayNodeDrain_Status
ON dbo.PtcGatewayNodeDrain(Status, UpdatedAtUtc DESC);
CREATE TABLE dbo.PtfrIncomingKey (
KeyId int IDENTITY(1,1) NOT NULL PRIMARY KEY,
Category nvarchar(256) NOT NULL,
Topic nvarchar(512) NOT NULL,
CategorySlug nvarchar(128) NOT NULL,
TopicSlug nvarchar(128) NOT NULL,
CreatedAtUtc datetimeoffset(7) NOT NULL,
UpdatedAtUtc datetimeoffset(7) NOT NULL,
CONSTRAINT UQ_PtfrIncomingKey_CategoryTopic UNIQUE(Category, Topic)
);
CREATE TABLE dbo.PtfrIncomingContent (
ContentSeq bigint IDENTITY(1,1) NOT NULL PRIMARY KEY,
Cid nvarchar(64) NOT NULL UNIQUE,
KeyId int NOT NULL,
Category nvarchar(256) NOT NULL,
Topic nvarchar(512) NOT NULL,
Score int NOT NULL,
ScoreVersion nvarchar(128) NOT NULL,
EnglishTokenCount int NOT NULL,
RareTokenCount int NOT NULL,
UniqueRareTokenCount int NOT NULL,
RareTokenDensity float NOT NULL,
Content nvarchar(max) NOT NULL,
CreatedAtUtc datetimeoffset(7) NOT NULL,
CONSTRAINT FK_PtfrIncomingContent_Key FOREIGN KEY(KeyId) REFERENCES dbo.PtfrIncomingKey(KeyId)
);
CREATE INDEX IX_PtfrIncomingContent_KeyCreated ON dbo.PtfrIncomingContent(KeyId, CreatedAtUtc DESC);
CREATE TABLE dbo.PtfrAoeMarkdownPathIndex (
Id int NOT NULL PRIMARY KEY,
Yyyymmdd char(8) NOT NULL,
HhMM char(4) NOT NULL,
Category nvarchar(256) NOT NULL,
Topic nvarchar(512) NOT NULL,
FullPath nvarchar(1024) NOT NULL UNIQUE,
IfSourced bit NOT NULL,
Cid nvarchar(64) NOT NULL UNIQUE,
CreatedAtUtc datetimeoffset(7) NOT NULL,
SourcedAtUtc datetimeoffset(7) NULL
);
CREATE INDEX IX_PtfrAoeMarkdownPathIndex_CategoryTopicDate
ON dbo.PtfrAoeMarkdownPathIndex(Category, Topic, Yyyymmdd, HhMM);
Clean target:
PulseTrade.Comm.GW.Hostis the public MCP/GW entry.PulseTrade.Comm.Spa.Host/ PTCS owns human UI and message/actor fabric.- Resource Node owns backend work and exposes internal/local service boundaries such as
/resource-node/api/command, health, capability, drain, and result query. - A future rename such as
PulseTrade.Comm.ResourceNodeis preferred over expanding theMcp.Servername.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Akka (>= 1.5.73)
- Akka.Cluster (>= 1.5.73)
- FAkka.Argu (>= 10.2.1)
- FSharp.Core (>= 10.1.402)
- Microsoft.Data.SqlClient (>= 7.1.1)
- Microsoft.Extensions.Hosting.WindowsServices (>= 10.0.13)
- PulseTrade.Comm.Spa (= 0.3.9)
- System.Security.Cryptography.Pkcs (>= 10.0.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PulseTrade.Comm.Mcp.Server:
| Package | Downloads |
|---|---|
|
PulseTrade.Comm.ResourceNode.LegacyBridge
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.