Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add option for automatic server-side keep-alive for SSE responses

Open
#736 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp
Domain
api, backend

Research direction

Start at the server's /sse endpoint and trace how each client connection is kept open. Review the existing server options and connection lifecycle before deciding where a configurable periodic ping belongs. Done means clients receive server-side keep-alive pings at the requested interval and connections no longer drop solely because they are idle.

Written by the indexing model from the issue text.

Description

enhancement needs confirmation

Describe the bug
I developed a MCP server with SSE endpoint but when a client connects via /sse endpoint, after appx a few minutes later server drops connection. This is happen because Client-side needs from server-side to ping itself. Current release doesnt support this and

Expected behavior
You can add periodic ping option to keep alive for each client connection. (time)

Dominant language
C#
Stars
4.5k
Forks
814
Avg merge
9d 19h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelcontextprotocol/csharp-sdk

All issues in modelcontextprotocol/csharp-sdk

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.