Repository navigation
Conversation
Check the owner kind against the kinds a provider accepts, require non-empty ids and reject a versionId for anything but a game owner before calling the host.
Expose list/get/create/update/delete for the host's owned-record providers. Actions, scripts and save paths of a game are scoped to a game version, defaulting to the latest. Script writes are marked destructive because clients run them, and server-side Package scripts are rejected.
List and read media and archive metadata without files. get_key_counts reports total, free and claimed CD keys and never returns key values or claim details.
List the new tools, explain owner kinds and game-version scoping, and update the safety notes for scripts, actions, keys, media and archives.
The SDK replaces every exception other than McpException with a generic message, so KeyNotFoundException/ArgumentException from host providers (e.g. an unknown game version in list_actions) and argument binding errors only reached the server log. A call-tool filter now returns their messages as tool errors; other exceptions stay generic.
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
list_*/get_*/create_*/update_*/delete_*tools for actions, scripts, save paths and multiplayer modes using the host'sIOwnedRecordProvidercontracts. Owners are passed explicitly (ownerKind,ownerId); a game's actions, scripts and save paths are scoped to a version (versionId, or the latest version when omitted). Server-sidePackagescripts are not exposed.list_media,get_media,list_archives,get_archive, andget_key_counts(totals only; key values and claim details are never returned).KeyNotFoundException,ArgumentException) and malformed arguments as tool errors with their message instead of the SDK's generic "An error occurred invoking …". This also applies to existing tools such asupdate_game. Other exceptions stay generic.## Unreleasedin the MCP changelog; no version was assigned.Security notes
create_script/update_scriptare annotated destructive: scripts are PowerShell that clients run, possibly elevated (requiresAdmin). The plugin never executes scripts. Actions define executables launchers run.Validation
Test-ReleaseSelection,Test-Repository,Test-ReleaseDestinations,Test-NuGetPublication,Test-GitHubPackagespassed.Validate-Plugin.ps1 -Plugin Server.Mcppassed (Node setup tests, .NET unit/HTTP tests, package verification).Release behavior
No tags, releases or packages were created by this PR.