Skip to content

Conversation

@myhau
Copy link
Member

@myhau myhau commented Jun 13, 2025

Summary

  • reuse MCP client connections instead of reconnecting on every request
  • close cached connections via a context manager or close()
  • close old clients when reloading tools
  • update tests to close client sessions

Testing

  • ./check.sh
  • ./check.sh --also-test (fails: KeyboardInterrupt)

https://chatgpt.com/codex/tasks/task_e_684b1a9fe6948331bf152d118f98f4cf

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant