In this challenge, you will enable external access for your agent, connect it to Cursor using the MCP endpoint, and test it with real prompts.
Enable external access
Changing access settings requires the Project Admin role.
-
Select your agent and click the … menu, then select Configure.
-
Under Access, select External.
-
Enable the MCP server toggle.
-
Click Update agent to save your changes.
Your agent now has an MCP endpoint and the full tool list is visible in the configuration.
Connect to Cursor
-
In the Agents list, open the … menu next to your agent and choose Copy MCP server endpoint.
-
Open the Cursor menu from the top-left, then Settings…, then Cursor Settings.
-
In the left sidebar, select Tools & MCP.
-
Under Installed MCP Servers, click + New MCP Server.
-
A new file
mcp.jsonwill be created (typically at~/.cursor/mcp.json) and opened in the editor. Add your agent’s MCP endpoint to the file. If you editmcp.jsondirectly, replace<your-mcp-url>with the endpoint from the agent menu:json{ "mcpServers": { "neo4j-graphacademy-agent": { "url": "<your-mcp-url>", "transport": "http" } } } -
Save and reload Cursor.
-
Your agent appears in the Tools & MCP list with a Needs authentication status. Click Connect.
-
Cursor asks permission to open the Aura MCP authentication website. Click Open.
-
The login page opens in your browser. Click Continue with Neo4j Aura.
-
On the authorization screen, click Accept to grant Cursor access to your Aura MCP account.
-
Return to Cursor. Your agent is now connected and available as a tool.
For connecting other hosts such as Claude Desktop, see Aura Agent documentation.
Test your agent in Cursor
-
Open a new Cursor chat in Agent mode.
-
Address the agent by its MCP server name and ask a question that matches one of your Cypher Template tools.
-
Ask a follow-up question that requires your Text2Cypher tool.
-
Check that each response is accurate and that the reasoning panel shows the correct tool being selected.
Restart Cursor before testing
Restarting Cursor after adding the MCP endpoint is mandatory. If your agent is not working, a missed restart is likely the reason.
Summary
You connected your agent to Cursor using the MCP endpoint and tested it with real prompts. In the next lesson, you will see suggested next steps and mark the course as completed.