Repository navigation
#244 Update ISHRemoteMcpServer to dual-era MCP 2026-07-28 stateless and legacy 2024-11-05 - #302
Draft
ChaitanyaRangu wants to merge 1 commit into
Draft
ChaitanyaRangu wants to merge 1 commit into
ChaitanyaRangu wants to merge 1 commit into
Conversation
…s and legacy 2024-11-05 - Add server/discover, resultType, ttlMs/cacheScope, -32022 version gate - tools/call: unknown tool -> -32602, execution errors -> isError true - serverInfo uses ISHRemoteMcpServer and the module version - Register-IshRemoteMcpTool: add title, strict schema for no-parameter tools
ChaitanyaRangu
force-pushed
the
fix/issue-244
branch
from
December 2, 2026 22:45
22a3eb5 to
b844d22
Compare
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
Makes ISHRemoteMcpServer dual-era for #244: modern MCP 2026-07-28 stateless requests plus the legacy
initialize(2024-11-05).server/discover;resultType: "complete"on modern ping/tools/list/tools/call;ttlMs/cacheScopeon tools/list_metaprotocol version ->-32022withdata.supportedtools/call: unknown tool ->-32602; execution errors ->isError: trueISHRemoteMcpServer+ module versionRegister-IshRemoteMcpTool:title, strict schema for no-parameter toolsTesting
Extended
Invoke-IshRemoteMcpHandleRequest.Tests.ps1(modern, -32022, -32602, isError, legacy regression). Ran those tests standalone with pwsh 7.7.0 / Pester 6.2.0 underSet-StrictMode -Version Latest(dot-sourced function, PesterSetup and module mocks removed): 41/41 pass; the new tests fail against the old code. PSScriptAnalyzer: only a pre-existing unused-parameter warning. Not run: .NET build, full Pester suite (needs Windows + live server).AI assistance
Written with Claude Code (Claude Sonnet 5.5); a human should review. Spec shapes were checked against modelcontextprotocol.io 2026-07-28 pages.