Cursor
Use Frontrun with Cursor's AI agent mode.
MCP Server Setup
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"frontrun": {
"command": "npx",
"args": ["frontrun-mcp-server"],
"env": {
"FRONTRUN_API_KEY": "your_api_key"
}
}
}
}Restart Cursor. Frontrun tools will be available in agent mode.
Direct API Usage
Create a .env file in your project:
FRONTRUN_API_KEY=your_api_key
FRONTRUN_BASE_URL=https://frontrun.vc/v1Then use agent mode to call the API:
@agent Call the Frontrun API to get trending companies this week.
Use the base URL and API key from .env.