✨ Cursor MCP Agent Setup
April 17, 2025 · View on GitHub
Welcome to your Multi-Agent Configuration for Cursor! This setup integrates three powerful agents: Playwright, Airbnb, and DuckDuckGo Search—bringing automation, search, and real estate APIs to your editor. 🧠💻
🔧 Configuration Overview
Here's how your .cursor/mcp.json file is structured:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest"]
},
"airbnb": {
"command": "npx",
"args": ["-y", "@openbnb/mcp-server-airbnb"]
},
"duckduckgo-search": {
"command": "npx",
"args": ["-y", "duckduckgo-mcp-server"]
}
}
}
🤖 Playwright Agent - Browser Automation

This agent enables:
- 🌐 Navigation
- 🖱️ Element Clicking
- ⌨️ Typing into fields
- 📸 Screenshots
- 📄 PDF saving
Usage Example:
// browser_navigate to https://example.com
🏡 Airbnb Agent - Real Estate Search

Use this agent to:
- 🔍 Search Airbnb listings
- 📝 Fetch listing details
Command:
npx -y @openbnb/mcp-server-airbnb
🔎 DuckDuckGo Search Agent
![]()
Your private search buddy within the IDE. 🔐
Use Cases:
- 📖 Web search queries
- 🧠 Quick answers without leaving your editor
Command:
npx -y duckduckgo-mcp-server
🚀 How to Use Agents
- Open Cursor IDE
- Highlight a comment like:
// browser_navigate to https://github.com
- Press
Ctrl + I(or use the command palette) - Boom 💥 — the agent runs!
Tip: Keep the
.cursor/mcp.jsonfile in your project root to persist your agent setup.
📚 Helpful Links
🦾 Level Up Your Dev Workflow
With these agents, you can:
- Automate UI testing with Playwright
- Search listings with Airbnb
- Query the web with DuckDuckGo
Happy hacking, dev! 💡🚀