Run setup
With Cursor installed, install the setup tool, then run:
Choose the MCP servers and Skills to configure for Cursor, then review the changes.
Connect models in Cursor
The wizard configures MCP servers and Skills. Complete the model connection inside Cursor:- Run
tfy-local-ai-setup tokenin your terminal to retrieve your TrueFoundry token. - Open Cursor Settings → Models → API Keys. Enter the token as the OpenAI API Key and turn its toggle on.
- Set Override OpenAI Base URL to your gateway’s
/cursor/v1endpoint. The completion summary prints the exact URL, for examplehttps://gateway.example.com/cursor/v1. - Under Models, choose Add Custom Model, enter a Cursor-compatible Virtual Model slug from your administrator, then select it in a new chat.
anthropic, claude, openai, gpt, gemini, or vertex. Ask your administrator for a compatible slug; see Cursor model naming rules.
Optional: authorize MCP servers
Authorize any selected servers that require sign-in inside Cursor. See Connect MCP from your IDE.Verify the connection
Select your configured model in a new conversation and ask:Reply exactly TFY-CHAT-OK. Do not use tools. Confirm that a response arrives without an authentication or model error. Then verify the request in the gateway.
For manual configuration and advanced options, see the Cursor integration guide.