Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🔧 fix: Remove empty result check from MCPConnection transport send method, allow pinging mcp servers
Danny Avila6b58547c6307
diff --git a/packages/mcp/src/connection.ts b/packages/mcp/src/connection.tsindex 1bdd676de1..4ef3515ed4 100644--- a/packages/mcp/src/connection.ts+++ b/packages/mcp/src/connection.ts@@ -320,9 +320,6 @@ export class MCPConnection extends EventEmitter {const originalSend = this.transport.send.bind(this.transport);this.transport.send = async (msg) => {- if ('result' in msg && !('method' in msg) && Object.keys(msg.result ?? {}).length === 0) {- throw new Error('Empty result');- }this.logger?.debug(`[MCP][${this.serverName}] Transport sending: ${JSON.stringify(msg)}`);return originalSend(msg);};