AkkaFsiMcpServer 1.4.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package AkkaFsiMcpServer --version 1.4.2
                    
NuGet\Install-Package AkkaFsiMcpServer -Version 1.4.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AkkaFsiMcpServer" Version="1.4.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AkkaFsiMcpServer" Version="1.4.2" />
                    
Directory.Packages.props
<PackageReference Include="AkkaFsiMcpServer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AkkaFsiMcpServer --version 1.4.2
                    
#r "nuget: AkkaFsiMcpServer, 1.4.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AkkaFsiMcpServer@1.4.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AkkaFsiMcpServer&version=1.4.2
                    
Install as a Cake Addin
#tool nuget:?package=AkkaFsiMcpServer&version=1.4.2
                    
Install as a Cake Tool

AkkaFsiMcpServer

G:\PulseTrade.fs\AkkaFsiMcpServer 是本工作區唯一 canonical FSI MCP Server。Libs/[DEPRECATED]FSharp.MCP.DevKit 僅供唯讀程式碼參考,禁止用於 build、deployment、runtime、package reference 或新功能開發。

Runtime ownership

  • AkkaFsiMcpServer 擁有它建立的所有 FSI ProcNode。<OutputRoot>/_pool/ownership.json 記錄 owner instance 與 ProcId 集合。
  • 啟動新 generation 前,Server 先透過 ProcSupervisor 停止前一 generation 留下的 owned ProcNode;未完成 reconciliation 前不得建立新 worker。
  • graceful shutdown 先停止全部 owned ProcNode並封存空 ownership checkpoint;ProcSupervisor 將 receipt 持久化並 ACK 後,Server 才停止自身 process。
  • ProcSupervisor 提供 launch、control 與 cooperative rebind transport。它不因自身 restart 就終止 child,也不以 OS parent/PID 猜測 AkkaFsiMcpServer 的 domain ownership。
  • Server 實作既有 loopback-only supervisee HTTP contract:status、shutdown、shutdown receipt query/ACK。禁止重新導入 Native Agent 或 exact OS handle rebind。

Build and test

dotnet build .\AkkaFsiMcpServer\AkkaFsiMcpServer.fsproj -c Release
dotnet test .\AkkaFsiMcpServer.Tests\AkkaFsiMcpServer.Tests.fsproj -c Release
dotnet run --project .\AkkaFsiMcpServer.Tests.Expecto\AkkaFsiMcpServer.Tests.Expecto.fsproj -c Release -- --summary

正式 package 只使用 project-owned Pack -> PostBuildEvent.ps1 流程:

dotnet pack .\AkkaFsiMcpServer\AkkaFsiMcpServer.fsproj -c Release

PostBuildEvent 只讀既有 NuGet API key file,禁止把 key 寫入專案、log 或命令列。依賴 FAkka.FSI.Supervisor 與 FAkka.Proc.Supervisor 必須 exact pin,且須先確認 public NuGet 可解析後才能發布本 package。

Service deployment 使用 canonical installer;先 Plan/Prepare,再 Apply:

pwsh -NoProfile -File .\AkkaFsiMcpServer\scripts\Install-AkkaFsiMcpServerService.ps1 -Environment test -PlanOnly
pwsh -NoProfile -File .\AkkaFsiMcpServer\scripts\Install-AkkaFsiMcpServerService.ps1 -Environment test -PrepareOnly
pwsh -NoProfile -File .\AkkaFsiMcpServer\scripts\Install-AkkaFsiMcpServerService.ps1 -Environment test -Confirm:$false

正式環境將 -Environment 改為 prod。首次從 1.4.1 以前版本遷移時才加 -RetireLegacyOwnedWorkers;它只在 MCP service 已停止後精確停止 mcp-warm-*/mcp-fsi-* ProcNode。installer 不啟停 ProcSupervisor、PTC Hosts 或 MDCQ。

Live acceptance

部署後至少驗證:

  1. /health 與 /health/fsi。
  2. MCP tools/list 與 detachable session create/eval/reset。
  3. detachable session #load 與直接 dotnet fsi 對相同腳本具有一致的 fsi.CommandLineArgs 與 package resolution。
  4. restart 後 ownership reconciliation 不遺留上一 generation ProcNode。
  5. supervisee status 可由 ProcSupervisor challenge;graceful shutdown 在 receipt ACK 前不停止 Server。
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.15 105 11/3/2026
1.4.14 104 11/3/2026
1.4.12 120 10/17/2026
1.4.11 108 10/17/2026
1.4.10 96 10/17/2026
1.4.9 104 10/17/2026
1.4.8 104 10/17/2026
1.4.7 98 10/17/2026
1.4.6 103 10/17/2026
1.4.5 101 10/17/2026
1.4.4 104 10/16/2026
1.4.3 105 10/16/2026
1.4.2 103 10/16/2026