MCP-Golang supports cursor-based pagination for listing tools, prompts, and resources. This allows clients to retrieve data in manageable chunks rather than all at once.By default, pagination is disabled, but you can enable it with the WithPaginationLimit option.
As of 2024-12-13, it looks like Claude does not support pagination yet.
The cursor is opaque and should be treated as a black box by clients
Cursors are valid only for the specific list operation they were generated for
As of 2024-12-13, Claude does not support pagination yet
The pagination limit applies to all list operations (tools, prompts, and resources)
Was this page helpful?
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"mcp-golang","colors":{"primary":"#00ADD8","light":"#00ADD8","dark":"#00ADD8"},"favicon":"/images/favicon.svg","logo":{"light":"https://mintcdn.com/mcp-golang/tbJkFnEgP0hvwNFk/logo/mcp-golang-light.svg?fit=max\u0026auto=format\u0026n=tbJkFnEgP0hvwNFk\u0026q=85\u0026s=339b7d83ac42252ddff6099d40bdfdc3","dark":"https://mintcdn.com/mcp-golang/tbJkFnEgP0hvwNFk/logo/mcp-golang-dark.svg?fit=max\u0026auto=format\u0026n=tbJkFnEgP0hvwNFk\u0026q=85\u0026s=001e81556fc3036d6db2759db84dcf1b"},"navbar":{"primary":{"type":"button","label":"Github Repo","href":"https://github.com/metoro-io/mcp-golang"}},"footer":{"socials":{"x":"https://x.com/metoro_ai","github":"https://github.com/metoro-io/mcp-golang","website":"https://metoro.io/"}},"navigation":{"global":{"anchors":[{"anchor":"Github","href":"https://github.com/metoro-io/mcp-golang","icon":"github"},{"anchor":"Discord Community","href":"https://discord.gg/33saRwE3pT","icon":"discord"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mcp-golang","hasAudioNarration":false,"actualSubdomain":"mcp-golang","customDomains":["mcpgolang.com"],"gitSource":{"type":"github","owner":"chrisbattarbee","repo":"mcp-golang","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true},"entitlements":{},"buildId":"6ae9239ee0bf2909fa98b466:success","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Documentation","count":8},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Protocol Features","count":2},{"language":"default","tag":"Usage Guide","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"pagination","slug":"/pagination","pageMetadata":{"title":null,"description":null,"href":"/pagination"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`pagination`,children:`Pagination`}),`\n`,_jsx(_components.p,{children:`MCP-Golang supports cursor-based pagination for listing tools, prompts, and resources. This allows clients to retrieve data in manageable chunks rather than all at once.`}),`\n`,_jsxs(_components.p,{children:[`By default, pagination is disabled, but you can enable it with the `,_jsx(_components.code,{children:`WithPaginationLimit`}),` option.`]}),`\n`,_jsx(Warning,{children:`As of 2024-12-13, it looks like Claude does not support pagination yet.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-pagination-works`,children:`How Pagination Works`}),`\n`,_jsx(_components.p,{children:`If pagination is enabled, the server will limit the number of items returned in each response to the specified limit.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Limit the number of items returned to the specified limit`}),`\n`,_jsxs(_components.li,{children:[`Include a `,_jsx(_components.code,{children:`nextCursor`}),` in the response if there are more items available`]}),`\n`,_jsxs(_components.li,{children:[`Accept a `,_jsx(_components.code,{children:`cursor`}),` parameter in subsequent requests to get the next page`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`enabling-pagination`,children:`Enabling Pagination`}),`\n`,_jsx(_components.p,{children:`Pagination is enabled by default with a limit of 2 items per page. You can modify this behavior when creating a new server:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`server`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` mcp_golang`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`NewServer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` mcp_golang`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`WithPaginationLimit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Set items per page to 5`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`To disable pagination entirely, set the pagination limit to nil:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`server`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` mcp_golang`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`NewServer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` mcp_golang`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`WithPaginationLimit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`nil`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Disable pagination`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`important-notes`,children:`Important Notes`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`The cursor is opaque and should be treated as a black box by clients`}),`\n`,_jsx(_components.li,{children:`Cursors are valid only for the specific list operation they were generated for`}),`\n`,_jsx(_components.li,{children:`As of 2024-12-13, Claude does not support pagination yet`}),`\n`,_jsx(_components.li,{children:`The pagination limit applies to all list operations (tools, prompts, and resources)`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":null,"description":null,"href":"/pagination"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Pagination","slug":"pagination","depth":1,"children":[]},{"title":"How Pagination Works","slug":"how-pagination-works","depth":2,"children":[]},{"title":"Enabling Pagination","slug":"enabling-pagination","depth":2,"children":[]},{"title":"Important Notes","slug":"important-notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"mcp-golang","siteName":"mcp-golang","title":"Pagination - mcp-golang","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T04:57:57.162Z","originalFileLocation":"pagination.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"mcp-golang\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mcp-golang/iwskKR3NWiyHEXaX/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mcp-golang/iwskKR3NWiyHEXaX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mcp-golang/iwskKR3NWiyHEXaX/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mcp-golang/iwskKR3NWiyHEXaX/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mcp-golang/iwskKR3NWiyHEXaX/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mcp-golang/iwskKR3NWiyHEXaX/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mcp-golang/iwskKR3NWiyHEXaX/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mcp-golang/iwskKR3NWiyHEXaX/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mcp-golang/iwskKR3NWiyHEXaX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Pagination - mcp-golang\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"mcp-golang\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://mcpgolang.com/pagination\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mcp-golang.mintlify.site/_mintlify/api/og/v2?division=Protocol+Features\u0026amp;title=Pagination\u0026amp;theme=950c4f882a70d5b43e6868fe\u0026amp;signature=810f70d809aceb53c0c5c4aa75700c962375823495dceec7be4299a4b04919c3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Pagination - mcp-golang\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mcp-golang.mintlify.site/_mintlify/api/og/v2?division=Protocol+Features\u0026amp;title=Pagination\u0026amp;theme=950c4f882a70d5b43e6868fe\u0026amp;signature=810f70d809aceb53c0c5c4aa75700c962375823495dceec7be4299a4b04919c3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mcp-golang/iwskKR3NWiyHEXaX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"mcp-golang\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00ADD8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://mcpgolang.com/pagination\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pagination.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://mcpgolang.com/#organization\",\"name\":\"mcp-golang\",\"url\":\"https://mcpgolang.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mcp-golang/tbJkFnEgP0hvwNFk/logo/mcp-golang-light.svg?fit=max\u0026auto=format\u0026n=tbJkFnEgP0hvwNFk\u0026q=85\u0026s=339b7d83ac42252ddff6099d40bdfdc3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://mcpgolang.com#website\",\"name\":\"mcp-golang\",\"url\":\"https://mcpgolang.com\",\"publisher\":{\"@id\":\"https://mcpgolang.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://mcpgolang.com/pagination#webpage\",\"url\":\"https://mcpgolang.com/pagination\",\"name\":\"Pagination\",\"dateModified\":\"2026-01-07T04:57:57.162Z\",\"isPartOf\":{\"@id\":\"https://mcpgolang.com#website\"},\"breadcrumb\":{\"@id\":\"https://mcpgolang.com/pagination#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://mcpgolang.com/pagination#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Protocol Features\",\"item\":\"https://mcpgolang.com/change-notifications\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pagination\",\"item\":\"https://mcpgolang.com/pagination\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://mcpgolang.com/pagination#article\",\"headline\":\"Pagination\",\"name\":\"Pagination\",\"url\":\"https://mcpgolang.com/pagination\",\"mainEntityOfPage\":{\"@id\":\"https://mcpgolang.com/pagination#webpage\"},\"dateModified\":\"2026-01-07T04:57:57.162Z\",\"publisher\":{\"@id\":\"https://mcpgolang.com/#organization\"},\"isPartOf\":{\"@id\":\"https://mcpgolang.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"mcp-golang\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"mcp-golang\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pagination.md","siteName":"mcp-golang","nav":{"global":{"anchors":[{"anchor":"Github","href":"https://github.com/metoro-io/mcp-golang","icon":"github"},{"anchor":"Discord Community","href":"https://discord.gg/33saRwE3pT","icon":"discord"}]},"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Contributing","href":"/contributing"},{"title":"Architecture","href":"/architecture"}]},{"group":"Usage Guide","pages":[{"title":"Using the MCP Client","href":"/client"},{"title":"Tools","href":"/tools"}]},{"group":"Protocol Features","pages":[{"title":"Change Notifications","description":"How change notifications are handled in mcp-golang","href":"/change-notifications"},{"title":null,"href":"/pagination"}]}]}]},"basePath":"","title":"Pagination - mcp-golang","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}