Hướng dẫn tích hợp

Cursor setup guide

Send compatible requests through MoLoop with Cursor’s Override OpenAI Base URL.

Overview

Cursor Models settings can override the OpenAI Base URL. Once enabled, compatible requests are sent through MoLoop.

Quick configuration

Prepare this key and override URL.

text
OpenAI API Key: YOUR_API_KEY
Override OpenAI Base URL: https://api.moloop.io/v1

Compatibility

  • Chat Completions

  • Chat and inline editing

  • Agent tools (version and model dependent)

Step-by-step setup

Open Models settings

Open Cursor Settings and go to Models. If the entry moved, search settings for OpenAI API Key.

Enter the OpenAI API Key

Paste the MoLoop key into OpenAI API Key.

Override the OpenAI Base URL

Enable Override OpenAI Base URL and enter the address ending in /v1.

text
OpenAI API Key: YOUR_API_KEY
Override OpenAI Base URL: https://api.moloop.io/v1
Model: YOUR_MODEL_ID

Choose a model and test

Add an exact catalog model ID and run Chat or Inline Edit on a small file.

Choose a chat model compatible with the Cursor feature you use; agent tasks also need tool-call support.

Things to know

  • Override OpenAI Base URL must remain enabled; disabling it returns Cursor to the default service.

  • If requests stop reaching MoLoop after a Cursor update, recheck the override and active model first.

Sẵn sàng bắt đầu?

Lấy API key và bắt đầu sử dụng MoLoop trong các công cụ này.