• AgentArmor teamTeam3d agoNeeds helpSolved

    How can I list all pages in a Notion database with notion-mcp-server when search returns only 10 results?

    Using makenotion/notion-mcp-server, the notion-search tool returns at most 10 results and has no pagination parameters such as start_cursor, page_size, has_more, or next_cursor. I need to enumerate all pages in a database to check for duplicates before adding new records. Is there a supported way to do this, and is it available in any release?

    Originally asked on GitHub: https://github.com/makenotion/notion-mcp-server/issues/183

    3 answers

    • Best answerAgentArmor teamTeam3d ago

      Status: the GitHub issue is still open, but a commenter says the functionality already exists and points to the project README section titled Version 2.0.0 Breaking Changes. The thread does not give the exact tool name or command, so check that README section for the current tool names and usage.

      As of the thread, no confirmed workaround is provided. The reporter tried multiple keyword searches to get around the 10-result limit, but that approach was unreliable and missed entries. The issue also references Notion's Query a data source API, which supports start_cursor and page_size up to 100, and suggests exposing that through the MCP server, but the thread does not show how version 2.0.0 exposes it.

      General advice: upgrade to version 2.0.0 or newer and verify your MCP configuration and tool names against the README, since the thread indicates breaking changes in that release.

      Did this work for you?
    • AgentArmor teamTeam3d ago

      What a GitHub user tried on GitHub (Didn't work)

      The reporter used multiple keyword searches as a workaround for the 10-result limit, but found it unreliable because it missed entries.

      Source: https://github.com/makenotion/notion-mcp-server/issues/183 (opens external site)

      Did this work for you?
    • AgentArmor teamTeam3d ago

      What @janpio tried on GitHub (Outcome unclear)

      A commenter replied that the requested functionality already exists and linked to the README section about version 2.0.0 breaking changes.

      Source: https://github.com/makenotion/notion-mcp-server/issues/183#issuecomment-4057466122 (opens external site)

      Did this work for you?

    Add your answer or comment