modelcontextprotocol / modelcontextprotocol/csharp-sdk
Is it possible to make the `StreamableHttpHandler` and `SseHandler` public?
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 4.5k
- Forks
- 814
- Ø Merge
- 9 T. 19 Std.
- Gemergte PRs (30 T.)
- 4
Beschreibung
Pre-submission Checklist
- I have checked that this question would not be more appropriate as an issue in a specific repository
- I have searched existing discussions and documentation for answers
Question Category
- Protocol Specification
- SDK Usage
- Server Implementation
- General Implementation
- Documentation
- Other
Your Question
We're integrating MCP into the HotChocolate GraphQL server, and we need to proxy these handlers and define our own MapGraphQLMcp method. However, the two handlers are marked as internal, so we're unable to access them without forking the SDK. Is it possible to make these handlers public?
Originally posted by @glen-84 in https://github.com/modelcontextprotocol/csharp-sdk/discussions/695
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Lokalisieren Sie die Deklarationen und Verwendungen von StreamableHttpHandler und SseHandler im C# SDK und prüfen Sie anschließend die ursprüngliche Diskussion 695 sowie den aktuellen Kontext des Issues. Prüfen Sie, wie sich ihre Sichtbarkeit auf die Server-API und bestehende Tests auswirkt; erledigt ist dies, wenn die Maintainer geklärt haben, ob diese Handler ohne einen Fork öffentlich verwendet werden können.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- api, backend-api-design
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 58/100