Packeta MCP by usefulapi

Validate, create and cancel packets, and read their status and tracking in Packeta.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
100%
Calidad de los nombres
80%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~2,172Tokens (definiciones de herramientas)
~2.4 KBTamaño de respuesta típico
Impacto moderado en la atención (1.70% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "packeta": {
      "url": "https://packeta.usefulapi.io/mcp"
    }
  }
}

Puntos de conexión remotos

https://packeta.usefulapi.io/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (8)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢packeta_validate_packet(number, name, surname, company, email, ...)

Check packet data against Packeta's rules without creating anything. Use it before packeta_create_packet. Packeta API: packetAttributesValid.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "minLength": 1,
      "maxLength": 36,
      "pattern": "^[A-Za-z0-9]+$",
      "description": "Your order number: unique, 1 to 36 letters or digits."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32,
      "description": "Recipient first name."
    },
    "surname": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32,
      "description": "Recipient last name."
    },
    "company": {
      "description": "Recipient company.",
      "type": "string",
      "maxLength": 32
    },
    "email": {
      "description": "Recipient email. Give an email or a phone number.",
      "type": "string",
      "format": "email",
      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    },
    "phone": {
      "description": "Recipient phone in international form, e.g. +420777123456.",
      "type": "string"
    },
    "addressId": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Destination: a Packeta branch ID or an external carrier ID."
    },
    "currency": {
      "description": "ISO 4217 code of the COD and value, e.g. CZK.",
      "type": "string",
      "pattern": "^[A-Z]{3}$"
    },
    "cod": {
      "description": "Cash on delivery amount in the packet currency.",
      "type": "number",
      "minimum": 0
    },
    "value": {
      "type": "number",
      "minimum": 0,
      "description": "Packet value for insurance, in the packet currency."
    },
    "weight": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Weight in kg."
    },
    "deliverOn": {
      "description": "Scheduled delivery date, yyyy-mm-dd, within 14 days.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "eshop": {
      "description": "Sender indication, when the account has more than one sender.",
      "type": "string",
      "maxLength": 64
    },
    "note": {
      "description": "Sender note, shown on the label where the carrier supports it. No double quote or semicolon.",
      "type": "string",
      "maxLength": 128,
      "pattern": "^[^\";]*$"
    },
    "street": {
      "description": "Street, for home delivery.",
      "type": "string",
      "maxLength": 32
    },
    "houseNumber": {
      "description": "House number, for home delivery.",
      "type": "string",
      "maxLength": 16
    },
    "city": {
      "description": "City, for home delivery.",
      "type": "string",
      "maxLength": 32
    },
    "province": {
      "description": "Province or region.",
      "type": "string",
      "maxLength": 32
    },
    "zip": {
      "description": "ZIP code, for home delivery.",
      "type": "string",
      "maxLength": 16
    },
    "carrierService": {
      "description": "Comma-separated carrier services.",
      "type": "string",
      "maxLength": 128
    },
    "carrierPickupPoint": {
      "description": "Carrier pick-up point code, when the carrier needs one.",
      "type": "string",
      "maxLength": 32
    }
  },
  "required": [
    "number",
    "name",
    "surname",
    "addressId",
    "value",
    "weight"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢packeta_packet_status(packetId)

Get the current status of a packet: its state, whether it is returning to the sender, the last day it can be picked up, and its carrier. Packeta API: packetStatus.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "packetId": {
      "type": "string",
      "pattern": "^\\d{1,20}$",
      "description": "Packet ID, digits only (returned by packeta_create_packet)."
    }
  },
  "required": [
    "packetId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢packeta_packet_tracking(packetId)

Get the full tracking history of a packet, one record per status change. Packeta API: packetTracking.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "packetId": {
      "type": "string",
      "pattern": "^\\d{1,20}$",
      "description": "Packet ID, digits only (returned by packeta_create_packet)."
    }
  },
  "required": [
    "packetId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢packeta_packet_info(packetId)

Get a packet's destination branch, verified invoice weight, and courier consignment details (courier, courier numbers, barcodes), when there is one. Packeta API: packetInfo.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "packetId": {
      "type": "string",
      "pattern": "^\\d{1,20}$",
      "description": "Packet ID, digits only (returned by packeta_create_packet)."
    }
  },
  "required": [
    "packetId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢packeta_shipment_packets(shipmentId)

List the packets inside a shipment, given its D-code or B-code shipment ID. Packeta API: shipmentPackets.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "shipmentId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9-]{1,40}$",
      "description": "Shipment ID: a D-code or B-code, e.g. D-123456."
    }
  },
  "required": [
    "shipmentId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢packeta_return_routing(senderLabel)

Get the two return routing strings of a sender, to print on return labels. They change with account settings, so fetch them each time. Packeta API: senderGetReturnRouting.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "senderLabel": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Sender label of the account (the eshop indication)."
    }
  },
  "required": [
    "senderLabel"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴packeta_create_packet(number, name, surname, company, email, ...)

Create a packet in the customer's Packeta account and return its ID and barcode. This is a live action: the packet is registered at once and can be handed to a carrier. Run packeta_validate_packet first. Packeta API: createPacket.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "minLength": 1,
      "maxLength": 36,
      "pattern": "^[A-Za-z0-9]+$",
      "description": "Your order number: unique, 1 to 36 letters or digits."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32,
      "description": "Recipient first name."
    },
    "surname": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32,
      "description": "Recipient last name."
    },
    "company": {
      "description": "Recipient company.",
      "type": "string",
      "maxLength": 32
    },
    "email": {
      "description": "Recipient email. Give an email or a phone number.",
      "type": "string",
      "format": "email",
      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    },
    "phone": {
      "description": "Recipient phone in international form, e.g. +420777123456.",
      "type": "string"
    },
    "addressId": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Destination: a Packeta branch ID or an external carrier ID."
    },
    "currency": {
      "description": "ISO 4217 code of the COD and value, e.g. CZK.",
      "type": "string",
      "pattern": "^[A-Z]{3}$"
    },
    "cod": {
      "description": "Cash on delivery amount in the packet currency.",
      "type": "number",
      "minimum": 0
    },
    "value": {
      "type": "number",
      "minimum": 0,
      "description": "Packet value for insurance, in the packet currency."
    },
    "weight": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Weight in kg."
    },
    "deliverOn": {
      "description": "Scheduled delivery date, yyyy-mm-dd, within 14 days.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "eshop": {
      "description": "Sender indication, when the account has more than one sender.",
      "type": "string",
      "maxLength": 64
    },
    "note": {
      "description": "Sender note, shown on the label where the carrier supports it. No double quote or semicolon.",
      "type": "string",
      "maxLength": 128,
      "pattern": "^[^\";]*$"
    },
    "street": {
      "description": "Street, for home delivery.",
      "type": "string",
      "maxLength": 32
    },
    "houseNumber": {
      "description": "House number, for home delivery.",
      "type": "string",
      "maxLength": 16
    },
    "city": {
      "description": "City, for home delivery.",
      "type": "string",
      "maxLength": 32
    },
    "province": {
      "description": "Province or region.",
      "type": "string",
      "maxLength": 32
    },
    "zip": {
      "description": "ZIP code, for home delivery.",
      "type": "string",
      "maxLength": 16
    },
    "carrierService": {
      "description": "Comma-separated carrier services.",
      "type": "string",
      "maxLength": 128
    },
    "carrierPickupPoint": {
      "description": "Carrier pick-up point code, when the carrier needs one.",
      "type": "string",
      "maxLength": 32
    }
  },
  "required": [
    "number",
    "name",
    "surname",
    "addressId",
    "value",
    "weight"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴packeta_cancel_packet(packetId)

Cancel a packet that has not been physically handed over yet. The cancellation cannot be undone. Packeta API: cancelPacket.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "packetId": {
      "type": "string",
      "pattern": "^\\d{1,20}$",
      "description": "Packet ID, digits only (returned by packeta_create_packet)."
    }
  },
  "required": [
    "packetId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada8 herramientas