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.)
On this page
Section titled “On this page”- What you need
- The endpoint
- Connecting your assistant
- Trying it out
What you need
Section titled “What you need”- 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.
The endpoint
Section titled “The endpoint”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>/mcpAuthorization: Bearer lstk_…You give your assistant two things: this URL and your API key (the lstk_… value) as the bearer token.
Connecting your assistant
Section titled “Connecting your assistant”The exact steps depend on the app, but the shape is always the same:
- In your assistant, add a custom MCP server (sometimes called a “connector” or “tool server”).
- Set the server URL to the
/mcpendpoint shown on the LLM / Agent Access page. - Set the authorization to a bearer token and paste your
lstk_…key. - Save. Your assistant should now list Logistified’s tools — the main one is
run.
Trying it out
Section titled “Trying it out”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.
See also
Section titled “See also”- API keys — creating and revoking the key you paste here.
- What the assistant can read — the full list of data it can reach.