research(gateway): evaluate Open Connector as an MCP/OAuth integration layer

Abierto
#192 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

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

Línea de trabajo

Start by reviewing the Open Connector product, MCP gateway overview, documentation, and public repository linked in the issue, then compare its connector contract, event support, authentication, deployment, tests, and release practices with Raven's current gateway. A small GitHub or Notion MCP/API spike should produce a decision on external adoption, selected design ideas, or keeping integrations native; no immediate migration is requested.

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

Descripción

Problem

Raven currently implements its messaging gateway through first-party channel adapters for Telegram, Slack, Discord, Matrix, WhatsApp, Feishu, WeCom, and other platforms. As the number of integrations grows, it is worth asking whether Raven should reuse an open connector layer instead of owning every integration concern directly.

Open Connector presents itself as an open-source, self-hostable connector platform and MCP gateway for AI agents. It centralizes OAuth, credential storage, tool discovery/execution, scoped access, and audit logging across third-party services.

However, its use of the word “gateway” describes a different boundary from Raven's current gateway:

  • Raven's gateway primarily receives and delivers conversational messages and routes them into the Raven runtime.
  • Open Connector primarily brokers agent-initiated tool calls to third-party APIs over MCP, SDK, or HTTP while managing credentials.

Before adopting it, we should determine whether it is a replacement for any Raven component, a complementary tool/credential layer, or simply useful prior art.

Proposal

Evaluate Open Connector as a possible integration layer for Raven, with the following questions:

  1. Architectural fit

    • Could Raven consume Open Connector as an external MCP server or API service?
    • Would it complement the existing messaging gateway rather than replace channel intake/outlet adapters?
    • Which responsibilities should remain native to Raven: inbound events, conversation identity, delivery semantics, permissions, retries, and media handling?
  2. Potential value

    • Managed OAuth and token refresh for per-user connections.
    • Server-side credential injection so raw third-party tokens do not enter agent context.
    • Connector/tool discovery through MCP or a typed API.
    • Scoped tool allowlists, key rotation, and tamper-evident audit records.
    • Reduced duplication when adding services such as GitHub, Notion, Linear, Google Drive, or Slack as agent tools.
  3. Messaging-versus-tool semantics

    • Determine whether Open Connector supports the inbound event and bidirectional conversation semantics Raven gateways require, or only agent-initiated API actions.
    • Avoid treating a Slack or Discord tool connector as equivalent to a full Raven channel adapter without verifying events, threads, mentions, attachments, acknowledgements, retries, and identity mapping.
  4. Operational and security cost

    • Self-hosting requirements, including its service runtime, Postgres, encryption-key custody, OAuth app setup, migrations, upgrades, and failure recovery.
    • Whether adding a network credential broker improves or complicates Raven's current local-first trust boundary.
    • Behavior when Open Connector is unavailable, and whether Raven can degrade cleanly.
  5. Maturity and licensing

    • Open Connector is currently advertised as private beta.
    • As of 2026-07-23, its public GitHub repository contains only a README and AGPL-3.0 license; it says the source is still being prepared, and it has no published releases.
    • Raven is Apache-2.0, so the team should review the AGPL boundary before vendoring, linking, modifying, or distributing Open Connector. Running it as a separately deployed service may create a different boundary, but this should be confirmed rather than assumed.

Suggested evaluation path

  1. Wait until the implementation source is publicly available and can be audited.
  2. Review its connector contract, event/webhook support, authentication model, deployment footprint, tests, and release practices.
  3. Build a small external-service spike using one non-channel integration, such as GitHub or Notion, through MCP/API.
  4. Compare that spike with a native Raven integration on setup effort, credential exposure, permission granularity, latency, failure handling, and maintenance cost.
  5. Record a decision: adopt as an optional external connector backend, borrow selected design ideas, or keep Raven integrations native.

The spike should not replace an existing Raven channel adapter until the messaging semantics and operational trade-offs are demonstrated.

Alternatives considered

  • Continue implementing all messaging channels and third-party tools directly in Raven.
  • Support generic MCP servers and let users connect Open Connector without a dedicated integration.
  • Borrow its credential-broker and audit concepts while keeping Raven's implementation independent.
  • Revisit the project after its source and stable releases become available.

Area

Channels / gateway

Additional context

This issue requests an architectural evaluation only. It does not propose an immediate dependency or migration.

Lenguaje dominante
Python
Estrellas
4.1k
Forks
94
Merge medio
2 d 7 h
PR fusionados (30 d)
216

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 EverMind-AI/Raven

Todos los issues de EverMind-AI/Raven

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.