Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Raise the MCP catalog item limit to 2,048 (#36534)

Rasmus Rygaard582569998181
diff --git a/codex-rs/codex-mcp/src/pagination.rs b/codex-rs/codex-mcp/src/pagination.rs
index 61e3b0658a..9e9e618c83 100644
--- a/codex-rs/codex-mcp/src/pagination.rs
+++ b/codex-rs/codex-mcp/src/pagination.rs
@@ -7,7 +7,7 @@ use anyhow::anyhow;
use rmcp::model::PaginatedRequestParams;
const MAX_MCP_CATALOG_PAGES: usize = 100;
-const MAX_MCP_CATALOG_ITEMS: usize = 1_024;
+const MAX_MCP_CATALOG_ITEMS: usize = 2_048;
const MAX_MCP_PAGINATION_CURSOR_BYTES: usize = 64 * 1024;
const DEFAULT_MCP_PAGINATION_TIMEOUT: Duration = Duration::from_secs(30);