Support adding custom remote MCP servers (Streamable HTTP + OAuth 2.1 + PKCE)

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発

調査の方向性

Start by inspecting the Plugins page under Integrations and the agent-side mcp_manager capability mentioned in the issue. The issue does not name implementation files or tests, so first trace how those existing pieces expose and manage integrations. Done means users can explicitly add a custom remote MCP server with the described transport and auth options, and review its tools before enabling it.

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

説明

What I'm trying to do

Connect a third-party remote MCP server that speaks Streamable HTTP with OAuth 2.1 + PKCE (the endpoint looks like https://<host>/shengcai-web/mcp). The service provides an OAuth flow for clients and expects standard dynamic client registration; no static token is meant to be pasted anywhere.

What I found in the current build

  1. Plugins page only ships a preset catalog. Left sidebar → Plugins → Integrations → “show all” lists preset integrations (GitHub, Google Workspace, Canva, Dropbox, Linear, Notion, …), each with an “Add” button. There is no “add custom server” / “add remote MCP” entry, and no fields for name, URL, transport or auth.
  2. Settings search knows nothing about MCP. Searching settings for “MCP” returns “No settings found”; searching for the service name finds no plugin.
  3. The Inbound API is not a substitute. Settings → Inbound API describes a one-way channel (“cannot read any data”) for other systems to message the assistant.
  4. Agent-side management exists but is hard to discover. The default tool list does not expose MCP management capabilities. They must be discovered on demand via help(tool="mcp_manager"), which makes this capability difficult for ordinary users to find.

Why this matters

A growing number of services expose remote MCP endpoints with OAuth instead of shipping a Comma plugin. The UI has no custom-server entry, so connecting these services currently requires discovering and using the agent-side MCP management tools. A visible entry would make the existing capability accessible to ordinary users.

Suggested behaviour

  • A “Add custom MCP server” action with: display name, server URL, transport (Streamable HTTP, fallback SSE), and auth mode (OAuth with browser flow / none).
  • Store the binding per workspace, keep tokens in the existing secret store, and support reconnect/reload without forcing a second authorization.
  • Keep it an explicit, user-initiated action (it widens the tool surface the agent can reach), and surface the discovered tool list before enabling.
  • Optional: a “test connection” step that lists tools and runs one no-op read.

Environment

  • Comma desktop on Windows (latest build as of 2026-11-03), agent runtime: Salix (self-hosted features not involved).
  • I can provide screenshots of the Plugins page and the empty settings search if useful.
主要言語
Elixir
スター
740
フォーク
61
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

AFK-surf/Comma のほかの issue

AFK-surf/Comma の issue をすべて見る

似ている issue

Elixir の issue をもっと見る

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

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