Tutorial

How to Add MCP Search to Cursor IDE

Configure Scavio MCP search in Cursor for AI agent web grounding. Give Cursor's background agent access to live documentation and search data.

Add web search to Cursor's AI agent by configuring the Scavio MCP server. The background agent can then verify documentation, check API versions, and research solutions using live search data instead of stale training data.

Prerequisites

  • Cursor IDE installed (Pro $20/mo recommended)
  • Scavio API key from scavio.dev
  • A project directory

Walkthrough

Step 1: Create MCP configuration

Create .cursor/mcp.json in your project root.

Bash
mkdir -p .cursor
cat > .cursor/mcp.json << 'EOF'
{
  "mcpServers": {
    "scavio": {
      "url": "https://mcp.scavio.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
EOF

Step 2: Verify in Cursor settings

Open Cursor Settings > MCP to confirm the server is connected.

Bash
# In Cursor:
# 1. Open Settings (Cmd+,)
# 2. Navigate to MCP section
# 3. Verify 'scavio' server shows as connected
# 4. Test with: 'Search for Express.js rate limiting best practices'

Python Example

Python
import json, os

# Create .cursor directory and MCP config
os.makedirs('.cursor', exist_ok=True)
config = {
    'mcpServers': {
        'scavio': {
            'url': 'https://mcp.scavio.dev/mcp',
            'headers': {
                'Authorization': 'Bearer YOUR_API_KEY'
            }
        }
    }
}
with open('.cursor/mcp.json', 'w') as f:
    json.dump(config, f, indent=2)
print('MCP search configured for Cursor')

JavaScript Example

JavaScript
const fs = require('fs');
fs.mkdirSync('.cursor', {recursive: true});
const config = {
  mcpServers: {
    scavio: {
      url: 'https://mcp.scavio.dev/mcp',
      headers: {Authorization: 'Bearer YOUR_API_KEY'}
    }
  }
};
fs.writeFileSync('.cursor/mcp.json', JSON.stringify(config, null, 2));
console.log('MCP search configured for Cursor');

Expected Output

JSON
Cursor IDE with live search capability. The background agent verifies documentation and API versions before writing code.

Related Tutorials

Frequently Asked Questions

Most developers complete this tutorial in 15 to 30 minutes. You will need a Scavio API key (free tier works) and a working Python or JavaScript environment.

Cursor IDE installed (Pro $20/mo recommended). Scavio API key from scavio.dev. A project directory. A Scavio API key gives you 250 free credits per month.

Yes. The free tier includes 250 credits per month, which is more than enough to complete this tutorial and prototype a working solution.

Scavio has a native LangChain package (langchain-scavio), an MCP server, and a plain REST API that works with any HTTP client. This tutorial uses the raw REST API, but you can adapt to your framework of choice.

Start Building

Configure Scavio MCP search in Cursor for AI agent web grounding. Give Cursor's background agent access to live documentation and search data.