Skip to main content

Cursor Setup

Add this to your Cursor MCP settings (~/.cursor/mcp.json):

Authenticate

Restart Cursor, open its MCP settings, select sgai, and start the login. In the browser window that opens, choose Continue with Google and sign in with the Google account associated with your ScrapeGraphAI account. Once the browser shows Authentication successful. Connected to sgai., return to Cursor — the tools are ready.

With an API key instead

Set SGAI_API_KEY in Cursor’s environment and add bearer_token_env_var next to the url:

Verify

Ask Cursor to run the credits tool. A balance response confirms that authentication and tool execution both work.
See the tool reference for everything the server exposes.