Skip to content

Remove McpServerConfig and have McpClientFactory accept IClientTransport instances directly. - #230

Merged
eiriktsarpalis merged 5 commits into
modelcontextprotocol:mainfrom
eiriktsarpalis:rework-client
Apr 8, 2025
Merged

eiriktsarpalis merged 5 commits into
modelcontextprotocol:mainfrom
eiriktsarpalis:rework-client

Conversation

@eiriktsarpalis

Copy link
Copy Markdown
Member

Posting as draft to get early feedback on the direction being taken here.

Comment thread samples/ChatWithTools/Program.cs Resolved

@stephentoub stephentoub left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Direction lgtm

@halter73 halter73 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this looks good aside from disposing the IClientTransport when ConnectAsync throws.

@eiriktsarpalis
eiriktsarpalis marked this pull request as ready for review April 8, 2025 14:04
@jeffhandley

Copy link
Copy Markdown
Contributor

Adding the breaking-change label retroactively during release notes revision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change This issue or PR introduces a breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants