Feature request: allow slash commands in agent view
Status Open
Maintainer reply None cached
Activity 3 comments · opened Jun 30, 2026
When typing slash commands in the agent view, Claude Code blocks them with messages like:
/mcp isn't available in agent view — attach to a session to run it/usage isn't available in agent view — attach to a session to run it
Use case: I want to check MCP server status or usage before describing a task for a new session. Having to first attach to a session just to run informational commands breaks the workflow.
Request: Make informational slash commands (e.g. /mcp, /usage) available directly in the agent view.
Environment: Claude Code desktop app, macOS
3 Comments
+1. Think about the case of resuming a conversation / session.
Simply running
/resumein the agent viewer and having it spawn a new session with the interactive conversation picker is a much better experience than:This is similar for all other interactive slash commands like
/agentsand/mcp. I'm going to run them, do the manual interaction, then background them anyway - might as well make it simple for me.If there's a better alternative lmk
Yes add this in agent view out of any conversation context. Much needed.
This happens also in the CLI
2.1.241 (Claude Code), it's not desktop only.<img width="813" height="575" alt="Image" src="https://github.com/user-attachments/assets/64a8a537-4f57-4eb1-a9a7-5a1bbbb596c5" />