Connect EROAD to Cursor
To connect EROAD to Cursor, open Settings → Tools & MCP and add a new server with the URL https://eroadmcp.co.nz/mcp. You can also paste the small JSON block below into ~/.cursor/mcp.json. Cursor then asks you to sign in, where you enter your email, type the 6-digit code and press Approve.
Before you start you need an EROAD account on a plan that includes API access (EROAD's Premium plan) and an API key created in MyEROAD. Here is how to create the key.
https://eroadmcp.co.nz/mcpSteps
- Open Cursor settings. In Cursor, open Settings and go to Tools & MCP.
- Add a new MCP server. Choose to add a server. If Cursor asks for a URL, paste https://eroadmcp.co.nz/mcp. If it opens a JSON file, use the configuration below.
- Save the configuration. The file is ~/.cursor/mcp.json for all projects, or .cursor/mcp.json inside one project.
- Sign in. Cursor shows the server as needing authentication. Start the sign-in, enter your email and the 6-digit code, then press Approve.
- Ask a question. In chat, ask something like "Where are all my trucks right now?" and allow the EROAD tools when prompted.
Configuration file
Put this in ~/.cursor/mcp.json to make EROAD available in every project, or in .cursor/mcp.json inside a project to limit it to that project. If the file already has an mcpServers block, add the eroad entry to it rather than replacing the whole file.
{
"mcpServers": {
"eroad": {
"url": "https://eroadmcp.co.nz/mcp"
}
}
}Restart Cursor after editing the file, then finish the sign-in from Tools & MCP.
Troubleshooting
- The server shows as offline. Check the JSON is valid and that the URL ends in
/mcp. - Nothing asks you to sign in. Open Tools & MCP and start the authentication for the
eroadserver by hand.
Other apps: Claude · ChatGPT · Claude Code
Ready to try it?
Connect your EROAD account to your AI assistant in about five minutes. 3 days free, then NZ$29 per month. Cancel anytime.
Start your 3-day free trial