Skip to content

Add file-based MCP server sample#931

Merged
halter73 merged 1 commit intomodelcontextprotocol:mainfrom
PederHP:file_based_sample
Nov 12, 2025
Merged

Add file-based MCP server sample#931
halter73 merged 1 commit intomodelcontextprotocol:mainfrom
PederHP:file_based_sample

Conversation

@PederHP
Copy link
Member

@PederHP PederHP commented Oct 31, 2025

Simple file-based sample as per request in #928

* Initial plan

* Initial plan for file-based MCP server sample

Co-authored-by: PederHP <[email protected]>

* Add file-based MCP server sample with echo tool

Co-authored-by: PederHP <[email protected]>

* Clean up temporary backup file

Co-authored-by: PederHP <[email protected]>

* Revise README for File-Based MCP Server sample

Updated README to clarify file-based program features and testing methods.

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: PederHP <[email protected]>
Copy link
Contributor

@halter73 halter73 left a comment

Choose a reason for hiding this comment

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

I was going to recommend calling this "SingleFileMcpServer" instead of "FileBasedMcpServer", but I guess "file-based app" is the official name for this.

https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/tutorials/file-based-programs

@halter73 halter73 merged commit 5457603 into modelcontextprotocol:main Nov 12, 2025
7 of 8 checks passed
Copy link
Member

@eiriktsarpalis eiriktsarpalis left a comment

Choose a reason for hiding this comment

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

I just realized this was merged weeks ago, I guess it had slipped my attention back then.

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.

7 participants