Listed from the MCP registry; nobody on Odel publishes it.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y sharkpos-mcp
MCP client config
{
"mcpServers": {
"sharkpos-api-emitir-dte-del-sii": {
"command": "npx",
"args": [
"-y",
"sharkpos-mcp"
]
}
}
}Ejemplos para emitir boletas y facturas electrónicas del SII (Chile) desde tu sistema con SharkPOS API: recibes JSON, nosotros firmamos el XML, timbramos con el CAF, lo enviamos al SII y te avisamos el resultado.
| Carpeta | Qué hay | Guía |
|---|---|---|
python/ | SDK sharkpos (sin dependencias) y el ejemplo suelto boleta.py | Python |
node/ | SDK sharkpos (ESM, tipos, fetch nativo, Node 18+) y el ejemplo boleta.mjs | Node |
php/ | Cliente de un archivo SharkposClient.php (cURL) y ejemplos de cURL y Laravel | PHP |
postman/ | Colección Postman generada desde el OpenAPI (generar.py) | |
mcp/ | Servidor MCP para que agentes de IA emitan, consulten y verifiquen | |
claude-code/ | Skill para que Claude Code integre la API siguiendo las reglas oficiales | Con Claude Code |
export SHARKPOS_API_KEY=... y ejecuta el ejemplo de tu lenguaje. La base URL de pruebas es
https://sandbox.sharkpos.cl.Para emitir de verdad contratas tu RUT en https://api.sharkpos.cl/contratar/: $5.990 al mes por RUT, IVA incluido. ¿Tu software emite por muchos clientes? Mira https://api.sharkpos.cl/integradores/.
Los tres clientes hacen lo mismo: Bearer, Idempotency-Key, reintentos con backoff ante 429/5xx/red, errores con
code, message y solution. Todos los ejemplos usan el sandbox (sandbox=True); quítalo para producción.
Python (pip install ./python)
from sharkpos import SharkposClient
client = SharkposClient(sandbox=True) # lee SHARKPOS_API_KEY
boleta = client.emit_boleta({"amount_total": 3000, "items": [{"name": "Café", "qty": 2, "price": 1500}]}, idempotency_key="venta-884")
print(boleta["folio"], client.get_document(boleta["dte_id"])["public_status"])
Node / TypeScript (npm install ./node)
import { SharkposClient } from "sharkpos";
const client = new SharkposClient({ sandbox: true }); // lee SHARKPOS_API_KEY
const boleta = await client.emitBoleta({ amount_total: 3000, items: [{ name: "Café", qty: 2, price: 1500 }] }, "venta-884");
console.log(boleta.folio, (await client.getDocument(boleta.dte_id)).public_status);
PHP (copia php/SharkposClient.php)
require 'SharkposClient.php';
$client = new SharkposClient(null, true); // lee SHARKPOS_API_KEY, true = sandbox
$boleta = $client->emitirBoleta(['amount_total' => 3000, 'items' => [['name' => 'Café', 'qty' => 2, 'price' => 1500]]], 'venta-884');
echo $boleta['folio'], ' ', $client->estado($boleta['dte_id'])['public_status'];
Agentes de IA: el servidor MCP de mcp/ expone la API como herramientas; ver mcp/README.md.
Idempotency-Key estable por venta. Ante error de red, 5xx o 429, reintenta con la misma clave y el mismo body.code y solution dicen qué hacer).Licencia MIT.