Files
DocsGPT/docsgpt/connectors/__init__.py
T
arc53-machine 5321a94388 Add the connector catalog and read-only connections API
connector_sessions already holds one row per signed-in account or MCP
server. Migration 0038 names each row (connector_key, auth_kind,
display_name, account_label) and lets sources and tools point at the
row they use through connection_id, backfilling the links it can prove.

docsgpt/connectors/catalog.py declares every service DocsGPT connects
to, with the server settings it needs and what a connection provides.
New endpoints: GET /api/connectors/catalog, GET /api/connections,
GET /api/connections/<id> and POST /api/connections/<id>/disconnect.
/api/available_tools now groups tools into built_in, service and
custom, and source listings carry connectionId.
2026-09-28 16:30:48 +01:00

7 lines
242 B
Python

"""Connectors: one place to connect accounts that feed Sources and Tools.
``catalog`` declares the services, ``service`` manages connections (the rows
of ``connector_sessions``), ``permissions`` classifies tool actions as read
or write.
"""