There's a debugging guide here that may be helpful: https://modelcontextprotocol.io/docs/tools/debugging