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

Abierto
#14 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Elixir
Estrellas
740
Forks
61
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de AFK-surf/Comma

Todos los issues de AFK-surf/Comma

Issues similares

Más issues de Elixir

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.