MCP servers · xAI (Grok API) · MCP server
Connect VS Code (Copilot) to xAI (Grok API)
One line gives VS Code (Copilot) your xAI (Grok API) account as tools: 5 endpoints, chat, models, generate image, called with your own connection. No key in the prompt, a receipt for every call, revoke VS Code (Copilot)'s access alone any time.
Three steps
- Create a free 0n3 account and connect xAI (Grok API). Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into VS Code (Copilot). Click one button and VS Code adds 0n3.
- Ask VS Code (Copilot): whoami. Then: "Chat completion in xAI (Grok API)".
Click the button. VS Code opens and adds 0n3.
The line above carries a placeholder; 0n3.app/install mints a real key named for VS Code (Copilot) and fills it in.
What VS Code (Copilot) can then do in xAI (Grok API)
Chat · Chat completions1
Chat completion
POST /chat/completionsModels · List available models2
List models
GET /modelsList language models
GET /language-modelsGenerate image · Image generation1
Create an image
POST /images/generationsMore · Everything else this app exposes.1
Create a response
POST /responsesxAI (Grok API) in other AI clients
Claude Code + xAI (Grok API)MCP server + skillClaude (desktop & claude.ai) + xAI (Grok API)connectorChatGPT + xAI (Grok API)connector · GPT actionGrok Bot (xAI) + xAI (Grok API)custom connectorCodex CLI + xAI (Grok API)MCP serverGemini CLI + xAI (Grok API)MCP serverCursor + xAI (Grok API)MCP serverWindsurf + xAI (Grok API)MCP server
