Skip to content

Add list_workspaces MCP tool and CLI command #573

@bm-clawd

Description

@bm-clawd

Context

From team discussion: when users have multiple workspaces (e.g. a personal plan + a team workspace), they currently need to manually configure the workspace ID in their MCP client config. This is friction we should eliminate.

Proposal

Add a list_workspaces tool (MCP + CLI) that:

  1. Lists all workspaces the authenticated user has access to (personal + team)
  2. Lets users specify which workspace to talk to — similar to how they currently specify a project

MCP Tool

  • list_workspaces → returns available workspaces with IDs and names
  • Other tools accept an optional workspace parameter (like the existing project parameter)

CLI

  • bm workspaces or bm workspace list → shows available workspaces

Why

  • Users with a personal plan + team workspace shouldn't have to manually set workspace IDs in config
  • Reduces onboarding friction for team/multi-workspace users
  • Follows the same pattern as project selection

Related

  • Jope's PR giving each user a private project within team workspaces
  • Current workspace ID config requirement in MCP client setup

cc @jope

Metadata

Metadata

Assignees

No one assigned

    Labels

    cloudBasic Memory CloudenhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions