Hookdeck MCP by usefulapi
Inspect events, attempts and connections; retry events and pause connections in Hookdeck.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"hookdeck": {
"url": "https://hookdeck.usefulapi.io/mcp"
}
}
}遠端端點
https://hookdeck.usefulapi.io/mcpstreamable-http它能做什麼
工具清單
工具(19)
🟢hookdeck_list_connections(source_id, destination_id, disabled, limit, next, ...)
List connections that link a source to a destination, with their rules and pause/disable state. Good first call to see what the project routes. Hookdeck API: GET /connections.
輸入結構描述
{
"type": "object",
"properties": {
"source_id": {
"description": "Only connections from this source id.",
"type": "string"
},
"destination_id": {
"description": "Only connections to this destination id.",
"type": "string"
},
"disabled": {
"description": "Include disabled connections (default false).",
"type": "boolean"
},
"limit": {
"description": "Results per page (default set by Hookdeck).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"next": {
"description": "Cursor from pagination.next of the previous page.",
"type": "string"
},
"prev": {
"description": "Cursor from pagination.prev of the previous page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_get_connection(connection_id)
Get one connection by id: its source, destination, rules, and paused_at or disabled_at state. Hookdeck API: GET /connections/{id}.
輸入結構描述
{
"type": "object",
"properties": {
"connection_id": {
"type": "string",
"description": "The connection id (from hookdeck_list_connections)."
}
},
"required": [
"connection_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_list_sources(name, disabled, limit, next, prev)
List inbound sources: the URLs that receive webhooks from other services, with type and disabled state. Hookdeck API: GET /sources.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"description": "Filter by exact source name.",
"type": "string"
},
"disabled": {
"description": "Include disabled sources (default false).",
"type": "boolean"
},
"limit": {
"description": "Results per page (default set by Hookdeck).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"next": {
"description": "Cursor from pagination.next of the previous page.",
"type": "string"
},
"prev": {
"description": "Cursor from pagination.prev of the previous page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_get_source(source_id)
Get one source by id: its URL, type, and disabled state. Hookdeck API: GET /sources/{id}.
輸入結構描述
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"description": "The source id (from hookdeck_list_sources)."
}
},
"required": [
"source_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_list_destinations(name, disabled, limit, next, prev)
List outbound destinations: the URLs or services that Hookdeck delivers events to, with type and disabled state. Hookdeck API: GET /destinations.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"description": "Filter by exact destination name.",
"type": "string"
},
"disabled": {
"description": "Include disabled destinations (default false).",
"type": "boolean"
},
"limit": {
"description": "Results per page (default set by Hookdeck).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"next": {
"description": "Cursor from pagination.next of the previous page.",
"type": "string"
},
"prev": {
"description": "Cursor from pagination.prev of the previous page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_get_destination(destination_id)
Get one destination by id: its type, config and disabled state. This tool does not request the auth config. Hookdeck API: GET /destinations/{id}.
輸入結構描述
{
"type": "object",
"properties": {
"destination_id": {
"type": "string",
"description": "The destination id (from hookdeck_list_destinations)."
}
},
"required": [
"destination_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_list_events(status, source_id, destination_id, search_term, limit, ...)
List events (one per delivery to one destination) with status, attempts, response status and next attempt time. Use status=FAILED to find deliveries that need attention. Hookdeck API: GET /events.
輸入結構描述
{
"type": "object",
"properties": {
"status": {
"description": "Event lifecycle status.",
"type": "string",
"enum": [
"SCHEDULED",
"QUEUED",
"HOLD",
"SUCCESSFUL",
"FAILED",
"CANCELLED"
]
},
"source_id": {
"description": "Only events from this source id.",
"type": "string"
},
"destination_id": {
"description": "Only events for this destination id.",
"type": "string"
},
"search_term": {
"description": "Partial match on the body, headers, parsed query or path (3+ characters).",
"type": "string",
"minLength": 3
},
"limit": {
"description": "Results per page (default set by Hookdeck).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"next": {
"description": "Cursor from pagination.next of the previous page.",
"type": "string"
},
"prev": {
"description": "Cursor from pagination.prev of the previous page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_get_event(event_id)
Get one event by id: its status, destination, attempt count, last and next attempt times, and last response status. Hookdeck API: GET /events/{id}.
輸入結構描述
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The event id (from hookdeck_list_events)."
}
},
"required": [
"event_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴hookdeck_retry_event(event_id)
Retry delivery of one event to its destination now. This sends the payload again to the customer's endpoint, so use it only for an event the user chose to resend. Hookdeck API: POST /events/{id}/retry.
輸入結構描述
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The event id to retry (from hookdeck_list_events)."
}
},
"required": [
"event_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_list_requests(status, source_id, search_term, limit, next, ...)
List inbound requests: each webhook call Hookdeck received at a source, with accepted or rejected status and the event count it created. Hookdeck API: GET /requests.
輸入結構描述
{
"type": "object",
"properties": {
"status": {
"description": "Accepted or rejected at ingestion.",
"type": "string",
"enum": [
"accepted",
"rejected"
]
},
"source_id": {
"description": "Only requests received by this source id.",
"type": "string"
},
"search_term": {
"description": "Partial match on the body, headers, parsed query or path (3+ characters).",
"type": "string",
"minLength": 3
},
"limit": {
"description": "Results per page (default set by Hookdeck).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"next": {
"description": "Cursor from pagination.next of the previous page.",
"type": "string"
},
"prev": {
"description": "Cursor from pagination.prev of the previous page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_get_request(request_id)
Get one inbound request by id: its source, verification result, rejection cause and event count. Hookdeck API: GET /requests/{id}.
輸入結構描述
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "The request id (from hookdeck_list_requests)."
}
},
"required": [
"request_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_list_attempts(event_id, limit, next, prev)
List delivery attempts: each HTTP call Hookdeck made to a destination, with method, URL, response status and latency. Filter by event_id to see one event's history. Hookdeck API: GET /attempts.
輸入結構描述
{
"type": "object",
"properties": {
"event_id": {
"description": "Only attempts for this event id.",
"type": "string"
},
"limit": {
"description": "Results per page (default set by Hookdeck).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"next": {
"description": "Cursor from pagination.next of the previous page.",
"type": "string"
},
"prev": {
"description": "Cursor from pagination.prev of the previous page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_get_attempt(attempt_id)
Get one delivery attempt by id: requested URL, method, response status, error code and timing. Hookdeck API: GET /attempts/{id}.
輸入結構描述
{
"type": "object",
"properties": {
"attempt_id": {
"type": "string",
"description": "The attempt id (from hookdeck_list_attempts)."
}
},
"required": [
"attempt_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_list_issues(status, type, limit, next, prev)
List issues: grouped failures (delivery, transformation, backpressure or request) that need a person to look. Filter by status=OPENED for the open ones. Hookdeck API: GET /issues.
輸入結構描述
{
"type": "object",
"properties": {
"status": {
"description": "Issue status.",
"type": "string",
"enum": [
"OPENED",
"IGNORED",
"ACKNOWLEDGED",
"RESOLVED"
]
},
"type": {
"description": "Issue type.",
"type": "string",
"enum": [
"delivery",
"transformation",
"backpressure",
"request"
]
},
"limit": {
"description": "Results per page (default set by Hookdeck).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"next": {
"description": "Cursor from pagination.next of the previous page.",
"type": "string"
},
"prev": {
"description": "Cursor from pagination.prev of the previous page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_get_issue(issue_id)
Get one issue by id with its type, status and details. Hookdeck API: GET /issues/{id}.
輸入結構描述
{
"type": "object",
"properties": {
"issue_id": {
"type": "string",
"description": "The issue id (from hookdeck_list_issues)."
}
},
"required": [
"issue_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_list_transformations(name, limit, next, prev)
List transformations: the small JavaScript functions that reshape or filter events in flight. Hookdeck API: GET /transformations.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"description": "Filter by exact transformation name.",
"type": "string"
},
"limit": {
"description": "Results per page (default set by Hookdeck).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"next": {
"description": "Cursor from pagination.next of the previous page.",
"type": "string"
},
"prev": {
"description": "Cursor from pagination.prev of the previous page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hookdeck_get_transformation(transformation_id)
Get one transformation by id with its code and environment variable names. Hookdeck API: GET /transformations/{id}.
輸入結構描述
{
"type": "object",
"properties": {
"transformation_id": {
"type": "string",
"description": "The transformation id (from hookdeck_list_transformations)."
}
},
"required": [
"transformation_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡hookdeck_pause_connection(connection_id)
Pause a connection: Hookdeck stops delivering new events on it and queues them until it is unpaused. Reversible with hookdeck_unpause_connection. Hookdeck API: PUT /connections/{id}/pause.
輸入結構描述
{
"type": "object",
"properties": {
"connection_id": {
"type": "string",
"description": "The connection id to pause (from hookdeck_list_connections)."
}
},
"required": [
"connection_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡hookdeck_unpause_connection(connection_id)
Resume a paused connection so Hookdeck delivers its queued events again. Hookdeck API: PUT /connections/{id}/unpause.
輸入結構描述
{
"type": "object",
"properties": {
"connection_id": {
"type": "string",
"description": "The connection id to resume (from hookdeck_list_connections)."
}
},
"required": [
"connection_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社群
證據