[INTEGRATION]

Route Cursor through Grepture.

Get full visibility into every Cursor request your team makes. Track costs, inspect prompts, and protect sensitive data — with a 2-minute setup.

What is Grepture?

Grepture is an open-source AI gateway that sits between your applications and AI providers. It logs every request, tracks token costs, detects sensitive data, and gives you a single dashboard for all your AI traffic. Now it works with Cursor too.

Set up in 2 steps

1. Create a Grepture account

Sign up at app.grepture.com and grab your API key from the dashboard.

2. Configure Cursor

In Cursor → Settings → Models → Override OpenAI Base URL, paste your Grepture proxy URL.

Cursor → Settings → Models → Override OpenAI Base URL
https://proxy.grepture.com/cursor/<grepture_api_key>/v1
payment.ts
payment.ts
payment.d.ts
Chat
youRefactor the payment service to use async/await
I'll refactor the payment service. Reading the current implementation first.
toolRead src/services/payment.ts
toolRead src/types/payment.d.ts
Here's the refactored version using async/await:
- Replaced Promise chains with async functions
- Added proper error handling with try/catch
- Extracted retry logic into a helper
Ask Cursor...
app.grepture.com/traffic-log
Requests
4
Tokens
7,923
Cost
$0.0396
Recent requests
now200gpt-4o$0.0156
Refactor the payment service to use async/await...
4s ago200gpt-4o$0.0092
Read src/services/payment.ts
9s ago200gpt-4o$0.0032
Read src/types/payment.d.ts
18s ago200gpt-4o$0.0116
Analyze existing error handling patterns...

Start observing your AI traffic in 5 minutes

Drop-in SDK. See your first request in under a minute.

Free for up to 1,000 requests/month · No credit card required

Get Started Free