Sazabi
MCPSazabi MCP ServerSupported Clients

Cursor

Set up Cursor to use Sazabi's MCP server for observability queries and debugging.

Cursor is an AI-first code editor built on VS Code. By connecting Cursor to Sazabi's MCP server, you can investigate production issues without leaving your editor.

About Cursor

Cursor integrates AI capabilities directly into your development workflow. With MCP support, Cursor can connect to external services like Sazabi, giving you access to observability data while you code.

When connected to Sazabi, you can:

  • Ask about production errors related to the code you are editing
  • Search logs for specific patterns or error messages
  • Review recent investigations for context

Prerequisites

Before configuring Cursor to use Sazabi, make sure you have:

  • Cursor installed: Download from cursor.com.
  • A Sazabi secret key: Create one in Settings -> API Keys in the Sazabi dashboard. Select Secret as the key type.

Configuration

Cursor uses MCP servers defined in its settings. Add Sazabi to your Cursor configuration:

Open MCP settings

In Cursor, open the command palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux) and search for "MCP: Edit Configuration".

Add Sazabi server

Add the Sazabi MCP server to your configuration:

{
  "mcpServers": {
    "sazabi": {
      "type": "http",
      "url": "https://mcp.sazabi.com/mcp",
      "headers": {
        "X-Sazabi-Secret-Key": "<YOUR_SECRET_KEY>"
      }
    }
  }
}

Replace <YOUR_SECRET_KEY> with your actual Sazabi secret key.

Reload Cursor

Restart Cursor or reload the window for the changes to take effect.

Keep your secret key secure. Consider using environment variables or a secrets manager in production environments.

Using Sazabi in Cursor

Once connected, you can ask Cursor's AI to use Sazabi for observability queries. In the chat panel, try:

Use Sazabi to search for errors in the payment service from the last hour
What does Sazabi show for this function's error rate?
Check Sazabi for any recent issues related to this endpoint

Troubleshooting

MCP server not connecting

If Cursor reports that the Sazabi MCP server is not available:

  1. Open the command palette and run "MCP: Show Logs" to see connection details.
  2. Verify the JSON configuration is valid.
  3. Check that the URL is exactly https://mcp.sazabi.com/mcp.

Authentication errors

If you see authentication errors:

  1. Verify your secret key is correct and has not been revoked.
  2. Check that the header name is exactly X-Sazabi-Secret-Key.

Next steps