Skip to content

Remove McpClient.Enumerate*Async methods #1056

@ericstj

Description

@ericstj

As discussed in the review of McpClient API feedback, the following members can be removed from public surface of MCPClient.

- public async IAsyncEnumerable<McpClientTool> EnumerateToolsAsync
- public async IAsyncEnumerable<McpClientPrompt> EnumeratePromptsAsync
- public async IAsyncEnumerable<McpClientResourceTemplate> EnumerateResourceTemplatesAsync 
- public async IAsyncEnumerable<McpClientResource> EnumerateResourcesAsync

The scenario satisfied by these API can instead use #1055

@stephentoub @halter73

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions