Developers: APIs
Use your app from AI tools (MCP)
Connect Claude, Cursor and other MCP clients to your app's data.
Connect Claude, Cursor and other MCP clients to your app's data.
Every app has a Model Context Protocol address. Connect an AI tool to it, and you can ask things like "How many orders came in today?" or "Mark order 1042 as shipped" from that tool.
https://your-app.draftship.site/_ds/mcp.In Claude Code:
claude mcp add --transport http my-app https://your-app.draftship.site/_ds/mcp --header "Authorization: Bearer dsa_your_key"
In Cursor, add this to .cursor/mcp.json:
{
"mcpServers": {
"my-app": {
"url": "https://your-app.draftship.site/_ds/mcp",
"headers": { "Authorization": "Bearer dsa_your_key" }
}
}
}
| Tool | What it does |
|---|---|
describe_app |
Lists your tables, their fields and record counts |
list_records |
Reads records, with filters and sorting |
get_record |
Reads one record |
create_records |
Adds up to 100 records |
update_record |
Changes fields on one record |
delete_records |
Moves up to 100 records to the trash |