Connect your AI assistant to aitrips.io using the Model Context Protocol (MCP).
1. Sign up at aitrips.io and go to Settings to generate your API key.
2. Add the MCP server to your AI client configuration:
{
"mcpServers": {
"aitrips": {
"url": "https://www.aitrips.io/api/ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}3. Ask your AI to create a trip: "Create a 7-day trip to Barcelona starting June 1st with a €2000 budget"
All API requests require authentication using your API key. Generate one from your account settings page.
Include the key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
The main API endpoint for all MCP tools:
POST https://www.aitrips.io/api/ai/mcpRequest format:
{
"tool": "trip_create",
"arguments": {
"name": "Paris Vacation",
"destination": "Paris, France",
"startDate": "2026-06-01",
"endDate": "2026-06-07"
}
}trip_createCreate a new trip with name, destination, dates, budget, and timezonetrip_getGet full trip details including items, locations, and collaboratorstrip_listList all your trips with optional status filtertrip_updateUpdate trip details like dates, budget, or statustrip_deleteDelete a trip and all associated dataItems can be: ACCOMMODATION, ACTIVITY, FLIGHT, MEAL, or TRANSPORT
trip_item_addAdd an item with date, time, location, cost estimate, and notestrip_item_listList items with optional filters for type, date range, or statustrip_item_updateUpdate item details, status, or add booking confirmationtrip_item_deleteRemove an item from the triptrip_location_addSave a location with coordinates, address, and notestrip_location_listList saved locations with optional city/country filtertrip_location_nearbyFind saved locations within a radius of coordinatestrip_location_deleteRemove a saved locationtrip_task_createCreate a task with due date, priority, and optional link to a trip itemtrip_task_listList tasks with optional status filtertrip_task_updateUpdate task details or prioritytrip_task_completeMark a task as completedtrip_task_deleteRemove a tasktrip_share_createGenerate a share link with permission level, expiry, and usage limitstrip_share_listList all active share links for a triptrip_share_revokeRevoke a share linktrip_collaborators_listList all collaborators on a triptrip_collaborators_removeRemove a collaborator from a triptrip_itinerary_getGet a complete day-by-day itinerary for a tripsearchSearch across all trips, items, and locationscurl -X POST https://www.aitrips.io/api/ai/mcp \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool": "trip_create",
"arguments": {
"name": "Tokyo Adventure",
"destination": "Tokyo, Japan",
"startDate": "2026-09-15",
"endDate": "2026-09-22",
"currency": "JPY",
"budgetTotal": 300000,
"timezone": "Asia/Tokyo"
}
}'aitrips.io works with any AI client that supports the Model Context Protocol (MCP):