Connect VS Code to Dubai car prices
Bring UAE car prices into the code and copy you write in VS Code, each with its source.
Run in your terminal
code --add-mcp '{ "name": "dubai-car-index", "type": "http", "url": "https://dubaicarindex.com/api/mcp" }'
VS Code asks you to sign in when the server starts: use your email.
How VS Code connects
Run one command
They register https://dubaicarindex.com/api/mcp as an MCP server in VS Code. Or paste the setup prompt and VS Code runs them itself.
Sign in once
VS Code opens Dubai Car Index in your browser. Sign in with your email and the link or code we send, then approve: no password, no API key.
Ask in plain words
Ask VS Code while you work: it puts list prices and modelled values straight into the file you are in, labelled as such.
Steps from VS Code's docs, checked Nov 2026. MCP configuration reference (opens in a new tab)
Prompts to try in VS Code
With Dubai Car Index, add the Nissan X-Trail's UAE trims and list prices to src/data/cars.ts with their source URLs.
Compare the Mercedes-Benz C-Class and BMW 3 Series with Dubai Car Index and draft the copy for our comparison page.
Get the tyre and battery bands for Toyota from Dubai Car Index and add them to the FAQ in content/maintenance.md.
For AI agents
Instructions written for the agent itself. Agents can also read llms.txt, skill.md and the MCP server docs.
If you are an AI agent setting up Dubai Car Index for your user: 1. Add the remote MCP server https://dubaicarindex.com/api/mcp (streamable HTTP, OAuth 2.1 with dynamic client registration), with the steps for VS Code on this page: https://dubaicarindex.com/agents/vscode. 2. When the browser opens, ask your user to sign in with their email and approve. There is no API key. 3. Check the connection with whoami. 4. Resolve a car or a repair job with search, then call the typed tool it names. Read get_methodology before explaining a figure. 5. Quote every figure with its page link, and say whether it is a published list price or a modelled estimate.
VS Code FAQ
- How do I add Dubai Car Index to VS Code?
- Run in your terminal: code --add-mcp '{ "name": "dubai-car-index", "type": "http", "url": "https://dubaicarindex.com/api/mcp" }'. Or in VS Code: run MCP: Add Server from the Command Palette, choose HTTP and paste the server URL. VS Code asks you to sign in when the server starts: use your email.
- How does VS Code sign in?
- VS Code opens Dubai Car Index in your browser: you sign in with your email and the link or code Dubai Car Index sends you, then approve. There is no password and no API key; the server signs in through OAuth 2.1.
- Is it free?
- Yes. Every tool is free to use. Each account may make 120 tool calls a minute.
- Where do the figures come from?
- New-car list prices come from each brand's UAE distributor or a new-car price guide, each with its source URL and the date it was checked. Used values, rental rates and repair costs are modelled from those prices and from published quotes, and every result says which kind of figure it is. Only figures that are evidenced and reviewed are published.
- Can my agent change anything?
- No. All 13 tools read published data and write nothing. Dubai Car Index does not buy, sell, book or list cars.