Ghost MCP Server

by MFYDev
Verified

create_webhook

Set up a webhook in Ghost CMS by specifying the event and target URL. Optionally define integration ID, name, secret, and API version for custom configurations. Returns the created webhook or raises errors if parameters are missing or invalid.

Instructions

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" }
ID: vor63xn7ky