Skip to content

Add back EverythingServer for stdio - #950

Open
asklar wants to merge 4 commits into
modelcontextprotocol:mainfrom
asklar:copilot/add-stdio-option-for-sample
Open

Add back EverythingServer for stdio#950
asklar wants to merge 4 commits into
modelcontextprotocol:mainfrom
asklar:copilot/add-stdio-option-for-sample

Conversation

@asklar

@asklarasklar commented Nov 7, 2025

Copy link
Copy Markdown
Contributor

Adds back EverythingServer option for stdio as it is still useful.

Motivation and Context

Fixes#889

How Has This Been Tested?

locally tested both in inspector

Breaking Changes

no

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

CopilotAIand others added 4 commits November 7, 2025 18:26
Co-authored-by: asklar <22989529+asklar@users.noreply.github.com>
Co-authored-by: asklar <22989529+asklar@users.noreply.github.com>
<Project Path="samples/EverythingServer/EverythingServer.csproj" />
<Project Path="samples/EverythingServer.Core/EverythingServer.Core.csproj" />
<Project Path="samples/EverythingServer.Http/EverythingServer.Http.csproj" />
<Project Path="samples/EverythingServer.Stdio/EverythingServer.Stdio.csproj" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikekistler, I think you were interested in scenarios where a single server could be used either via stdio or http? IIRC, should we do that in this one rather than having different projects?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think both patterns are valid and it's useful to illustrate how the core MCP logic can be implemented in a class library and used in either a STDIO or sHTTP server project.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case, can we make the STDIO server pack itself as a tool that can be run with dnx (including it's library dependency)?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to use this server as a sample MCPB-based server. Totally up to y'all if you also want to make it available via dnx.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would that be built here? Demonstrating deployment options seems like a good thing to add to the samples, but I'll defer to @mikekistler as I'm new here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should start by adding documentation on what an MCPB-based server is and why you might want one. After that we can talk about adding a sample or updating one to demonstrate that.

@jeffhandley

Copy link
Copy Markdown
Contributor

@asklar We let this go stale while we were heads-down on the 2026-07-28 spec revision and the v2.0.0 release. We've looked back at it and here are our thoughts:

  1. The Core breakout matches our expectations
  2. The discussions around using dnx should be treated as out of scope for this PR
  3. We don't need to pursue the MCPB sample here in this repo

We'd like to get this PR resurrected, conflicts resolved, and carried forward. Since we let it sit so long, we'd be happy to carry this forward ourselves, but if you're still interested in contributing it, we'd welcome it and we will be ready to re-review one conflicts are resolved.

Sign up for freeto 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.

Make EverythingServer capable of running either stdio or http

7 participants

@asklar@jeffhandley@stephentoub@ericstj@mikekistler@scutuatua-crypto