Skip to content

feat(mcp): converge plugin-bridge & multiplexer governance — one policy model + contextual (channel/mode/session) scoping #232

Description

@Nibbler1250

Context

Governance over MCP tool calls exists on both dispatch paths today, but the two grew separately:

Plugin-tool bridge (src/plugins/mcp-bridge.ts)

MCP multiplexer (src/plugins/mcp-multiplexer/)

Observation

The multiplexer already establishes a fairly mature policy + audit vocabulary; the bridge is the less-governed of the two paths. If #230 and the multiplexer evolve independently we risk:

  1. Divergent schemas — two different config shapes for the same conceptual control (enable/allow/deny a tool).
  2. Two audit streams instead of one combined "what can Claude call, where, and was it allowed?" surface.

Proposal (for discussion)

Converge on one policy model + one audit chain across both paths:

@TerrysPOV — keen on your input before any SPEC

Your repo, your call — flagging the design question before either of us builds:

  1. One unified policy model across bridge + multiplexer, or keep them separate and just align vocabulary?
  2. Is contextual (channel / mode / session) scoping in scope, or is per-server / per-tool sufficient for the regulated posture you're targeting?
  3. Where should the shared policy schema live (settings block, plugin manifest, both)?

Refs #230, #31, #70.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions