Skip to content

Conversation

@asklar
Copy link
Contributor

@asklar asklar commented Nov 7, 2025

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

<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
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
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
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
Contributor Author

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
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
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.

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.

Make EverythingServer capable of running either stdio or http

4 participants