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.

Shiplogic MCP サーバー

Shiplogic Shipping APIとのシームレスな統合を実現するModel Context Protocol(MCP)サーバー。MCP SDKとTypeScriptを使用して構築されており、型安全性と優れた開発者エクスペリエンスを実現します。

デモ

# 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

特徴

  • 🚚配送料を取得- 住所間の配送料を計算します
  • 📦出荷を作成- 自動追跡で出荷を予約
  • 🔍荷物の追跡- リアルタイムの配送追跡
  • 出荷のキャンセル- 必要に応じて予約をキャンセル
  • オプションサービス- 特別サービスの追加料金にアクセス
  • 📚アドレス帳管理- よく使うアドレスを保存して管理します

インストール

前提条件

  • Node.js 18歳以上
  • npmまたはyarn
  • Shiplogic API キー ( shiplogic.comで取得)

クイックスタート

  1. クローンしてインストール:
git clone https://github.com/jlwainwright/shiplogic-mcp.git cd shiplogic-mcp npm install
  1. 環境を構成する:
cp .env.example .env # Edit .env and add your Shiplogic API key
  1. サーバーを構築します。
npm run build

使用法

クロード・デスクトップ

Claude Desktop の構成にこれを追加します:

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

MCPインスペクターを使用

MCP Inspector を使用してサーバーをテストします。

npm run inspect

スタンドアロン

サーバーを直接実行します。

npm run dev

利用可能なツール

get_shipping_rates

2 つの住所間の配送料を計算します。

{ 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

追跡付きの新しい出荷を作成します。

{ 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

参照番号で出荷を追跡します。

{ tracking_number: string }

cancel_shipment

既存の出荷をキャンセルします。

{ tracking_reference: string }

get_opt_in_rates

オプションの追加サービス料金を取得します。

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

add_address_to_book

アカウントのアドレス帳にアドレスを追加します。

{ 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

アカウントのアドレス帳からアドレスを取得します。

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

remove_address_from_book

アカウントのアドレス帳からアドレスを削除します。

{ account_id: number, address_id: number }

構成

環境変数:

変数説明必須デフォルト
SHIPLOGIC_API_KEYShiplogic APIキーはい-
SHIPLOGIC_API_URLAPI ベース URLいいえhttps://api.shiplogic.com

発達

プロジェクト構造

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

スクリプト

  • npm run build - TypeScript をコンパイルする
  • npm run dev - ビルドして実行
  • npm run inspect - MCP Inspector で実行

テスト

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

APIリファレンス

このサーバーはShiplogic API v2と統合されています。詳細なAPIドキュメントについては、以下をご覧ください。

ライセンス

MITライセンス - LICENSEファイルを参照

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成します( git checkout -b feature/amazing-feature
  3. 変更をコミットする ( git commit -m 'Add amazing feature' )
  4. ブランチにプッシュする ( git push origin feature/amazing-feature )
  5. プルリクエストを開く

サポート

このプロジェクトが役に立つと思われた方は、ぜひ私の活動へのご支援をご検討ください。皆様のご支援は、私がオープンソース開発により多くの時間を費やし、コミュニティのためにより良いツールを開発する助けとなります。

謝辞


ジャック・ウェインライトが❤️を込めて作りました

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.

Shiplogic 配送 API とのシームレスな統合を提供し、配送料の計算、出荷の作成、パッケージの追跡、配送業務のプログラムによる管理を可能にする MCP サーバーです。

  1. デモ
    1. 特徴
      1. インストール
        1. 前提条件
        2. クイックスタート
      2. 使用法
        1. クロード・デスクトップ
        2. MCPインスペクターを使用
        3. スタンドアロン
      3. 利用可能なツール
        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. 構成
        1. 発達
          1. プロジェクト構造
          2. スクリプト
          3. テスト
        2. APIリファレンス
          1. ライセンス
            1. 貢献
              1. サポート
                1. 謝辞

                  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