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

Open
#14 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active

Research direction

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.

Written by the indexing model from the issue text.

Description

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.
Dominant language
Elixir
Stars
740
Forks
61
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AFK-surf/Comma

All issues in AFK-surf/Comma

Similar issues

More Elixir issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.