Connect Cursor
Prerequisites
- Cursor 0.43 or later (MCP support added in 0.43)
- A Wicket member key — see the Quickstart if you don’t have one yet
Configuration
Create or edit ~/.cursor/mcp.json:
{ "mcpServers": { "wicket": { "url": "https://mcp.wicket.sh/mcp", "headers": { "Authorization": "Bearer <your-member-key>" } } }}This makes the server available in every Cursor workspace.
Create .cursor/mcp.json at the repo root for project-local config. Same JSON structure as the global file.
Restart Cursor after saving.
Verify
Open a new Cursor chat (Agent mode) and ask:
List my GitHub repositories.
Cursor calls the Wicket-proxied GitHub tool. The result appears inline and the call is logged in the Wicket Audit tab.
Troubleshooting
| Symptom | Likely cause |
|---|---|
| Tools not visible in Agent mode | mcp.json path wrong or Cursor not restarted |
401 Unauthorized | Wrong or expired member key — regenerate in Wicket |
403 Forbidden | Agent disabled or member not approved |
| Tool call blocked | Policy deny — check the Audit tab |