> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trysiren.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor

> Set up Siren MCP with Cursor for AI-powered development

# Using Siren MCP with Cursor

Cursor uses the same configuration format as VS Code. Add this to your settings:

```json theme={null}
{
  "mcp.servers": {
    "siren": {
      "command": "npx",
      "args": [
        "-y",
        "@trysiren/mcp",
        "--tools=all",
        "--api-key=YOUR_SIREN_API_KEY"
      ]
    }
  }
}
```

## Configuration Options

* Replace `YOUR_SIREN_API_KEY` with your actual Siren API key
* Adjust the `--tools` flag to enable only the tools you need
* The configuration is similar to VS Code but might have slight differences in how settings are applied

## Verifying the Setup

1. Restart Cursor after making these changes
2. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P)
3. Look for MCP-related commands to verify the connection

## Troubleshooting

* Ensure Node.js and npm are installed if using the npx method
* Check the Cursor logs for any error messages
* Verify your API key has the necessary permissions
* Make sure your network allows connections to the Siren API

## Advanced Configuration

### Keyboard Shortcuts

Add custom keyboard shortcuts for frequently used tools in `keybindings.json`:

```json theme={null}
[
  {
    "command": "mcp.executeTool",
    "key": "ctrl+alt+s",
    "args": {
      "server": "Siren",
      "tool": "messaging.send"
    }
  }
]
```

## Troubleshooting

* **Connection Issues**:
  * Verify your API key and network connectivity
  * Check that the MCP server URL is correct
* **Tool Not Found**:
  * Ensure the tool names in your config match exactly
  * Check that the tools are included in your API key's permissions
* **Permission Errors**:
  * Verify your API key has the necessary permissions
  * Check the Siren dashboard for any rate limits or restrictions

## Security Best Practices

* Never commit API keys to version control
* Use environment variables or secure credential storage
* Regularly rotate your API keys
* Follow the principle of least privilege when assigning permissions
