Skip to content

When the client restarts, the tools list will increase #103

@ssccinng

Description

@ssccinng

Describe the bug
When the client restarts, the tools list will increase

To Reproduce
Steps to reproduce the behavior:

  1. use sse mode connect to server, Then restart client

Expected behavior
not increase

Logs
If applicable, add logs to help explain your problem.

Additional context
https://github.com/ssccinng/csharp-sdk/blob/fix-repeat-tools/src/ModelContextProtocol/Server/McpServer.cs#L230

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions