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

Open
#192 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
4.1k
Forks
94
Avg merge
2d 7h
Merged PRs (30d)
216

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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

All issues in EverMind-AI/Raven

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.