Skip to main content
Glama

Ghost MCP Server

get_auth_headers

Generate authenticated headers for Ghost API requests using a staff API key and specified version. Returns a dictionary with authorization and version headers for secure API interactions.

Instructions

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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MFYDev/ghost-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server