Skip to content

Allow the ability to click on links to documents via MCP output. #509

Closed

Description

@MrClyfar

It would be super convenient to have the ability to CTRL + click on document links via the MCP output.

Say the MCP returned this...

Dedicated GitHub notes:
- inbox/GitHub/Rename -master- branch to -main- using GitHub UI.md — Instructions on renaming the default branch

I then CTRL + click on the inbox/GitHub/Rename -master- branch to -main- using GitHub UI.md path which brings ZenNote into focus with that document opened.

EDIT:

Ah OK, so I changed my prompt to tell the AI to make the content paths clickable links.

I can now CTRL + click on them, which displayed the program selection dialog, where I need to pick a program to open the Markdown file. Annoyingly that dialog vanishes after about 1 second, so maybe a Windows issue there,. nothing to do with ZenNotes.

So creating clickable links can be done already, if I can pick ZenNotes from that program selection dialog that is.

Activity

  1. adibhanna commented on Jul 30, 2026

    @adibhanna
    Contributor

    Good instinct, and you were closer than you knew: ZenNotes has had a zennotes:// URL scheme since the links feature shipped, registered on Windows too. zennotes://open?path=<vault-relative path> focuses the app and opens that note (no pick-a-program dialog, since the link names ZenNotes itself), and zennotes://open-window?path=... opens it in its own window. The missing piece was that the MCP server never told anyone.

    As of 2.20.0, every note-shaped MCP result (listings, searches, tasks, and the receipts from create/rename/move) carries a link field with that URL, properly encoded for titles with spaces like your example, and the server's instructions teach models to render note titles as markdown links with it. So the flow you described works out of the box: ask about your vault, Ctrl+click a title in the answer, ZenNotes comes to focus with the document open. It works when the app is closed too; the OS launches it.

    Until 2.20.0 lands you can have it today on your current build: tell your AI to format note paths as zennotes://open?path=<url-encoded path> markdown links instead of file links. Ctrl+click those and ZenNotes opens directly.

    One honest caveat: whether a chat client makes custom-scheme links clickable (and whether it asks before opening them) is the client's decision, not something ZenNotes can control. VS Code, for instance, prompts once before opening external URLs.

  2. JohannesSterba commented on Oct 12, 2026

    @JohannesSterba

    The URL feature doesn't work for me. I only realized this because when trying to connect to the cloud, the only way to finish the registration is by using the link which doesn't open at all. Is there some setting I missed? I'm on Windows 11 (and Chrome). And obviously on the latest Zennotes version (2.66.00).

  3. adibhanna commented on Oct 12, 2026

    @adibhanna
    Contributor

    Thanks for reporting this, and sorry: my earlier reply here was wrong. ZenNotes never registered zennotes:// on Windows. The installer doesn't add the link scheme (our packaging tool only does that on macOS), and the app registered it itself only on macOS. So on Windows nothing opens a zennotes:// link: Chrome silently does nothing, and Cloud connect can't finish, because its last step hands the sign-in back to the app through that link. There was no setting you missed.

    This is fixed for the next release, 2.68.0, and I tested it on a clean Windows 11 install:

    • ZenNotes registers zennotes:// for your Windows user every time it starts (installer or zip). Links in your browser or in an MCP answer open the note whether ZenNotes is running or not. The browser asks once whether to open ZenNotes, as it does for any app.
    • Cloud connect on Windows no longer needs the link at all: after you sign in, the browser returns to ZenNotes through a one-time page on 127.0.0.1 that says "ZenNotes is connected".

    Until 2.68.0 is out, you can register the link yourself. Run this in PowerShell; it adds the same per-user entry 2.68.0 adds:

    $exe = Get-ChildItem "$env:LOCALAPPDATA\Programs" -Recurse -Filter ZenNotes.exe -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty FullName
    New-Item "HKCU:\Software\Classes\zennotes\shell\open\command" -Force | Out-Null
    Set-ItemProperty "HKCU:\Software\Classes\zennotes" -Name "(Default)" -Value "URL:ZenNotes Links"
    Set-ItemProperty "HKCU:\Software\Classes\zennotes" -Name "URL Protocol" -Value ""
    Set-ItemProperty "HKCU:\Software\Classes\zennotes\shell\open\command" -Name "(Default)" -Value "`"$exe`" `"%1`""

    If you use the zip instead of the installer, set $exe to the full path of your ZenNotes.exe. Then start Connect again in Settings → Cloud, click Open ZenNotes on the last page, and let Chrome open ZenNotes.

  4. JohannesSterba commented on Oct 13, 2026

    @JohannesSterba

    Thank you! I just woke up to your email and the new version, everything works now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions