Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MENDELEY_CLIENT_ID | Yes | Your Mendeley API Client ID (obtained from dev.mendeley.com/myapps.html) | |
| MENDELEY_ACCESS_TOKEN | No | Your Mendeley access token (expires quickly - refresh token recommended) | |
| MENDELEY_CLIENT_SECRET | Yes | Your Mendeley API Client Secret (obtained from dev.mendeley.com/myapps.html) | |
| MENDELEY_REFRESH_TOKEN | No | Your Mendeley refresh token (recommended - obtained via mendeley-auth login) |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mendeley_search_library | Search your Mendeley library for documents.
Args:
query: Search query (searches title, authors, abstract, notes)
limit: Maximum number of results (default: 20, max: 100)
Returns:
JSON array of matching documents with metadata |
| mendeley_get_document | Get detailed information about a specific document.
Args:
document_id: The Mendeley document ID
Returns:
JSON object with full document metadata |
| mendeley_list_documents | List documents in your library or a specific folder.
Args:
folder_id: Optional folder ID to filter by
limit: Maximum number of results (default: 50, max: 100)
sort_by: Sort field - 'last_modified', 'created', or 'title'
Returns:
JSON array of documents |
| mendeley_list_folders | List all folders/collections in your Mendeley library.
Returns:
JSON array of folders with their IDs and names |
| mendeley_search_catalog | Search the global Mendeley catalog (100M+ papers).
Use this to find papers that may not be in your library.
Args:
query: Search query
limit: Maximum results (default: 20, max: 100)
Returns:
JSON array of catalog entries |
| mendeley_get_by_doi | Look up a paper by its DOI in the Mendeley catalog.
Args:
doi: The DOI of the paper (e.g., "10.1038/nature12373")
Returns:
JSON object with paper metadata |
| mendeley_add_document | Add a new document to your Mendeley library.
Args:
title: Document title (required)
doc_type: Type - 'journal', 'book', 'conference_proceedings', etc.
authors: List of author dicts with 'first_name' and 'last_name'
year: Publication year
source: Journal/book name
abstract: Document abstract
identifiers: Dict with 'doi', 'pmid', 'isbn', etc.
Returns:
JSON object with the created document |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_recent_documents | Get the 10 most recently modified documents in the library. |
| get_all_folders | Get all folders in the library. |