Documentation
Everything you need to integrate DayBy into your workflow.
MCP Server
NewPost your dev progress directly from Claude Code, Claude Desktop, or Cursor. Content is sanitized locally before anything leaves your machine. API keys, tokens, IPs, and SSH keys are stripped automatically.
1. Install
2. Get your API key
Go to Settings → API, enable API access, and create a key.
3a. Claude Code (terminal)
Run this once to register the server globally:
Or pass the key inline if not in your environment:
3b. Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
3c. Cursor
Edit ~/.cursor/mcp.json:
Available Tools
draft_post
title, content
Create a draft. Content is sanitized locally before upload.
publish_post
slug
Publish an existing draft by slug.
edit_draft
slug, title?, content?
Update title or content of an existing draft.
check_content
content
Scan content for secrets without posting anything.
list_posts
-
List your recent posts and drafts.
Local sanitization
Strips API keys, tokens, IPs, SSH keys, JWTs, AWS ARNs, and database URLs from content before it leaves your machine. No LLM involved. Pure regex, offline, deterministic.
View source on GitHub →REST API Reference
Full interactive docs with request/response schemas, try-it-out, and examples.
Open API Reference (Swagger UI)Authentication
Pass your API key as a Bearer token on every request:
-H "Authorization: Bearer dyb_your_token_here"
Rate limit: 60 requests/minute per key.