MCP / AI integration
Manage your cars from Cursor via a local MCP server.
The MCP server runs locally on your machine and accesses MyCar data on your behalf.
Example prompts
- "Show my cars"
- "Show Toyota Avensis details"
- "Show repairs for Toyota"
- "Update Toyota mileage to 125000 km"
Create a key
- Sign in to the MyCar dashboard.
- Open Profile → MCP / AI tab.
- Create a key with a recognizable name (e.g. Cursor).
- Copy the key from the modal — it is shown only once.
Keys do not expire. You can revoke a key anytime from your profile.
Cursor setup
Add the remote MyCar MCP server in ~/.cursor/mcp.json (Settings → MCP):
{
"mcpServers": {
"mycar": {
"url": "https://trackmycar.ru/api/mcp/",
"headers": {
"Authorization": "Bearer mcp_ваш_ключ_из_dashboard"
}
}
}
}
For a local backend, use http://127.0.0.1:8000/api/mcp/ as the URL (trailing slash required).
Restart Cursor after saving the configuration.
Verify
In Cursor chat, ask the assistant to call list_user_cars or update a car mileage.
Revoke a key
On the MCP / AI profile tab, click Revoke on the key. Revoked keys stop working immediately.