Connect a desktop or CLI client
Desktop and command-line assistants — Claude Desktop, Claude Code, Codex, and custom agents — connect to Assemblified 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”- An active Assemblified subscription (LLM / API Access is in open beta).
- 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 / API Access page in the Connect your LLM card; it ends in /mcp:
POST https://<your-assemblified-app-url>/mcpAuthorization: Bearer asmk_…You give your assistant two things: this URL and your API key (the asmk_… 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 / API Access page. - Set the authorization to a bearer token and paste your
asmk_…key. - Save. Your assistant should now list Assemblified’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 raw materials.” Behind the scenes it calls the run tool with a short program:
run("return await app.rawMaterials.list({});")If it comes back with your real materials, 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.
- Build and stock BOMs from your catalog via the API — the end-to-end assistant workflow.