claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Command Execution Failure: MCP Command Returns Blank Response

Open menggatot opened this issue 8 months ago • 5 comments

Bug Description claude code return blank when running /mcp or /mcp . example /mcp status or /mcp status.

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 1.0.17
  • Feedback ID: d1220a99-461c-4330-8a90-b5ef26b9d204

Errors

https://github.com/user-attachments/assets/9293ace7-a2aa-4198-a2cb-a1cfa7d4146b

menggatot avatar Jun 10 '25 13:06 menggatot

same issue

younes-io avatar Jun 10 '25 14:06 younes-io

@menggatot @younes-io can you share more about your MCP config?

ashwin-ant avatar Jun 10 '25 18:06 ashwin-ant

@menggatot @younes-io can you share more about your MCP config?

I actually have no MCP server.. it's just that when I hit "/mcp", I would prefer it says: no MCP server found or sth, rather than a blank screen

younes-io avatar Jun 10 '25 18:06 younes-io

I'm facing the same issue. This seems to happen when no MCP servers are configured. Once I added a server with claude mcp add ... and entered claude -> /mcp, I was able to see the MCP controls menu.

slavik-chapelskyi avatar Jun 11 '25 09:06 slavik-chapelskyi

I was experiencing the same issue, and I initially believed I had MCP servers. However, it turns out that somehow, my MCP settings were deleted or corrupted, and I had to manually re-import them from Claude Desktop outside of Claude Code using a regular terminal by executing the command “claude mcp add-from-claude-desktop.” Consequently, I now I am able to use the “/mcp” command again. I’m leaving this information here in case someone else encounters the same situation and receives a blank error message.

msjoshlopez avatar Jun 11 '25 16:06 msjoshlopez

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Oct 10 '25 10:10 github-actions[bot]