MCP
Airbnb MCP Integration
Guide for integrating Airbnb booking capabilities with PraisonAI agents using MCP
Add Airbnb Tool to AI Agent
Quick Start
1
Set API Key
Set your OpenAI API key as an environment variable in your terminal:
2
Create a file
Create a new file airbnb_search.py
with the following code:
3
Install Dependencies
Make sure you have Node.js installed, as the MCP server requires it:
4
Run the Agent
Execute your script:
Requirements
- Python 3.10 or higher
- Node.js installed on your system
- OpenAI API key (for the agent’s LLM)
Gradio UI
Features
Accommodation Search
Search for accommodations on Airbnb with natural language queries.
MCP Integration
Seamless integration with Model Context Protocol.
Booking Details
Specify dates, guests, and location preferences in natural language.
NPM Package
Leverages the official Airbnb MCP server package.
Was this page helpful?