Skip to content

Update tests for @modelcontextprotocol/server-everything 2026.1.26#1273

Open
Copilot wants to merge 6 commits intomainfrom
copilot/support-latest-server-everything
Open

Update tests for @modelcontextprotocol/server-everything 2026.1.26#1273
Copilot wants to merge 6 commits intomainfrom
copilot/support-latest-server-everything

Conversation

Copy link
Contributor

Copilot AI commented Feb 15, 2026

  • Update @modelcontextprotocol/server-everything version from 2025.12.18 to 2026.1.26 in package.json and ClientIntegrationTestFixture.cs
  • Update TestServer/Program.cs to match new prompt names/args, tool name, add completable-prompt, update completion values
  • Update ClientIntegrationTests.cs to use new names:
    • Update ListPrompts assertions: simple_promptsimple-prompt, complex_promptargs-prompt
    • Update GetPrompt_Stdio_SimplePrompt: simple_promptsimple-prompt
    • Update GetPrompt_Stdio_ComplexPrompt: complex_prompt with temperature/style → args-prompt with city/state
    • Update ListPromptsAsync_WithRequestParams: simple_promptsimple-prompt
    • Update GetPromptAsync_WithRequestParams: simple_promptsimple-prompt
    • Update Complete_Stdio_PromptReference: use completable-prompt with department/EngEngineering
    • Update CompleteAsync_WithRequestParams: same completion changes
    • Update Sampling_Stdio: sampleLLMtrigger-sampling-request
    • Update SamplingViaChatClient: sampleLLMtrigger-sampling-request
    • Update SetLoggingLevel_ReceivesLoggingMessages: call toggle-simulated-logging tool for everything server
    • Update resource tests to dynamically discover resources instead of hardcoded URIs
    • Update resource template/list assertions to be compatible with new structure
    • Enable ServerInstructions assertion for everything server (now provides instructions)
  • Update DockerEverythingServerTests.cs: sampleLLMtrigger-sampling-request
  • Address review feedback:
    • Use StartsWith("text/") for MIME type filtering in ReadResource_Stdio_TextResource
    • Add explanatory comment on ReadResource_Stdio_BinaryResource about everything server's resource model
    • Restore Assert.True(result.Resources.Count <= 100) in ListResourcesAsync_WithRequestParams
Original prompt

This section details on the original issue you should resolve

<issue_title>Support latest version of @modelcontextprotocol/server-everything package</issue_title>
<issue_description>Some tests in ClientIntegrationTests run the MCP server provided by @modelcontextprotocol/server-everything. Prior to the version being pinned in #1077, these tests always ran using the latest available version of the package. However, the most recent release (2026.1.14) has some breaking changes that caused many of the tests in ClientIntegrationTests to fail. Some of these breaks are simple renames (e.g., simple_prompt to simple-prompt), but others are slightly more involved (complex_prompt with temperature/style args to args-prompt with city/state args).

We should consider updating these tests to be compatible with the latest version of server-everything. This may also include updating ModelContextProtocol.TestServer as well.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…, tools, update completions and resources

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Copilot AI changed the title [WIP] Support latest version of @modelcontextprotocol/server-everything package Update tests for @modelcontextprotocol/server-everything 2026.1.26 Feb 15, 2026
Copilot AI requested a review from stephentoub February 15, 2026 12:58
@stephentoub
Copy link
Contributor

@copilot the title still says WIP... Do you have more to do?

Copy link
Contributor Author

Copilot AI commented Feb 15, 2026

@copilot the title still says WIP... Do you have more to do?

No, the work is complete — all integration tests pass against both everything and test_server with the latest server-everything version (2026.1.26). I've updated the PR title to remove the "WIP" prefix.

@stephentoub stephentoub marked this pull request as ready for review February 15, 2026 14:15
…binary resource comment, restore Count <= 100 assertion

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
@stephentoub stephentoub enabled auto-merge (squash) February 15, 2026 14:56
stephentoub and others added 2 commits February 15, 2026 16:33
The everything server's toggle-simulated-logging tool has inputSchema: {}
which requires an object argument. Passing no arguments (null) caused the
server to reject the call with a validation error, leaving the test waiting
indefinitely for a logging notification that never arrived.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support latest version of @modelcontextprotocol/server-everything package

2 participants