Development
Sube cualquier archivo binario e inspecciónalo como un volcado hex clásico con offset, bytes hex y columnas ASCII (solo lectura)
Llama a esta herramienta desde tu código en tres lenguajes.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/hex-editor' \
-F 'file=@/path/to/file.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/es/api/tools/hex-editor' \
-F 'file=/path/to/file.ext' \
-F 'bytesPerLine=16' \
-F 'maxBytes=65536' \
-F 'showASCII=true' \
-F 'uppercaseHex=true' \
-F 'highlightNull=false'Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.
POST https://api.elysiatools.com/es/api/tools/hex-editor| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| file | filesubida requerida | Sí | — |
| bytesPerLine | select | No | — |
| maxBytes | number | No | — |
| showASCII | checkbox | No | — |
| uppercaseHex | checkbox | No | — |
Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.
Añade este bloque a la configuración de tu cliente MCP:
{
"mcpServers": {
"elysiatools-hex-editor": {
"name": "hex-editor",
"description": "Sube cualquier archivo binario e inspecciónalo como un volcado hex clásico con offset, bytes hex y columnas ASCII (solo lectura)",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=hex-editor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Tras conectar al endpoint SSE, lista las herramientas expuestas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "hex-editor",
"arguments": {
"file": "https://example.com/file.ext",
"bytesPerLine": "16",
"maxBytes": 65536,
"showASCII": true,
"uppercaseHex": true,
"highlightNull": false
}
}
}| highlightNull | checkbox | No | — |
Resultado HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}¿Dudas o problemas? Contacta con [email protected]