Method 1: Model Provider (OpenAI-Compatible)
Configure Cline to route inference through Neosantara models:1
Open Extension Settings
Open the Cline or Roo Code panel in the VS Code sidebar and click the Settings gear icon.
2
Select API Provider
In the API Provider dropdown, select OpenAI Compatible.
3
Enter Gateway Credentials
- Base URL:
https://api.neosantara.xyz/v1 - API Key: Your Neosantara API key (
nsk_...) - Model ID:
deepseek-v4.1-flash
4
Save Configuration
Click Done to save. Start a new chat session to verify the connection.
Method 2: Adding Neosantara MCP Server
Cline supports the Model Context Protocol to expand agent capabilities with extra tools.1
Open MCP Servers Tab
In the Cline settings panel, click the MCP Servers tab and select Configure MCP Servers.
2
Update Configuration JSON
Open
cline_mcp_settings.json and insert the neosantara entry:3
Save and Verify
Save the file. The server status in the MCP tab will display a green indicator, listing available Neosantara tools (
chat, list-models, generate-image).MCP tool connections require a dedicated API key prefixed with
nsk_mcp_.