Ghost MCP Server

by MFYDev
Verified

create_webhook

Create a new webhook in Ghost.

Args: event: Event to trigger the webhook (required) target_url: URL to send the webhook to (required) integration_id: ID of the integration (optional - only needed for user authentication) name: Name of the webhook (optional) secret: Secret for the webhook (optional) api_version: API version for the webhook (optional) ctx: Optional context for logging Returns: String representation of the created webhook Raises: GhostError: If the Ghost API request fails ValueError: If required parameters are missing or invalid

Input Schema

NameRequiredDescriptionDefault
api_versionNo
eventYes
integration_idNo
nameNo
secretNo
target_urlYes

Input Schema (JSON Schema)

{ "properties": { "api_version": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Api Version" }, "event": { "title": "Event", "type": "string" }, "integration_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Integration Id" }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Name" }, "secret": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Secret" }, "target_url": { "title": "Target Url", "type": "string" } }, "required": [ "event", "target_url" ], "title": "create_webhookArguments", "type": "object" }