From 8286882f8721886f6d08cff02095cace1d8d666e Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Sat, 5 Jul 2025 12:39:52 +0200 Subject: [PATCH] docs: update README for pagination support and config cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Document search_objects pagination parameters - Remove obsolete CORDRA_MAX_SEARCH_RESULTS config option - Update tool description to reflect new functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c76b4dc..c1a8d58 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,11 @@ ensuring safe exploration without risk of data modification or corruption. ### Tools -- `search_objects` - Search for digital objects using a query string. +- `search_objects` - Search for digital objects using a query string with pagination support. + - `query` - Lucene/Solr compatible search query + - `type` - Optional filter by object type + - `limit` - Number of results per page (default: 1) + - `page_num` - Page number to retrieve, 0-based (default: 0) ## Configuration @@ -35,7 +39,6 @@ The MCP server can be configured using environment variables with the `CORDRA_` - `CORDRA_PASSWORD` - Password for authentication (optional) - `CORDRA_VERIFY_SSL` - SSL certificate verification (default: `true`) - `CORDRA_TIMEOUT` - Request timeout in seconds (default: `30`) -- `CORDRA_MAX_SEARCH_RESULTS` - Maximum search results (default: `1000`) ## Usage