Skip to content

Connectors switchable per machine and per session (Notion's 72 tools cost context) #476

Open

Description

@SSFSKIM

Cites: the charter's connectors (P5 O4, Settings › Connectors); the owner's request in O7 M10's sitting, 2026-11-05 ~05:55Z.

The owner's words

"Notion connector alone has 72 tools, which still takes up a lot of context even when deferred under toolsearch. only specific type of user or session will need it, so let's also make this tool configurable -- like we did for question tools, MAWS artifacts/docs tool, and auxiliary tools"

What to build

Make each connector (MCP server) switchable in the same way MAWS's own tool groups already are. Those are the question tools, the artifacts and docs tools, and the auxiliary tools; find their switches in Settings and mirror them.

  • Settings › Connectors: per connector, an "Available in new sessions" switch, per machine, since a connector is signed in per machine. Default: on for the connectors that exist today, so nothing changes silently.
  • A session's MCP panel: per-session on and off for a connector, taking effect at the session's next restart if the engine can't drop a server live. Say that in the control.
  • An off connector isn't passed to the engine at launch. It costs no context, not even deferred tool names. Its sign-in and grants are kept, so turning it back on needs no new sign-in.
  • Works on remote sessions (RL2): the setting is the session's machine's.

Design questions (ready-for-architect)

  • How the launch excludes a server: MAWS's own --mcp-config assembly versus the engine's settings (disabledMcpjsonServers, enabledMcpjsonServers, or a per-launch settings overlay). Verify against the pinned engine, and don't patch the engine (D-1).
  • Whether a per-project default is wanted besides per-machine and per-session. Ask the owner.
  • Size: Notion's 72 tools. Measure the context cost on vs off in one session (the deferred tool list and the system prompt) and record the number.

Acceptance

With Notion off in Settings, a new session's engine has no Notion tools, not even in its tool-search list. Turning it on again restores them without signing in again. Each control sits where the existing tool-group switches sit.

Activity

  1. added
    enhancement
    status:ready-for-architect
    priority:P2
    on Nov 5, 2026
  2. added a commit that references this issue on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P2status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions