{"schemaVersion":"2025-03-26","name":"deascii-mcp","version":"1.0.0","description":"de-ASCII — reconstruct images from ASCII art.","vendor":"PlatPhorm News","homepage":"https://deascii.platphormnews.com","documentation":"https://deascii.platphormnews.com/docs","transport":{"type":"http","url":"https://deascii.platphormnews.com/api/mcp","method":"POST","contentType":"application/json"},"capabilities":{"tools":{"listChanged":false},"resources":{"subscribe":false,"listChanged":false},"prompts":{"listChanged":false}},"authentication":{"type":"none","note":"Public tools are open. Protected operations use PLATPHORM_API_KEY via Authorization: Bearer."},"tools":[{"name":"reconstruct_image","description":"Reconstruct a bounded PNG image from arbitrary pasted ASCII, ANSI terminal art, Unicode Braille/block/box art, or ASCII converter output. Colored sources reconstruct to color; monochrome sources reconstruct to grayscale or deterministic colorization by glyph density. Hybrid/glyph modes preserve bitmap text, digits, Braille dots, box glyphs, and icon texture.","inputSchema":{"type":"object","required":["ascii"],"properties":{"ascii":{"type":"string","description":"ASCII / ANSI art text"},"charset":{"type":"string","enum":["auto","standard","detailed","blocks","minimal","braille"],"default":"auto","description":"Character ramp the ASCII was produced with"},"cellSize":{"type":"number","minimum":1,"maximum":32,"default":10},"smoothing":{"type":"number","minimum":0,"maximum":6,"default":3},"renderMode":{"type":"string","enum":["tonal","hybrid","glyph"],"default":"tonal","description":"Use tonal for best-match raster output; use hybrid/glyph for text, digits, signs, code, labels, and icon texture."},"background":{"type":"number","minimum":0,"maximum":1,"default":0},"contrast":{"type":"number","minimum":0.25,"maximum":2,"default":1.08},"sharpen":{"type":"number","minimum":0,"maximum":2,"default":0.3},"colorize":{"type":"object","description":"Optional deterministic colorization for monochrome ASCII.","properties":{"mode":{"type":"string","enum":["none","smart","palette","portrait","cool","warm"],"default":"smart"},"strength":{"type":"number","minimum":0,"maximum":1,"default":0.88},"palette":{"type":"array","items":{}}}},"inverted":{"type":"boolean","default":false},"autoFitOutput":{"type":"boolean","default":true},"adaptiveQuality":{"type":"boolean","default":true}}}},{"name":"reconstruct_from_ascii_service","description":"Call the trusted ASCII converter at ascii.platphormnews.com using JSON or NDJSON streaming transport, then reconstruct the resulting ASCII as a PNG image.","inputSchema":{"type":"object","required":["asciiRequest"],"properties":{"transport":{"type":"string","enum":["json","stream"],"default":"stream"},"asciiRequest":{"type":"object","description":"Request body for ascii.platphormnews.com/api/convert or /api/convert/stream. Stream requests default includeColorGrid=true unless explicitly set false."},"cellSize":{"type":"number","minimum":1,"maximum":32,"default":10},"cellAspect":{"type":"number","minimum":0.25,"maximum":4,"default":2},"renderMode":{"type":"string","enum":["tonal","hybrid","glyph"],"default":"tonal"},"autoFitOutput":{"type":"boolean","default":true}}}},{"name":"get_health","description":"Health check with uptime, version, and service status.","inputSchema":{"type":"object","properties":{}}},{"name":"get_info","description":"Get info about de-ASCII — features, character sets, endpoints, and network links.","inputSchema":{"type":"object","properties":{}}},{"name":"list_charsets","description":"List all available character sets with descriptions.","inputSchema":{"type":"object","properties":{}}},{"name":"subscribe_webhook","description":"Register a webhook URL to receive event notifications (reconstruction, health events). Requires PLATPHORM_API_KEY.","inputSchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Webhook callback URL"},"events":{"type":"array","items":{"type":"string"}}}}},{"name":"list_webhooks","description":"List currently registered webhooks.","inputSchema":{"type":"object","properties":{}}},{"name":"register_site","description":"Register this site with the central PlatPhorm MCP Hub. Requires PLATPHORM_API_KEY.","inputSchema":{"type":"object","properties":{}}}],"resources":[{"uri":"deascii://service/info","name":"Service info","description":"de-ASCII service metadata, endpoints, and network links.","mimeType":"application/json"},{"uri":"deascii://charsets","name":"Character sets","description":"Supported character ramps and descriptions.","mimeType":"application/json"},{"uri":"deascii://reconstruction/options","name":"Reconstruction options","description":"Deterministic renderer controls, bounds, and defaults.","mimeType":"application/json"},{"uri":"deascii://ai/status","name":"AI enhancement status","description":"Public-safe AI enhancement model and auth readiness.","mimeType":"application/json"},{"uri":"deascii://network/integration","name":"Network integration","description":"PlatPhorm root graph, MCP gateway, and ASCII sibling integration endpoints.","mimeType":"application/json"}],"prompts":[{"name":"reconstruct-from-ascii","description":"Prepare a high-fidelity de-ASCII reconstruction request.","arguments":[{"name":"ascii","description":"ASCII or ANSI art to reconstruct.","required":true},{"name":"intent","description":"Desired output emphasis, such as crisp icon, poster, or photo.","required":false}]}]}