Skip to content

Connect a desktop or CLI client

Desktop and command-line assistants — Claude Desktop, Claude Code, Codex, and custom agents — connect to Logistified with an API key sent as a bearer token. (Web-chat apps like claude.ai and ChatGPT connect differently — see Connect claude.ai or ChatGPT.)

  • What you need
  • The endpoint
  • Connecting your assistant
  • Trying it out
  • AI / Agent access (it’s in open beta — enabled for every store on any plan).
  • An API key you’ve already created and copied.
  • An MCP-capable assistant that lets you add a custom MCP server with a bearer token.

Your store has a single MCP endpoint. The exact URL is shown on the LLM / Agent Access page in the Connect your LLM card; it ends in /mcp:

POST https://<your-logistified-app-url>/mcp
Authorization: Bearer lstk_…

You give your assistant two things: this URL and your API key (the lstk_… value) as the bearer token.

The exact steps depend on the app, but the shape is always the same:

  1. In your assistant, add a custom MCP server (sometimes called a “connector” or “tool server”).
  2. Set the server URL to the /mcp endpoint shown on the LLM / Agent Access page.
  3. Set the authorization to a bearer token and paste your lstk_… key.
  4. Save. Your assistant should now list Logistified’s tools — the main one is run.

Once connected, ask your assistant a question in plain language, such as “List my open purchase orders.” Behind the scenes it calls the run tool with a short program:

run("return await app.purchaseOrders.list({ status: 'open' });")

If it comes back with your real purchase orders, you’re connected. If you get an authorization error, the key may be wrong or revoked — create a fresh key and try again.