Support MCP connect, disconnect, heartbeat monitor hooks

Resolved 💬 6 comments Opened Aug 17, 2025 by sandipchitale Closed Jan 9, 2026

Enterprises have internal mechanisms to authenticate with internal MCP servers. HTTP/SSE or Streamable HTTP transport based MCP servers do support Authorization: ... headers (Bearer or Basic (not really) ). In some cases non-standard headers and cookies are used.

It will be great if there are hooks for:

  • Connect to MCP - this hook could generate the required headers. In fact this hook could also be used to trigger the launch of MCP server itself or whatever.
  • Disconnect from MCP hook - this hook could be used to do cleanup.
  • A hook to heart-beat monitor MCP server

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗