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:
{
  "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:
{
  "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:
[
  {
    "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