Before You Connect
Sign in to your xysq account at app.xysq.ai.
Step 1 - Generate Your API Key
- After logging in, click the Connect Agent button.

- Select the Cursor tab.

- Click Generate API Key - your key will be created automatically.

Step 2 - Copy the MCP Schema
Copy the generated MCP configuration schema:Step 3 - Add to Cursor
- Open Cursor and navigate to
mcp.json. You can find it at:
| OS | Path |
|---|---|
| Windows | %USERPROFILE%\.cursor\mcp.json |
| macOS / Linux | ~/.cursor/mcp.json |
- Paste the copied schema into
mcp.jsonand save.

Step 4 - Connect from Cursor
- Open the Agent tab in Cursor.
- Type:

Adding Memories
Once connected, you can ask the agent to remember, retain, or delete anything across future sessions:Video Walkthrough
(Full walkthrough video - link or embed coming soon)
Troubleshooting
| Problem | Fix |
|---|---|
| Server never connects | Confirm the URL and API key are copied exactly from the xysq dashboard. Check VPN or firewall rules for HTTPS to the MCP host. |
| Repeated auth prompts | Make sure you finished the browser approval step. If the problem persists, remove and re-add the MCP server, then authenticate again. |
| Wrong workspace scope | Use the global ~/.cursor/mcp.json if you want xysq in every project. Use .cursor/mcp.json inside a repo only if you want to scope it to that project. |
| API key not working | Regenerate the key from the xysq dashboard and update the Authorization header in your mcp.json. |
| Schema paste breaks JSON | Validate your mcp.json with a JSON validator - a missing comma or brace will silently prevent the server from loading. |
