Shiplogic MCP Server

by jlwainwright

Integrations

  • Used for environment variable configuration with a .env file.

  • Provides a support link in the README, allowing users to financially support the developer of the MCP server.

  • Can be used to test the server's API endpoints during development.

Servidor MCP de Shiplogic

Un servidor de Protocolo de Contexto de Modelo (MCP) que proporciona una integración fluida con la API de envío de Shiplogic. Desarrollado con el SDK de MCP y TypeScript para garantizar la seguridad de tipos y una mejor experiencia para el desarrollador.

Manifestación

# Example conversation with Claude: User: "Get shipping rates from Cape Town to Johannesburg for a 2.5kg parcel" Claude: "I'll check shipping rates for you..." [Using tool: get_shipping_rates] Result: Economy service - R95 (2-3 days delivery) User: "Book the economy service" Claude: "Creating shipment..." [Using tool: create_shipment] Result: Shipment created! Tracking: QR4FVL

Características

  • 🚚 Obtener tarifas de envío - Calcular los costos de envío entre direcciones
  • 📦 Crear envíos - Reserva envíos con seguimiento automático
  • 🔍 Seguimiento de paquetes : seguimiento de envíos en tiempo real
  • Cancelar envíos - Cancelar reservas cuando sea necesario
  • Servicios opcionales - Accede a tarifas adicionales para servicios especiales
  • 📚 Gestión de la libreta de direcciones : almacene y administre las direcciones utilizadas con frecuencia

Instalación

Prerrequisitos

  • Node.js 18+
  • npm o hilo
  • Clave API de Shiplogic (obtenga una en shiplogic.com )

Inicio rápido

  1. Clonar e instalar:
git clone https://github.com/jlwainwright/shiplogic-mcp.git cd shiplogic-mcp npm install
  1. Configurar el entorno:
cp .env.example .env # Edit .env and add your Shiplogic API key
  1. Construir el servidor:
npm run build

Uso

Con Claude Desktop

Añade esto a tu configuración de Claude Desktop:

{ "mcpServers": { "shiplogic": { "command": "node", "args": ["/absolute/path/to/shiplogic-mcp/dist/index.js"], "env": { "SHIPLOGIC_API_KEY": "your_api_key_here" } } } }

Con MCP Inspector

Pruebe el servidor usando el Inspector MCP:

npm run inspect

Autónomo

Ejecute el servidor directamente:

npm run dev

Herramientas disponibles

get_shipping_rates

Calcular tarifas de envío entre dos direcciones.

{ collection_address: { street_address: string, city: string, code: string, country?: string, type?: "residential" | "business" }, delivery_address: { street_address: string, city: string, code: string, country?: string, type?: "residential" | "business" }, parcels: [{ length: number, // cm width: number, // cm height: number, // cm weight: number, // kg description?: string }], declared_value?: number }

create_shipment

Crear un nuevo envío con seguimiento.

{ service_level_code: string, // e.g., "ECO" collection_address: { /* same as above */ }, delivery_address: { /* same as above */ }, parcels: [{ /* same as above */ }], collection_contact: { name: string, mobile_number?: string, email?: string }, delivery_contact: { name: string, mobile_number?: string, email?: string }, customer_reference?: string, mute_notifications?: boolean }

track_shipment

Rastrear un envío por número de referencia.

{ tracking_number: string }

cancel_shipment

Cancelar un envío existente.

{ tracking_reference: string }

get_opt_in_rates

Obtenga tarifas de servicios complementarios opcionales.

{ collection_address: { /* address object */ }, delivery_address: { /* address object */ } }

add_address_to_book

Agregar una dirección a la libreta de direcciones de la cuenta.

{ account_id: number, address: { street_address: string, city: string, code: string, country?: string, type?: "residential" | "business", company?: string }, name?: string, // Name for this address entry type?: "collection" | "delivery" // Address type }

get_address_book

Recuperar direcciones de la libreta de direcciones de la cuenta.

{ account_id: number, type?: "collection" | "delivery" // Optional filter by type }

remove_address_from_book

Eliminar una dirección de la libreta de direcciones de la cuenta.

{ account_id: number, address_id: number }

Configuración

Variables de entorno:

VariableDescripciónRequeridoPor defecto
SHIPLOGIC_API_KEYSu clave API de Shiplogic-
SHIPLOGIC_API_URLURL base de la APINohttps://api.shiplogic.com

Desarrollo

Estructura del proyecto

shiplogic-mcp-official/ ├── src/ │ └── index.ts # Main server implementation ├── dist/ # Compiled JavaScript (generated) ├── package.json ├── tsconfig.json ├── .env.example └── README.md

Guiones

  • npm run build - Compilar TypeScript
  • npm run dev - Construir y ejecutar
  • npm run inspect - Ejecutar con MCP Inspector

Pruebas

# Run with MCP Inspector npm run inspect # In another terminal, test the tools curl -X POST http://localhost:3000/tools/list

Referencia de API

Este servidor se integra con la API de Shiplogic v2. Para obtener documentación detallada de la API, consulte:

Licencia

Licencia MIT - ver archivo LICENCIA

Contribuyendo

  1. Bifurcar el repositorio
  2. Crea tu rama de funciones ( git checkout -b feature/amazing-feature )
  3. Confirmar cambios ( git commit -m 'Add amazing feature' )
  4. Empujar a la rama ( git push origin feature/amazing-feature )
  5. Abrir una solicitud de extracción

Apoyo

Si este proyecto te resulta útil, considera apoyar mi trabajo. Tu apoyo me ayuda a dedicar más tiempo al desarrollo de código abierto y a crear mejores herramientas para la comunidad.

Expresiones de gratitud


Hecho con ❤️ por Jacques Wainwright

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Un servidor MCP que proporciona una integración perfecta con la API de envío de Shiplogic para calcular tarifas de envío, crear envíos, rastrear paquetes y administrar operaciones de envío mediante programación.

  1. Manifestación
    1. Características
      1. Instalación
        1. Prerrequisitos
        2. Inicio rápido
      2. Uso
        1. Con Claude Desktop
        2. Con MCP Inspector
        3. Autónomo
      3. Herramientas disponibles
        1. get_shipping_rates
        2. create_shipment
        3. track_shipment
        4. cancel_shipment
        5. get_opt_in_rates
        6. add_address_to_book
        7. get_address_book
        8. remove_address_from_book
      4. Configuración
        1. Desarrollo
          1. Estructura del proyecto
          2. Guiones
          3. Pruebas
        2. Referencia de API
          1. Licencia
            1. Contribuyendo
              1. Apoyo
                1. Expresiones de gratitud

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    An unofficial MCP server that provides an interface to access the Autumn pricing API for managing customers, entitlements, invoices, and generating billing portal links.
                    Last updated -
                    5
                    TypeScript
                    MIT License
                  • A
                    security
                    F
                    license
                    A
                    quality
                    An MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.
                    Last updated -
                    39
                    26
                    • Apple
                  • A
                    security
                    F
                    license
                    A
                    quality
                    A comprehensive Model Context Protocol server that enables users to interact with the ShipStation API for managing orders, shipments, carriers, warehouses, products, customers, stores, webhooks, and fulfillments through structured tools.
                    Last updated -
                    39
                    JavaScript
                  • A
                    security
                    F
                    license
                    A
                    quality
                    A comprehensive server that enables interaction with the ShipHero API through the Model Context Protocol, providing tools for managing orders, products, inventory, shipping, warehouses, vendors, and webhooks.
                    Last updated -
                    29
                    JavaScript

                  View all related MCP servers

                  ID: 1twa0wqawt