Peecho MCP by usefulapi

Read print products, quotes and orders; create orders, set print files and addresses in Peecho.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
88%
Qualität der Benennung
80%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~2,429Tokens (Tool-Definitionen)
~1.9 KBTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (1.90% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

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

Remote-Endpunkte

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

Was es kann

Tool-Inventar

Tools (10)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢peecho_list_categories

List Peecho product categories and their sub-category codes (for example Books / HC). Use a sub-category code with peecho_list_offerings. Peecho API: GET /rest/v3/categories.

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢peecho_list_offerings(subCategoryFilter)

List the print products (offerings) available to this merchant, grouped by category code. Each offering has an id, name, paper type and minimum quantity. Peecho API: GET /rest/v3/offering/list.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "subCategoryFilter": {
      "description": "Sub-category code from peecho_list_categories, e.g. HC (hardcover books).",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢peecho_get_offering_countries(offering_ids)

Return the countries each offering can ship to. Read-only. Peecho API: POST /rest/v3/offering/countries.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "offering_ids": {
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "integer",
        "exclusiveMinimum": 0,
        "maximum": 9007199254740991,
        "description": "Offering id (the id field from peecho_list_offerings)."
      },
      "description": "Offering ids to check."
    }
  },
  "required": [
    "offering_ids"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢peecho_get_offering_spine(offering_id, country_code, number_of_pages)

Calculate the spine width (in millimetres) an offering needs for a page count in a country. Read-only. Peecho API: GET /rest/v3/offering/spine.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "offering_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Offering id (the id field from peecho_list_offerings)."
    },
    "country_code": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "description": "ISO 3166-1 alpha-2 country code, e.g. NL."
    },
    "number_of_pages": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Number of pages in the print file."
    }
  },
  "required": [
    "offering_id",
    "country_code",
    "number_of_pages"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢peecho_request_quote(items, country_code, state, currency)

Return prices, currency and shipping for items sent to a destination. It does not create an order. Peecho API: POST /rest/v3/quote.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "items": {
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "offering_id": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "Offering id (the id field from peecho_list_offerings)."
          },
          "number_of_pages": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "quantity": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "offering_id",
          "number_of_pages",
          "quantity"
        ]
      }
    },
    "country_code": {
      "description": "Destination country code.",
      "type": "string",
      "pattern": "^[A-Za-z]{2}$"
    },
    "state": {
      "description": "Destination state or region code, where needed.",
      "type": "string"
    },
    "currency": {
      "description": "ISO 4217 currency, e.g. EUR.",
      "type": "string",
      "pattern": "^[A-Za-z]{3}$"
    }
  },
  "required": [
    "items"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢peecho_get_order(order_id)

Get an order's state (for example OPEN or PAID), price data, shipping address and items. Read-only. Peecho API: GET /rest/v3/order/details.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "order_id": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "The order id (from peecho_create_order or the Peecho dashboard)."
    }
  },
  "required": [
    "order_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢peecho_get_order_spine(order_id)

Return the spine width for each item in an order. Read-only. Peecho API: GET /rest/v3/order/spine/.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "order_id": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "The order id (from peecho_create_order or the Peecho dashboard)."
    }
  },
  "required": [
    "order_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴peecho_create_order(purchase_order, currency, item_details, address_details)

WRITE: create an OPEN print order with one or more items. It does not pay for the order, and nothing is printed until it is paid in Peecho. Items need a unique item_reference. Peecho API: POST /rest/v3/order/.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "purchase_order": {
      "description": "Your own purchase order reference.",
      "type": "string"
    },
    "currency": {
      "type": "string",
      "pattern": "^[A-Za-z]{3}$",
      "description": "ISO 4217 currency, e.g. EUR."
    },
    "item_details": {
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "item_reference": {
            "type": "string",
            "minLength": 1,
            "description": "Your own reference for this item. It must be unique across Peecho orders."
          },
          "offering_id": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "Offering id (the id field from peecho_list_offerings)."
          },
          "quantity": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "file_details": {
            "description": "The print file. Omit it and send the file later with peecho_set_order_files.",
            "type": "object",
            "properties": {
              "content_url": {
                "type": "string",
                "format": "uri",
                "description": "Public URL of the print file (PDF)."
              },
              "content_width": {
                "description": "Print width in millimetres (the Peecho example uses 210).",
                "type": "number",
                "exclusiveMinimum": 0
              },
              "content_height": {
                "description": "Print height in millimetres (the Peecho example uses 210).",
                "type": "number",
                "exclusiveMinimum": 0
              },
              "number_of_pages": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "content_url",
              "number_of_pages"
            ]
          }
        },
        "required": [
          "item_reference",
          "offering_id",
          "quantity"
        ]
      }
    },
    "address_details": {
      "description": "Customer and shipping address. Set it later with peecho_update_order_address if omitted.",
      "type": "object",
      "properties": {
        "email_address": {
          "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,}$"
        },
        "shipping_address": {
          "type": "object",
          "properties": {
            "first_name": {
              "type": "string",
              "minLength": 1
            },
            "last_name": {
              "type": "string",
              "minLength": 1
            },
            "address_line_1": {
              "type": "string",
              "minLength": 1
            },
            "address_line_2": {
              "type": "string"
            },
            "zip_code": {
              "type": "string",
              "minLength": 1
            },
            "city": {
              "type": "string",
              "minLength": 1
            },
            "state": {
              "description": "State or region code, where the country uses one.",
              "type": "string"
            },
            "country_code": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$",
              "description": "ISO 3166-1 alpha-2 country code, e.g. NL."
            }
          },
          "required": [
            "first_name",
            "last_name",
            "address_line_1",
            "zip_code",
            "city",
            "country_code"
          ]
        }
      },
      "required": [
        "email_address",
        "shipping_address"
      ]
    }
  },
  "required": [
    "currency",
    "item_details"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡peecho_update_order_address(order_id, address_details)

WRITE: replace the customer email and shipping address on an open order. Peecho API: POST /rest/v3/order/address.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "order_id": {
      "type": "string",
      "pattern": "^\\d+$",
      "description": "The order id (from peecho_create_order or the Peecho dashboard)."
    },
    "address_details": {
      "type": "object",
      "properties": {
        "email_address": {
          "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,}$"
        },
        "shipping_address": {
          "type": "object",
          "properties": {
            "first_name": {
              "type": "string",
              "minLength": 1
            },
            "last_name": {
              "type": "string",
              "minLength": 1
            },
            "address_line_1": {
              "type": "string",
              "minLength": 1
            },
            "address_line_2": {
              "type": "string"
            },
            "zip_code": {
              "type": "string",
              "minLength": 1
            },
            "city": {
              "type": "string",
              "minLength": 1
            },
            "state": {
              "description": "State or region code, where the country uses one.",
              "type": "string"
            },
            "country_code": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$",
              "description": "ISO 3166-1 alpha-2 country code, e.g. NL."
            }
          },
          "required": [
            "first_name",
            "last_name",
            "address_line_1",
            "zip_code",
            "city",
            "country_code"
          ]
        }
      },
      "required": [
        "email_address",
        "shipping_address"
      ]
    }
  },
  "required": [
    "order_id",
    "address_details"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡peecho_set_order_files(files)

WRITE: send the print file URL for each item of an order. Each merchant_item_reference must match an item_reference of the order. Peecho API: POST /rest/v3/order/files.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "files": {
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "merchant_item_reference": {
            "type": "string",
            "minLength": 1,
            "description": "The item_reference of the order item."
          },
          "source_file": {
            "type": "string",
            "format": "uri",
            "description": "Public URL of the print file (PDF)."
          }
        },
        "required": [
          "merchant_item_reference",
          "source_file"
        ]
      }
    }
  },
  "required": [
    "files"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet10 Tools