> ## 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.

# VS Code

> Set up Siren MCP with VS Code for AI-powered development workflows

# Using Siren MCP with VS Code

VS Code supports both workspace-specific and user-level MCP configurations.

#### Workspace Configuration

Add a `.vscode/mcp.json` file in your workspace:

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

#### User Settings

Add to your VS Code user settings:

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

### 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
* **Tool Not Found**: Ensure the tool names in your config match exactly
* **Permission Errors**: Check your API key permissions in the Siren dashboard

## Security Best Practices

* Store your API key in environment variables or a secure credential store
* Use the principle of least privilege when assigning API key permissions
* Regularly rotate your API keys
