{"jsonrpc":"2.0","result":{"name":"ASCII Art Converter MCP","version":"2.1.0","protocol_version":"2025-03-26","capabilities":{"tools":{"listChanged":false}},"tools":[{"name":"convert_image","description":"Convert a base64-encoded image to ASCII art. Returns guidance for using the web UI or API, plus the parameters that would be applied.","inputSchema":{"type":"object","properties":{"image_base64":{"type":"string","description":"Base64-encoded image data (PNG, JPG, GIF, WebP)"},"resolution":{"type":"number","description":"Sampling resolution (0.05–0.30). Lower = more detail. Default 0.11","minimum":0.05,"maximum":0.3,"default":0.11},"charset":{"type":"string","description":"Character set name: standard, detailed, blocks, minimal, binary, matrix","enum":["standard","detailed","blocks","minimal","binary","matrix"],"default":"standard"},"grayscale":{"type":"boolean","description":"Use grayscale mode (true) or color mode (false). Default true","default":true},"inverted":{"type":"boolean","description":"Invert brightness mapping. Default false","default":false}},"required":[],"additionalProperties":false}},{"name":"get_health","description":"Get service health status including uptime, version, and dependency status.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"get_info","description":"Get comprehensive info about the ASCII converter — features, character sets, API endpoints, and PlatPhorm News network links.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"list_charsets","description":"List all available character sets for ASCII conversion, with their characters and descriptions.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"subscribe_webhook","description":"Register a webhook URL to receive event notifications (conversion.started, conversion.completed, conversion.failed, health.degraded, health.restored).","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"HTTPS URL to receive webhook POST payloads","format":"uri"},"events":{"type":"array","items":{"type":"string","enum":["conversion.started","conversion.completed","conversion.failed","health.degraded","health.restored"]},"description":"List of events to subscribe to. Defaults to all events."},"secret":{"type":"string","description":"Optional shared secret for HMAC-SHA256 signature verification"}},"required":["url"],"additionalProperties":false}},{"name":"list_webhooks","description":"List all registered webhooks and their status.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"register_site","description":"Register this ASCII Art Converter with the central MCP hub at mcp.platphormnews.com. Returns registration status and hub details.","inputSchema":{"type":"object","properties":{"force":{"type":"boolean","description":"Force re-registration even if already registered. Default false.","default":false}},"required":[],"additionalProperties":false}},{"name":"get_schema","description":"Fetch PlatPhorm Universal Schema Pack definitions.","inputSchema":{"type":"object","properties":{"schema_name":{"type":"string","enum":["core","realm","item","observability","agent","podcast","openapi"],"description":"Name of the schema to fetch (e.g., core, item, openapi)"}},"required":["schema_name"]}},{"name":"save_as_png","description":"Save ASCII art as a PNG image. Returns guidance on using the web UI Save .png button or the client-side canvas export workflow.","inputSchema":{"type":"object","properties":{"ascii_text":{"type":"string","description":"ASCII art text to render as a PNG image"},"font_size":{"type":"number","description":"Font size in pixels for rendering. Default 8","minimum":4,"maximum":48,"default":8},"background_color":{"type":"string","description":"Background color (CSS color string). Default \"black\"","default":"black"},"text_color":{"type":"string","description":"Text color (CSS color string). Default \"white\"","default":"white"}},"required":[],"additionalProperties":false}}],"server_info":{"url":"https://ascii.platphormnews.com","documentation":"https://ascii.platphormnews.com/docs","openapi":"https://ascii.platphormnews.com/api/docs","webhooks":"https://ascii.platphormnews.com/api/webhooks"},"hub":{"url":"https://mcp.platphormnews.com","docs":"https://mcp.platphormnews.com/api/docs","registered":false}}}