DocsGPT icon indicating copy to clipboard operation
DocsGPT copied to clipboard

🚀 Feature: Granola connector — sync meeting notes into Knowledge

Open dartpain opened this issue 2 months ago • 12 comments

🔖 Feature description

Add Granola as a Connectors catalog entry that both lets agents use Granola's tools and syncs meeting notes into Knowledge, with one sign-in.

Granola runs a hosted MCP server at https://mcp.granola.ai/mcp. It answers an unauthenticated request with a 401 that points to OAuth metadata, and its authorization server supports dynamic client registration, so it fits the existing mcp_oauth connector type: users connect with no app to register.

🎤 Why is this feature needed?

"What did we decide about X?" and "what did the customer ask for last week?" are questions whose answers live in meeting notes. Today there is no way to bring meetings into DocsGPT's Knowledge, so agents can't search or cite them.

✌️ How do you aim to achieve this?

Follow the Linear connector, which already syncs into Knowledge through its own MCP server with the same connection agents use:

  1. Catalog entry in docsgpt/connectors/presets/mcp.yaml: key: mcp:granola, category: knowledge, auth_kind: mcp_oauth, capabilities: [sync, read], sync_ingestor: granola, docs_url. Read-only for agents unless Granola's tools include writes worth exposing.
  2. Connector helpers in docsgpt/connectors/granola.py, mirroring docsgpt/connectors/linear.py: what a sync can select (all meetings, or a date range / folder if the tools support it), paging, and reading records defensively.
  3. Loader in docsgpt/parser/remote/granola_loader.py, mirroring linear_loader.py, registered in docsgpt/parser/remote/remote_creator.py: one document per meeting with title, date, attendees and the notes (and transcript if available), plus the meeting's Granola link as the citation. Cap the number of meetings per sync and handle truncated content.
  4. UI: icon at frontend/src/assets/connectors/granola.svg and the description key settings.connectors.descriptions.mcp_granola in all seven locales (de en es jp ru zh zh-TW).
  5. Docs: docs/content/Sources/Connectors/granola.mdx (and _meta.js), like linear.mdx.
  6. Tests in tests/connectors/, like test_linear.py: a stubbed MCP session covering the selection, paging and cap, one document per meeting, and a clear error when a required tool is missing.

Check the actual tool names and result shapes against the server's tools/list after signing in; don't assume them.

Acceptance criteria

  • A user can connect Granola from the Connectors page with OAuth.
  • The connection can be added as a Knowledge source, and synced meetings are searchable and cited with their Granola link.
  • A re-sync picks up new and edited meetings.
  • Agents can use Granola's tools through the same connection.

Out of scope

Writing to Granola, audio, and per-meeting permissions beyond what the signed-in account can read.

🔄️ Additional Information

Related files: docsgpt/connectors/presets/mcp.yaml, docsgpt/connectors/linear.py, docsgpt/parser/remote/linear_loader.py, docsgpt/parser/remote/remote_creator.py, tests/connectors/test_linear.py, docs/content/Sources/Connectors/linear.mdx. UI changes follow frontend/DESIGN.md; please attach a screenshot of the connector card and a synced source.

dartpain avatar Oct 01 '26 00:10 dartpain

I'd like to take this one. I'll follow the Linear connector (catalog entry, granola.py helpers, granola_loader.py, UI, docs, tests) and check the real tool names against tools/list after signing in.

MONISMALIK1 avatar Oct 01 '26 10:10 MONISMALIK1

@MONISMALIK1, you're assigned. Please open a PR or post progress here within 14 days so others can take it if needed. Read CONTRIBUTING.md and frontend/DESIGN.md for the UI work. Include a screenshot or short recording of the connector UI in your PR.

Automated triage. A maintainer will follow up.

arc53-machine avatar Oct 01 '26 10:10 arc53-machine

Stepping back from this one: Granola only signs in with a work (Google Workspace or Microsoft) account, which I don't have, so I can't do the real sync and screenshots this needs. Freeing it up for someone else.

Notes for whoever picks it up:

  • Granola's MCP server meets the preset rules: an unauthenticated POST to https://mcp.granola.ai/mcp gets a 401 with resource_metadata, and the authorization server https://mcp-auth.granola.ai publishes a registration_endpoint and S256 PKCE.
  • The documented tools are list_meetings, get_meetings, get_meeting_transcript (paid plans), list_meeting_folders (paid plans), get_account_info and query_granola_meetings. Input and output shapes aren't published, so check them against tools/list after signing in.
  • The free plan only reads the last 30 days of meetings.

MONISMALIK1 avatar Oct 04 '26 06:10 MONISMALIK1

Thank you @MONISMALIK1 for the insights. I would like to take it on. I would like to work on this as @MONISMALIK1 has stepped back. Kindly assign this to me

nabeel001 avatar Oct 11 '26 01:10 nabeel001

@nabeel001, @MONISMALIK1 is still assigned. You'll be next if the issue is freed up. A maintainer can confirm the handoff following their step-back comment.

Automated triage. A maintainer will follow up.

arc53-machine avatar Oct 11 '26 01:10 arc53-machine

Happy for @nabeel001 to take this over. I'm not working on it.

MONISMALIK1 avatar Oct 12 '26 10:10 MONISMALIK1

As @nabeel001 is assigned another issue, mind if I take this one?

An16og avatar Oct 12 '26 11:10 An16og

@nabeel001, you're now assigned as the first person who requested the handoff. @MONISMALIK1 has been unassigned after stepping back.

  • Please open a PR or post progress within 14 days; otherwise, the issue may be freed up for others.
  • Read CONTRIBUTING.md and frontend/DESIGN.md. Include screenshots or a short recording showing the Granola connector and a synced Knowledge source.

@An16og, you're next if this becomes available again.

Automated triage. A maintainer will follow up.

arc53-machine avatar Oct 15 '26 08:10 arc53-machine

@An16og You can take this up as I had already got assigned to another issue. @arc53-machine please unassign me from this issue and assign it to @An16og

nabeel001 avatar Oct 16 '26 03:10 nabeel001

@nabeel001, a maintainer will follow up on your request to hand this over to @An16og. You're still assigned for now.

Automated triage. A maintainer will follow up.

arc53-machine avatar Oct 16 '26 03:10 arc53-machine

@dartpain, As @nabeel001 requested a handover please Assign this issue to me

An16og avatar Oct 17 '26 08:10 An16og

@nabeel001 There has been no activity on this issue for 30 days, and I found no open PR from you for it. I removed your assignment so the issue is open for anyone to claim again.

Automated triage. A maintainer will follow up.

arc53-machine avatar Nov 17 '26 07:11 arc53-machine