Shared connectors (Gmail, Google Calendar, Slack) are redeclared per-plugin instead of shared, forcing duplicate auth

オープン
#1,031 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発

調査の方向性

8つの名前付きプラグインの .mcp.json ファイルにある繰り返しの connector ブロックを比較し、次に CONNECTORS.md を読み、Cowork connector picker が namespace と認証をどのように導出するかを調べます。既存の認証レイヤーがすでに connector を共有しているのか、それとも共有定義が必要なのかを判断します。完了条件は、1つのサービスが一貫して提示され、そのサービスを一度認証すれば、それを参照するすべてのプラグインで利用できることです。

索引モデルが issue の本文から書いたものです。

説明

Summary

gmail, google calendar, and slack are not org-wide/utility connectors — each plugin's .mcp.json redeclares its own copy of them under that plugin's own namespace. The Cowork connector picker then shows them as plugin:legal:gmail, plugin:finance:gmail, plugin:sales:gmail, etc., each requiring separate authentication, even though they're the same underlying account/service.

Evidence

slack, google calendar, and gmail are each declared independently in at least 8 plugins' .mcp.json:

legal, finance, sales, customer-support, human-resources, marketing, operations, product-management

(atlassian and notion show the same pattern in a subset of plugins.)

Example from legal/.mcp.json:

"google calendar": { "type": "http", "url": "" },
"gmail": { "type": "http", "url": "" }

identical blocks appear verbatim in finance/.mcp.json, sales/.mcp.json, etc.

Why it's confusing

Installing more than one of these plugins (e.g. legal + finance) surfaces the same service twice in the connector list under two different plugin namespaces, and authenticating one does not satisfy the other — a user has to click through OAuth once per plugin for what is, from their point of view, one account.

Suggested fix

Cheap: document in CONNECTORS.md that these are shared/global connectors satisfied once across all plugins that reference them, if that's already true at the auth layer and only the UI namespacing is misleading.

Bigger: let plugins reference a shared connector definition (e.g. a top-level connectors.json or marketplace-level registry) instead of copy-pasting the same .mcp.json block into every plugin, so authenticating once satisfies every plugin that declares it.

Related but distinct from #933 (empty url on the same servers) — this issue is about the duplicated-namespace/redundant-auth UX even where the URL is populated and working (e.g. slack).

主要言語
Python
スター
36.8k
フォーク
4.1k
平均マージ
1日 23時間
マージ済み PR(30日)
17

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anthropics/knowledge-work-plugins のほかの issue

anthropics/knowledge-work-plugins の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。