Ghost MCP Server

by MFYDev
Verified

get_auth_headers

Get authenticated headers for Ghost API requests.

Args: staff_api_key: API key in 'id:secret' format api_version: Ghost API version to use (default: v5.109) Returns: Dictionary of request headers including authorization and version Example: >>> headers = await get_auth_headers("1234:abcd5678") >>> headers { 'Authorization': 'Ghost eyJ0eXAiOiJKV1...', 'Accept-Version': 'v5.109' }

Input Schema

NameRequiredDescriptionDefault
api_versionNov5.109
staff_api_keyYes

Input Schema (JSON Schema)

{ "properties": { "api_version": { "default": "v5.109", "title": "Api Version", "type": "string" }, "staff_api_key": { "title": "Staff Api Key", "type": "string" } }, "required": [ "staff_api_key" ], "title": "get_auth_headersArguments", "type": "object" }