docs: update README for pagination support and config cleanup

- 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 <noreply@anthropic.com>
This commit is contained in:
Daniel Bauer
2025-07-05 12:39:52 +02:00
parent 64c625dcb9
commit 8286882f87

View File

@@ -24,7 +24,11 @@ ensuring safe exploration without risk of data modification or corruption.
### Tools ### 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 ## Configuration
@@ -35,7 +39,6 @@ The MCP server can be configured using environment variables with the `CORDRA_`
- `CORDRA_PASSWORD` - Password for authentication (optional) - `CORDRA_PASSWORD` - Password for authentication (optional)
- `CORDRA_VERIFY_SSL` - SSL certificate verification (default: `true`) - `CORDRA_VERIFY_SSL` - SSL certificate verification (default: `true`)
- `CORDRA_TIMEOUT` - Request timeout in seconds (default: `30`) - `CORDRA_TIMEOUT` - Request timeout in seconds (default: `30`)
- `CORDRA_MAX_SEARCH_RESULTS` - Maximum search results (default: `1000`)
## Usage ## Usage