Agents

Add Diurna to your agent

Hosted MCP at https://trydiurna.com/api/mcp. Public catalog tools need no key. Account tools use an API key or browser sign-in when OAuth is enabled on this host.

Authentication

Create a key in Settings. The secret is shown once. Use X-Api-Key or DIURNA_API_KEY in the environment. Never put the secret in a query string.

  1. Click Add to Cursor or paste the deeplink. Cursor asks before installing.
  2. For account tools, set DIURNA_API_KEY in your environment. Cursor substitutes ${env:DIURNA_API_KEY} in the header.
  3. For browser sign-in, use the OAuth config with no API key in the install payload.
  4. Public catalog tools answer without a key. Do not put the secret in the JSON file.

Cursor

{
  "mcpServers": {
    "diurna": {
      "type": "http",
      "url": "https://trydiurna.com/api/mcp",
      "headers": {
        "X-Api-Key": "${env:DIURNA_API_KEY}"
      }
    }
  }
}