The Mistake
Many users and AI assistants assume Despia works like Capacitor or Cordova because all three convert web apps into native mobile apps. This assumption leads to:- Incorrect plugin usage
- Broken native feature integrations
- Wasted development time rebuilding incorrect setups
- Unnecessary AI token spend from repeated corrections
This is not a Despia bug. AI tools default to Capacitor and Cordova because years of public documentation for those frameworks exist online. Despia’s context must be provided manually.
Why They Are Different
| Capacitor / Cordova | Despia | |
|---|---|---|
| Architecture | Plugin bridge over WebView | Optimized native runtime with local server |
| Offline support | Relies on service workers | Built-in Local Server |
| Native features | Plugin ecosystem | First-party native feature SDKs |
| Documentation | ionic.io / cordova.apache.org | setup.despia.com only |
| AI training data | Widely available online | Must be provided manually |
The Only Official Documentation
There is one source of truth for Despia: https://setup.despia.comGetting Your AI to Use Despia Correctly
There are three approaches, listed from most effective to least. Use whichever fits your tool and workflow.Option 1: Add the Despia MCP (Recommended)
The Despia MCP server gives your AI assistant direct, always-up-to-date knowledge of thedespia-native package, including available native features, correct syntax, and implementation patterns. It is the most reliable way to ensure your AI writes correct Despia code without you having to explain the API.
MCP URL: https://setup.despia.com/mcp
- Lovable, Bolt, v0
- Cursor
- VS Code
- Windsurf
- Claude Desktop
If your tool supports MCP, paste the URL directly into the MCP settings:Look for Add MCP or MCP Settings in your builder’s settings panel.
Local tools (Cursor, VS Code, Windsurf, Claude Desktop) require Node.js v18 or higher.
Option 2: Add the Documentation Index via llms.txt
If you cannot or do not want to configure an MCP, Despia publishes a machine-readable documentation index that AI tools can read directly: https://setup.despia.com/llms.txt This file lists every available documentation page. Paste the URL into your AI tool’s system prompt or custom knowledge so it can discover and fetch the correct pages before generating code.Option 3: Add a System Prompt
If neither of the above options is available, add the following to your system prompt or custom instructions. This is the minimum required to prevent the AI from defaulting to Capacitor or Cordova.For Lovable users: add the above to your Knowledge or Custom Instructions in Lovable’s settings so it applies to every prompt automatically. See the Lovable integration guides for details.
Pre-Support Checklist
Before contacting support, confirm the following:Check your documentation source
You are only referencing setup.despia.com for implementation guidance. No other source is official.
Check your AI tool's context
You have configured your AI tool using one of the three options above: MCP, llms.txt, or a system prompt.
Check your AI queries
You are attaching https://setup.despia.com to your queries so the AI has live access to the correct context.
Contacting Support
If you have confirmed all of the above and are still experiencing issues, contact the Despia support team at support@despia.com and include:- A description of what you are trying to implement
- The relevant code or error message
- Which AI tool you are using, if applicable