Skip to content

/mcp slash command not found in new sessions when "New Layout" is enabled #37042

Closed as not planned

Description

@kaikoga45

Description

When using OpenCode Desktop with the New Layout option enabled, the /mcp slash command is not recognized in a newly created session. The command works correctly when used in an existing session.

Expected behavior
The /mcp command should appear as a selectable option in new sessions, matching the behavior of continued sessions and of OpenCode via terminal.

Plugins

None

OpenCode version

1.18.1

Steps to reproduce

  1. Create a new session (Cmd + T)
  2. Type /mcp in the input field

Screenshot and/or share link

mcp_command_not_found.mov

Operating System

macOS 26.2

Terminal

Default macOS terminal

Activity

  1. github-actions commented on Jul 15, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is specifically about /mcp not appearing only in new sessions (but working in existing ones) and #37025 does not cover that distinction, please let a maintainer know so we can keep this open separately.

  2. github-actions commented on Sep 15, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions