Distru documentation
How to connect your software and AI tools to Distru, the ERP for the cannabis supply chain.
These docs are for anyone connecting something to Distru. There are two ways in, the MCP server and the API, and you don't need both.
MCP server
Connect Claude, ChatGPT or another AI tool, so it can look things up and get work done in Distru. No code needed.
API
Build your own integration, such as syncing orders into your accounting system or a data warehouse.
Developer portal
Get API access and make your first request.
Where to start
- Using an AI tool: follow Connect your AI tool. It takes a few minutes.
- Writing code against the API: the developer portal shows how to get access and make your first request.
- Looking something up: use the search at the top, or browse the API endpoints and MCP tools.
For AI agents
- llms.txt: an index of the API and the MCP server. Start here.
- llms-full.txt: the complete API docs as one Markdown file.
- openapi.json: the OpenAPI 3.0 spec of the API.
- SKILL.md: an Agent Skill for building against the API.
Every page is also available as Markdown: add .md to the URL, or send Accept: text/markdown.
Stay up to date
Breaking API changes are only announced on the email list. The changelog lists new features and deliberate changes to the API, but not bug fixes.