Seeking Advice on MCP Server Design: Stream Handling & Plugin API Best Practices #526
Unanswered
caomengxuan666
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
I’m developing an MCP server in C++ with a C-compatible API for plugins. Need feedback on streaming/resumption design and protocol compliance.
Current Approach
Session & Stream Management
session_id
and stream progress viaevent_id
.event_id=10
(server at13
).11-13
) are buffered.event_id
, server replays cached events before resuming.Plugin API Design
Questions
Protocol Compliance:
event_id
-based resumption standard in MCP? (Java SDKs seem opaque here.)Plugin Responsibility:
suppose that you are using ChatGpt and you disconnect from it,it still works,and I think write the resume code brings
more burden for those plugin develops,it seems necessary.
C++ Dev Note: I’m prioritizing low-latency and cross-language support (hence C API). Grateful for any insights!
Beta Was this translation helpful? Give feedback.
All reactions