Knack MCP by usefulapi
Read, create, update and delete records; inspect objects, fields and schema in your Knack database.
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": {
"knack": {
"url": "https://knack.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://knack.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (9)
🟢knack_get_application(appId)
Fetch a Knack application's full schema/metadata — its objects (tables), fields, and scenes. Knack API: GET /applications/{app_id}. Returns the raw JSON as-is. app_id defaults to the configured KNACK_APPLICATION_ID.
Eingabe-Schema
{
"type": "object",
"properties": {
"appId": {
"description": "Optional Knack Application ID; defaults to the configured KNACK_APPLICATION_ID.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢knack_list_objects(appId)
List an application's objects (tables) as a compact array [{ key, name, fieldCount }]. Convenience over GET /applications/{app_id}. app_id defaults to the configured KNACK_APPLICATION_ID.
Eingabe-Schema
{
"type": "object",
"properties": {
"appId": {
"description": "Optional Knack Application ID; defaults to the configured KNACK_APPLICATION_ID.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢knack_list_fields(objectKey, appId)
List the fields of ONE object as [{ key, name, type, required }]. Fetches GET /applications/{app_id} and returns the fields of the object whose key === objectKey (e.g. "object_1"). app_id defaults to the configured KNACK_APPLICATION_ID.
Eingabe-Schema
{
"type": "object",
"properties": {
"objectKey": {
"type": "string",
"description": "The Knack object (table) key, e.g. \"object_1\"."
},
"appId": {
"description": "Optional Knack Application ID; defaults to the configured KNACK_APPLICATION_ID.",
"type": "string"
}
},
"required": [
"objectKey"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢knack_list_records(objectKey, page, rows_per_page, sort_field, sort_order, ...)
List an object's records. Knack API: GET /objects/{object_key}/records. Returns the paged envelope { total_pages, current_page, total_records, records: [...] } as-is. Records carry both field_x (formatted) and field_x_raw (structured) values. Page with page / rows_per_page (max 1000), sort with sort_field / sort_order, and filter with the `filters` object.
Eingabe-Schema
{
"type": "object",
"properties": {
"objectKey": {
"type": "string",
"description": "The Knack object (table) key, e.g. \"object_1\"."
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"rows_per_page": {
"description": "Records per page (1-1000, default 25).",
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"sort_field": {
"description": "Field key to sort by, e.g. \"field_25\".",
"type": "string"
},
"sort_order": {
"description": "Sort direction: \"asc\" or \"desc\".",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"filters": {
"description": "Optional Knack filter object, JSON-stringified into the `filters` query param. Shape: { \"match\": \"and\"|\"or\", \"rules\": [{ \"field\": \"field_1\", \"operator\": \"is\", \"value\": \"Acme\" }] }. Common operators: contains, does not contain, is, is not, starts with, ends with, higher than, lower than, is blank, is not blank.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"objectKey"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢knack_get_record(objectKey, recordId)
Fetch a single record by id. Knack API: GET /objects/{object_key}/records/{record_id}. Returns the bare record (with both field_x and field_x_raw values).
Eingabe-Schema
{
"type": "object",
"properties": {
"objectKey": {
"type": "string",
"description": "The Knack object (table) key, e.g. \"object_1\"."
},
"recordId": {
"type": "string",
"description": "The record id (a hex string returned by Knack)."
}
},
"required": [
"objectKey",
"recordId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢knack_request(path, query)
Power-user escape hatch: GET any Knack API path not wrapped by a dedicated tool (e.g. view-based reads). READ-ONLY — only GET is allowed. Path starts with a slash (e.g. "/objects/object_1/records"). Knack API: GET {path}.
Eingabe-Schema
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "API path starting with a slash, e.g. \"/objects/object_1/records\"."
},
"query": {
"description": "Optional query params object.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"path"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴knack_create_record(objectKey, fields)
MUTATES Knack data — creates a new record in an object. Knack API: POST /objects/{object_key}/records. Provide `fields` as an object keyed by field key, e.g. { "field_1": "Acme", "field_2": 100 }. Auto Increment / Formula / Equation fields are read-only and cannot be set. Returns the created record.
Eingabe-Schema
{
"type": "object",
"properties": {
"objectKey": {
"type": "string",
"description": "The Knack object (table) key, e.g. \"object_1\"."
},
"fields": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "The record's field values keyed by field key, e.g. { \"field_1\": \"Acme\", \"field_2\": 100 }. Auto Increment / Formula / Equation fields are read-only and cannot be written."
}
},
"required": [
"objectKey",
"fields"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴knack_update_record(objectKey, recordId, fields)
MUTATES Knack data — updates a record. Knack API: PUT /objects/{object_key}/records/{record_id}. Provide `fields` as an object keyed by field key; only the included fields change, e.g. { "field_1": "Acme Inc" }. Auto Increment / Formula / Equation fields are read-only. Returns the updated record.
Eingabe-Schema
{
"type": "object",
"properties": {
"objectKey": {
"type": "string",
"description": "The Knack object (table) key, e.g. \"object_1\"."
},
"recordId": {
"type": "string",
"description": "The record id (a hex string returned by Knack)."
},
"fields": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "The record's field values keyed by field key, e.g. { \"field_1\": \"Acme\", \"field_2\": 100 }. Auto Increment / Formula / Equation fields are read-only and cannot be written."
}
},
"required": [
"objectKey",
"recordId",
"fields"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴knack_delete_record(objectKey, recordId)
MUTATES Knack data — permanently DELETES a record (irreversible). Knack API: DELETE /objects/{object_key}/records/{record_id}. Knack returns { delete: true } on success.
Eingabe-Schema
{
"type": "object",
"properties": {
"objectKey": {
"type": "string",
"description": "The Knack object (table) key, e.g. \"object_1\"."
},
"recordId": {
"type": "string",
"description": "The record id (a hex string returned by Knack)."
}
},
"required": [
"objectKey",
"recordId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis