Integration

Model Context Protocol

de-ASCII exposes tools, resources, and prompts so agents can reconstruct images from ASCII art directly. It speaks JSON-RPC 2.0 over HTTP at /api/mcp and is registered on the PlatPhorm MCP Hub.

Endpoint

https://deascii.platphormnews.com/api/mcp

Descriptor

https://deascii.platphormnews.com/.well-known/mcp.json

Client configuration

Add de-ASCII to any MCP-compatible client (Claude Desktop, Cursor, etc.):

mcp.json
{
  "mcpServers": {
    "de-ascii": {
      "type": "http",
      "url": "https://deascii.platphormnews.com/api/mcp"
    }
  }
}

List capabilities

curl
curl -X POST https://deascii.platphormnews.com/api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

curl -X POST https://deascii.platphormnews.com/api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"resources/list"}'

curl -X POST https://deascii.platphormnews.com/api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":3,"method":"prompts/list"}'

Available tools

reconstruct_image

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.

reconstruct_from_ascii_service

Call the trusted ASCII converter at ascii.platphormnews.com using JSON or NDJSON streaming transport, then reconstruct the resulting ASCII as a PNG image.

get_health

Health check with uptime, version, and service status.

get_info

Get info about de-ASCII — features, character sets, endpoints, and network links.

list_charsets

List all available character sets with descriptions.

subscribe_webhook

Register a webhook URL to receive event notifications (reconstruction, health events). Requires PLATPHORM_API_KEY.

list_webhooks

List currently registered webhooks.

register_site

Register this site with the central PlatPhorm MCP Hub. Requires PLATPHORM_API_KEY.

Resources

deascii://service/info

de-ASCII service metadata, endpoints, and network links.

deascii://charsets

Supported character ramps and descriptions.

deascii://reconstruction/options

Deterministic renderer controls, bounds, and defaults.

deascii://ai/status

Public-safe AI enhancement model and auth readiness.

deascii://network/integration

PlatPhorm root graph, MCP gateway, and ASCII sibling integration endpoints.

Prompts

reconstruct-from-ascii

Prepare a high-fidelity de-ASCII reconstruction request.

Call a tool

curl
curl -X POST https://deascii.platphormnews.com/api/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/call",
    "params": {
      "name": "reconstruct_image",
      "arguments": { "ascii": " .:-=+*#%@", "charset": "auto" }
    }
  }'