MCP servers · AI/ML API · MCP server
Connect Windsurf to AI/ML API
One line gives Windsurf your AI/ML API account as tools: 2 endpoints, chat, models, called with your own connection. No key in the prompt, a receipt for every call, revoke Windsurf's access alone any time.
Three steps
- Create a free 0n3 account and connect AI/ML API. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Windsurf. The mcp_config.json block.
- Ask Windsurf: whoami. Then: "Chat completion in AI/ML API".
Write it yourself · ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"0n3": {
"serverUrl": "https://0n3.app/mcp",
"headers": {
"Authorization": "Bearer <your 0n token>"
}
}
}
}The line above carries a placeholder; 0n3.app/install mints a real key named for Windsurf and fills it in.
What Windsurf can then do in AI/ML API
Chat · Chat completions1
Chat completion
POST /chat/completionsModels · List available models1
List models
GET /modelsAI/ML API in other AI clients
Claude Code + AI/ML APIMCP server + skillClaude (desktop & claude.ai) + AI/ML APIconnectorChatGPT + AI/ML APIconnector · GPT actionGrok Bot (xAI) + AI/ML APIcustom connectorCodex CLI + AI/ML APIMCP serverGemini CLI + AI/ML APIMCP serverCursor + AI/ML APIMCP serverVS Code (Copilot) + AI/ML APIMCP server
