Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MENDELEY_CLIENT_IDYesYour Mendeley API Client ID (obtained from dev.mendeley.com/myapps.html)
MENDELEY_ACCESS_TOKENNoYour Mendeley access token (expires quickly - refresh token recommended)
MENDELEY_CLIENT_SECRETYesYour Mendeley API Client Secret (obtained from dev.mendeley.com/myapps.html)
MENDELEY_REFRESH_TOKENNoYour Mendeley refresh token (recommended - obtained via mendeley-auth login)

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
get_recent_documentsGet the 10 most recently modified documents in the library.
get_all_foldersGet all folders in the library.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pallaprolus/mendeley-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server