Reftab MCP by usefulapi
Read assets, licenses, loans, locations and maintenance records in Reftab.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"reftab": {
"url": "https://reftab.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://reftab.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (17)
🟢reftab_list_assets(limit, offset, clid, cid, query, ...)
List assets with optional filters, e.g. location, category, status or who has them on loan. Returns the first 50 by default. Reftab API: GET /api/assets.
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"description": "Rows to return (Reftab default 50).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"offset": {
"description": "Rows to skip, for paging (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"clid": {
"description": "Location ID, or comma-separated location IDs.",
"type": "string"
},
"cid": {
"description": "Category ID, or comma-separated category IDs.",
"type": "string"
},
"query": {
"description": "Free-text search in the asset fields.",
"type": "string"
},
"status": {
"description": "Asset status filter (as Reftab names it).",
"type": "string"
},
"statid": {
"description": "Status ID filter.",
"type": "string"
},
"loan": {
"description": "Loan filter (as Reftab names it).",
"type": "string"
},
"loanee": {
"description": "Loanee filter (as Reftab names it).",
"type": "string"
},
"loanDetails": {
"description": "Set to include loan details in each asset (Reftab flag).",
"type": "string"
},
"loaneeDetails": {
"description": "Set to include loanee details in each asset (Reftab flag).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_get_asset(aid)
Get one asset by its asset ID (the barcode/tag, e.g. MAC000001). Reftab API: GET /api/assets/{aid}.
Esquema de entrada
{
"type": "object",
"properties": {
"aid": {
"type": "string",
"minLength": 1,
"description": "The asset ID, as used in Reftab (barcode)."
}
},
"required": [
"aid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_get_asset_loan_history(aid)
List the loans and checkout/return history of one asset that the key may read. Useful for audits and chain of custody. Reftab API: GET /api/assets/{aid}/loans/history.
Esquema de entrada
{
"type": "object",
"properties": {
"aid": {
"type": "string",
"minLength": 1,
"description": "The asset ID."
}
},
"required": [
"aid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_list_locations
List all locations (sites, rooms, offices) with their IDs, names and asset counts. Reftab API: GET /api/locations.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_get_location(clid)
Get one location by its location ID (clid), including its asset and license counts. Reftab API: GET /api/locations/{clid}.
Esquema de entrada
{
"type": "object",
"properties": {
"clid": {
"type": "string",
"minLength": 1,
"description": "The location ID (clid)."
}
},
"required": [
"clid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_list_categories
List asset categories with their IDs and names. Reftab API: GET /api/categories.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_list_licenses(limit, offset, sort, dir, search, ...)
List software licenses, with optional search, sort and status filters, e.g. to find renewals and costs. Reftab API: GET /api/licenses.
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"description": "Rows to return (Reftab default 50).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"offset": {
"description": "Rows to skip, for paging (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"sort": {
"description": "Field to sort by (as Reftab names it).",
"type": "string"
},
"dir": {
"description": "Sort direction: asc or desc.",
"type": "string"
},
"search": {
"description": "Free-text search in license fields.",
"type": "string"
},
"status": {
"description": "License status filter (as Reftab names it).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_get_license(id)
Get one license by its numeric ID, including cost, vendor, seats and notification settings. Reftab API: GET /api/licenses/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The license ID."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_list_loans(limit, offset, clid, cid, aid, ...)
List current and past loans (checkouts) of assets, licenses, accessories and kits, with optional filters such as status, loanee or activity dates. Reftab API: GET /api/loans.
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"description": "Rows to return (Reftab default 50).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"offset": {
"description": "Rows to skip, for paging (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"clid": {
"description": "Location ID, or comma-separated IDs.",
"type": "string"
},
"cid": {
"description": "Category ID, or comma-separated IDs.",
"type": "string"
},
"aid": {
"description": "Asset ID filter.",
"type": "string"
},
"licid": {
"description": "License ID filter.",
"type": "string"
},
"kid": {
"description": "Kit ID filter.",
"type": "string"
},
"accid": {
"description": "Accessory ID filter.",
"type": "string"
},
"lid": {
"description": "Loan ID filter.",
"type": "string"
},
"loan_uid": {
"description": "Loan UID filter.",
"type": "string"
},
"lnid": {
"description": "Loanee ID filter.",
"type": "string"
},
"status": {
"description": "Loan status filter (as Reftab names it).",
"type": "string"
},
"type": {
"description": "Loan type filter (as Reftab names it).",
"type": "string"
},
"loanee": {
"description": "Loanee name or ID filter (as Reftab names it).",
"type": "string"
},
"lgid": {
"description": "Loan group ID filter.",
"type": "string"
},
"activitySince": {
"description": "Only loans with activity on or after this date.",
"type": "string"
},
"activityUntil": {
"description": "Only loans with activity on or before this date.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_list_loanees(q, limit, offset)
Search people who can hold loans (loanees and sub-users) by name or email. Reftab API: GET /api/loanees.
Esquema de entrada
{
"type": "object",
"properties": {
"q": {
"description": "Search text: name or email.",
"type": "string"
},
"limit": {
"description": "Rows to return (Reftab default 50).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"offset": {
"description": "Rows to skip, for paging (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_get_loanee(lnid)
Get one loanee (person) by ID, with the details Reftab holds for them. Reftab API: GET /api/loanees/{lnid}.
Esquema de entrada
{
"type": "object",
"properties": {
"lnid": {
"type": "string",
"minLength": 1,
"description": "The loanee ID."
}
},
"required": [
"lnid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_list_reservations(limit, offset, clid, cid, aid, ...)
List reservations of assets, licenses, accessories and kits, with optional filters. Reftab API: GET /api/reservations.
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"description": "Rows to return (Reftab default 50).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"offset": {
"description": "Rows to skip, for paging (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"clid": {
"description": "Location ID, or comma-separated IDs.",
"type": "string"
},
"cid": {
"description": "Category ID, or comma-separated IDs.",
"type": "string"
},
"aid": {
"description": "Asset ID filter.",
"type": "string"
},
"licid": {
"description": "License ID filter.",
"type": "string"
},
"kid": {
"description": "Kit ID filter.",
"type": "string"
},
"accid": {
"description": "Accessory ID filter.",
"type": "string"
},
"lid": {
"description": "Loan ID filter.",
"type": "string"
},
"loan_uid": {
"description": "Loan UID filter.",
"type": "string"
},
"lnid": {
"description": "Loanee ID filter.",
"type": "string"
},
"status": {
"description": "Reservation status filter (as Reftab names it).",
"type": "string"
},
"lgid": {
"description": "Loan group ID filter.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_list_accessories(limit, offset, expanded)
List accessories (small items such as chargers or cables) with their stock and category. Reftab API: GET /api/accessories.
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"description": "Rows to return (Reftab default 50).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"offset": {
"description": "Rows to skip, for paging (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"expanded": {
"description": "Set to include the expanded accessory details (Reftab flag).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_list_kits
List kits (bundles of assets and accessories) that the key may read. Reftab API: GET /api/kits.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_list_asset_maintenance(limit, offset, statid, clid, amid, ...)
List asset maintenance records with optional filters, e.g. overdue or open work on one asset or location. Reftab API: GET /api/assetmaintenance.
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"description": "Rows to return (Reftab default 50).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"offset": {
"description": "Rows to skip, for paging (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"statid": {
"description": "Status ID filter.",
"type": "string"
},
"clid": {
"description": "Location ID filter.",
"type": "string"
},
"amid": {
"description": "Maintenance record ID filter.",
"type": "string"
},
"aid": {
"description": "Asset ID filter.",
"type": "string"
},
"mnid": {
"description": "Maintenance type ID filter.",
"type": "string"
},
"uid": {
"description": "User ID filter.",
"type": "string"
},
"completed": {
"description": "Completion filter (Reftab flag).",
"type": "string"
},
"status": {
"description": "Maintenance status filter (as Reftab names it).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_get_asset_maintenance(amid)
Get one asset maintenance record by its ID. Reftab API: GET /api/assetmaintenance/{amid}.
Esquema de entrada
{
"type": "object",
"properties": {
"amid": {
"type": "string",
"minLength": 1,
"description": "The maintenance record ID."
}
},
"required": [
"amid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢reftab_list_statuses
List the asset statuses, categories and custom-field definitions of the account. Use it to pick valid filter values. Reftab API: GET /api/status.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia