AI & LLM Setup
Dispatch provides multiple ways to integrate with AI code editors and LLM-powered tools. Choose the approach that fits your workflow — from zero-config doc references to a full MCP server with live webhook management.
Option 1: Use llms.txt (No Setup)
The fastest way to give your AI assistant context about Dispatch. No API key, no install — just reference the URL in your prompt.
Quick use
In any AI chat window, type this to give the assistant Dispatch documentation:
@web https://dispatch.tech/llms.txt
This works in Cursor, Windsurf, and other editors that support @web references.
For complete documentation (all pages in a single file):
@web https://docs.dispatch.tech/llms-full.txt
Add as custom docs in Cursor
- Press ⌘ + ⇧ + P (Mac) or Ctrl + ⇧ + P (Windows/Linux)
- Type
Add new custom docs - Add this URL:
https://dispatch.tech/llms.txt
Now you can type @docs in chat and choose Dispatch to provide context automatically.
Save as a project rule
To make Dispatch docs available in every conversation for a project:
Cursor:
curl -L https://dispatch.tech/llms.txt --create-dirs -o .cursor/rules/dispatch.mdc
Claude Code:
curl -L https://dispatch.tech/llms.txt --create-dirs -o .claude/rules/dispatch.md
What's in each file?
| File | URL | Best for |
|---|---|---|
llms.txt | https://dispatch.tech/llms.txt | Quick overview — features, integrations, pricing, MCP tools |
llms-full.txt | https://docs.dispatch.tech/llms-full.txt | Complete docs — all pages, setup guides, API reference |
Option 2: MCP Server (Full Control)
The MCP server goes beyond documentation — it lets your AI assistant manage your webhooks directly. List sources, create destinations, inspect events, configure filters, and more through natural language.
This requires an API key but gives you live, two-way interaction with your Dispatch project.
See the full MCP Server setup guide for installation instructions.
Quick install
Claude Code:
claude mcp add dispatch \
-e DISPATCH_API_KEY=dsp_your_api_key_here \
-- npx @dispatch.tech/mcp
Cursor: Click here to install in Cursor
Which should I use?
| llms.txt | MCP Server | |
|---|---|---|
| Setup | None | API key + install |
| What it does | Gives AI context about Dispatch | AI can read & write your Dispatch config |
| Use case | Writing code that integrates with Dispatch | Managing webhooks from your editor |
| Works with | Any AI tool that supports URLs | Claude, Cursor, Windsurf, VS Code |
You can use both — llms.txt for coding context and MCP for live management.