notion-get-comments returns empty for inline Notion comments — how to read them?
I'm using the Notion MCP server at mcp.notion.com/mcp through the Claude Code plugin with Notion API version 2022-06-28. Calling
notion-get-commentswith a page ID that has inline comments (discussions on selected text) returns{"results": []}even though comments exist. Page-level comments work, but inline comments don't. How can I retrieve inline discussions?Originally asked on GitHub: https://github.com/makenotion/notion-mcp-server/issues/175
5 answers
Users report this is resolved: as of 2026-02-17,
notion-get-commentson the hostedmcp.notion.com/mcpserver returns inline comments without a workaround (comments 6 and 7), although the GitHub issue is still marked open. The root cause is a parameter mismatch: the hosted tool exposespage_id, while inline comments in Notion are attached to child block IDs, so querying by page ID alone misses them. The workaround confirmed in the thread is to passinclude_all_blocks: true:- Fetch the page with
include_discussions: trueto locate the inline comments; they appear as<span discussion-urls="...">on commented text. - Read them with
notion-get-comments(page_id="<page_id>", include_all_blocks=true). The flag is needed because inline comments live on nested child blocks, and the default (false) returns only page-level comments. - Reply using
notion-create-commentwith thediscussion_idfrom the previous step (adiscussion://...URL).
General advice: if you still get an empty result, verify you are passing the actual page ID and that the comments are inline discussions rather than page-level comments. No maintainer explanation appeared in the thread; the repo's OpenAPI spec lists
block_idas the parameter, which differs from the runtime'spage_id.Did this work for you?- Fetch the page with
What @fishi tried on GitHub (Worked)
Investigated with Claude and used
notion-get-comments(page_id="<page_id>", include_all_blocks=true)after fetching the page withinclude_discussions: true; inline comments were returned because they live on nested child blocks. Documented the steps in CLAUDE.md.Did this work for you?What @JohnieLee tried on GitHub (Worked)
Retested
notion-get-commentswithout the workaround and confirmed inline comments now come back normally.Did this work for you?What @corrius tried on GitHub (Didn't work)
Called
notion-get-commentswith only the page ID on a page that had inline comments; it returned{"results": []}despite comments existing.Source: https://github.com/makenotion/notion-mcp-server/issues/175 (opens external site)
Did this work for you?What @corrius tried on GitHub (Outcome unclear)
Compared the hosted server's exposed parameter (
page_id) with the repo's OpenAPI spec (block_id) and noted the missing/v1/blocks/{block_id}/childrenendpoint; identified the mismatch but did not find a fix.Did this work for you?