Libib MCP by usefulapi
Read patrons, managers and accounts; create and update patrons in Libib.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"libib": {
"url": "https://libib.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://libib.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (7)
🟢libib_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.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢libib_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.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢libib_get_manager(email)
Show one manager's name, email and role, found by the manager's email address. Libib API: GET /managers/{email}.
Eingabe-Schema
{
"type": "object",
"properties": {
"email": {
"type": "string",
"minLength": 3,
"maxLength": 320,
"description": "Email address of the manager."
}
},
"required": [
"email"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢libib_list_patrons(page)
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=.
Eingabe-Schema
{
"type": "object",
"properties": {
"page": {
"description": "Page number (50 patrons per page, default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢libib_get_patron(id)
Show one patron's full record, found by barcode or email address. Libib API: GET /patrons/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 320,
"description": "The patron's barcode or email address."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴libib_create_patron(first_name, last_name, email, notification_emails, tags, ...)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"first_name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Patron's first name (required)."
},
"last_name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Patron's last name (required)."
},
"email": {
"description": "Patron's email. Must be unique on the account.",
"type": "string",
"maxLength": 320
},
"notification_emails": {
"description": "Up to 3 comma-separated emails for notifications.",
"type": "string",
"maxLength": 500
},
"tags": {
"description": "Comma-separated patron tags.",
"type": "string",
"maxLength": 500
},
"patron_id": {
"description": "Custom ID (not required to be unique).",
"type": "string",
"maxLength": 200
},
"phone": {
"description": "Contact phone number.",
"type": "string",
"maxLength": 60
},
"address1": {
"description": "Street address line 1.",
"type": "string",
"maxLength": 200
},
"address2": {
"description": "Street address line 2.",
"type": "string",
"maxLength": 200
},
"city": {
"description": "City.",
"type": "string",
"maxLength": 200
},
"state": {
"description": "State (2-character abbreviation for US addresses).",
"type": "string",
"maxLength": 100
},
"country": {
"description": "2-character country code.",
"type": "string",
"minLength": 2,
"maxLength": 2
},
"zip": {
"description": "Postal code.",
"type": "string",
"maxLength": 20
}
},
"required": [
"first_name",
"last_name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴libib_update_patron(id, first_name, last_name, email, notification_emails, ...)
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}.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 320,
"description": "The patron's barcode or email address."
},
"first_name": {
"description": "Patron's first name.",
"type": "string",
"maxLength": 200
},
"last_name": {
"description": "Patron's last name.",
"type": "string",
"maxLength": 200
},
"email": {
"description": "Patron's email. Must be unique on the account.",
"type": "string",
"maxLength": 320
},
"notification_emails": {
"description": "Up to 3 comma-separated emails for notifications.",
"type": "string",
"maxLength": 500
},
"tags": {
"description": "Comma-separated patron tags.",
"type": "string",
"maxLength": 500
},
"patron_id": {
"description": "Custom ID (not required to be unique).",
"type": "string",
"maxLength": 200
},
"phone": {
"description": "Contact phone number.",
"type": "string",
"maxLength": 60
},
"address1": {
"description": "Street address line 1.",
"type": "string",
"maxLength": 200
},
"address2": {
"description": "Street address line 2.",
"type": "string",
"maxLength": 200
},
"city": {
"description": "City.",
"type": "string",
"maxLength": 200
},
"state": {
"description": "State (2-character abbreviation for US addresses).",
"type": "string",
"maxLength": 100
},
"country": {
"description": "2-character country code. An empty string clears the country.",
"anyOf": [
{
"type": "string",
"const": ""
},
{
"type": "string",
"minLength": 2,
"maxLength": 2
}
]
},
"zip": {
"description": "Postal code.",
"type": "string",
"maxLength": 20
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis