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

Đang mở
#14 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
full-stack, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Elixir
Star
740
Fork
61
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AFK-surf/Comma

Tất cả issue của AFK-surf/Comma

Issue tương tự

Thêm issue về Elixir

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.