Repository navigation
feat(windows): MCP server with External clients, and the tablepro command - #4326
Merged
Merged
Conversation
# Conflicts: # windows/docs/decisions/README.md
# Conflicts: # core/ARCHITECTURE.md
# Conflicts: # Cargo.lock # Cargo.toml # core/crates/ffi/Cargo.toml # core/docs/decisions/README.md # windows/docs/decisions/README.md # windows/src/TablePro.App/App.xaml.cs # windows/src/TablePro.App/Package.appxmanifest # windows/src/TablePro.Interop/Generated/tablepro_ffi.cs
datlechin
enabled auto-merge (squash)
November 19, 2026 11:36
# Conflicts: # core/docs/decisions/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Core::mcp_serverrunstablepro-mcpon the sessionsconnect_savedopened, with the token in the core's secret store and anMcpAppHostcallback that opens a connection and asks about a client's write.ConnectionRecord.external_accessreads the External Clients level back; a save without it keeps the stored one.tablepro_net::loopback_peer_is_this_user). Off Linux it served every local account before.tablepro-cli(C-20) takes the app's names for its settings and token store throughHost::places; Linux's text is unchanged.completion powershellprints a script.tablepro-cli.exe: it reads the data folder, the MCP settings and the token as the app keeps them, checks the listener's user before it sends the token, and hands files and links toTablePro.exe.tablepro.exealias moves to a console Application overtablepro-cli.exe. Files and links it startsTablePro.exewith, which opens them through feat(windows): connect links, file types, long-run notifications, type editors and a JSON view #4325's activation handling.usage_errors_exit_twono longer listscompletion powershell, which now prints a script.linux/crates/app.Test plan
cargo test -p tablepro-ffi --test mcp: the command reaches an open connection and never a Blocked one, a write runs only once the app approves, a terminal's connect opens through the app, the token outlives a stop and a new one turns the old away, a taken port is reported.cargo test -p tablepro-cliand-p tablepro-net. The Windows peer-user check runs incore.yml's loopback tests.dotnet test:McpServerTests(Interop, real core) and the App.Model tests for the settings names the command reads and the form's level.tablepro-cli.exeagainst the published app: a query,status,--versionand PowerShell completion, a write refused under Read only, and a write that waits for the question and runs on Run.release-windows.ymldry run on this branch (run 44350396329): both MSIX build with the second Application, install, andTheInstalledPackageStartsrunsstatusthrough the installedtablepro.exealias on Windows 11 Arm64 and Windows Server 2022.Screenshots
New surfaces, so no before shots. From the Windows (x64) UI tests.