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.
- Click Add to Cursor or paste the deeplink. Cursor asks before installing.
- For account tools, set
DIURNA_API_KEYin your environment. Cursor substitutes${env:DIURNA_API_KEY}in the header. - For browser sign-in, use the OAuth config with no API key in the install payload.
- Public catalog tools answer without a key. Do not put the secret in the JSON file.
{
"mcpServers": {
"diurna": {
"type": "http",
"url": "https://trydiurna.com/api/mcp",
"headers": {
"X-Api-Key": "${env:DIURNA_API_KEY}"
}
}
}
}