Libib MCP by usefulapi
v1.6.1Read patrons, managers and accounts; create and update patrons in Libib.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
libib_list_accounts List accounts
Show the Libib account behind this API key: organization name, owner, URL alias and API ID. Pro keys return one account. Libib API: GET /accounts.
libib_list_managers List managers
List every manager on the Libib account, including the owner, with each manager's role (owner, admin, manager or lender). Libib API: GET /managers.
libib_get_manager Get manager
Show one manager's name, email and role, found by the manager's email address. Libib API: GET /managers/{email}.
| Parameter | Type | Description |
|---|---|---|
email * | string | Email address of the manager. |
libib_list_patrons List patrons
List one page of patrons (50 per page) with their barcode, name, email, tags, patron ID, address and freeze status. The result gives total and pages; ask for the next page to read more. Libib API: GET /patrons?page=.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (50 patrons per page, default 1). |
libib_get_patron Get patron
Show one patron's full record, found by barcode or email address. Libib API: GET /patrons/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The patron's barcode or email address. |
libib_create_patron Create patron
Create a new patron on the Libib account. first_name and last_name are required. Libib assigns the barcode itself. The patron password is not set here. Libib API: POST /patrons.
| Parameter | Type | Description |
|---|---|---|
first_name * | string | Patron's first name (required). |
last_name * | string | Patron's last name (required). |
address1 | string | Street address line 1. |
address2 | string | Street address line 2. |
city | string | City. |
country | string | 2-character country code. |
email | string | Patron's email. Must be unique on the account. |
notification_emails | string | Up to 3 comma-separated emails for notifications. |
patron_id | string | Custom ID (not required to be unique). |
phone | string | Contact phone number. |
state | string | State (2-character abbreviation for US addresses). |
tags | string | Comma-separated patron tags. |
zip | string | Postal code. |
libib_update_patron Update patron
Change fields of one existing patron, found by barcode or email. Omit a field to leave it unchanged. An empty string removes that value from the patron. The patron password and barcode are not changed here. Libib API: PATCH /patrons/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The patron's barcode or email address. |
address1 | string | Street address line 1. |
address2 | string | Street address line 2. |
city | string | City. |
country | 2-character country code. An empty string clears the country. | |
email | string | Patron's email. Must be unique on the account. |
first_name | string | Patron's first name. |
last_name | string | Patron's last name. |
notification_emails | string | Up to 3 comma-separated emails for notifications. |
patron_id | string | Custom ID (not required to be unique). |
phone | string | Contact phone number. |
state | string | State (2-character abbreviation for US addresses). |
tags | string | Comma-separated patron tags. |
zip | string | Postal code. |