Skip to content

Draft follow-up tidy-ups: configurable stdio probe timeout + IsStatefulSession/IsMrtrSupported gate review #1652

Description

@halter73

Follow-up from #1610. Two small carried-over cleanups:

1. Configurable stdio probe timeout

The stdio sessionless-probe timeout is hard-coded to 5 s. Make it configurable (transport option) so callers can tune it for slow-starting servers / CI.

2. IsStatefulSession() / IsMrtrSupported gate review

McpServerImpl.IsMrtrSupported carries a TODO to revisit how it gates on IsStatefulSession(). Review whether the MRTR-support determination is correct now that stateful mode is effectively stdio-only under the draft changes.

cc #1610

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions