@dayby/mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@dayby/mcp-server Draft a post about using partial indexes for multi-tenant queries."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@dayby/mcp-server
Post your dev progress to DayBy.dev from Claude, Cursor, or any MCP client — with local sanitization so your company secrets never leave your machine.
How It Works
draft_post → sanitized locally, never touches network
→ Claude shows you a clean preview
→ you approve
→ publish_post → DayBy API (sanitized content only)The raw context from your codebase never touches the network. Only the sanitized, approved version gets published.
Related MCP server: Ghost Writer MCP
Tools
Tool | What it does | Touches network? |
| Creates a sanitized draft from your description | No |
| Modify a draft before publishing | No |
| Dry-run: see what would get stripped | No |
| Publish an approved draft to DayBy | Yes (sanitized only) |
| List your recent DayBy posts | Yes |
| Fetch a single post by slug | Yes |
| Update title, content, or visibility | Yes |
| Permanently delete a post | Yes |
What Gets Stripped (Automatically)
API keys, tokens, secrets
AWS ARNs and access keys
Private IP addresses
Email addresses
SSH keys, JWTs, GitHub tokens
Database connection URLs
File paths with usernames
Plus anything you configure in blocklist
Setup
1. Install
Option A — npx (no install needed):
npx @dayby/mcp-serverOption B — global install:
npm install -g @dayby/mcp-serverOption C — from source:
git clone https://github.com/ja-roque/dayby-mcp-server.git
cd dayby-mcp-server
npm install && npm run build2. Authenticate
Run the auth command to connect your DayBy account:
dayby-mcp authThis opens your browser for a one-click authorization. Your token is saved locally at ~/.dayby/credentials.json.
To log out:
dayby-mcp auth --logoutAlternatively, you can set the DAYBY_API_KEY environment variable (from Settings > API on dayby.dev).
3. Add to your MCP client
Claude Code (simplest):
claude mcp add dayby -- dayby-mcpOr with npx:
claude mcp add dayby -- npx @dayby/mcp-serverClaude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"dayby": {
"command": "npx",
"args": ["@dayby/mcp-server"]
}
}
}Cursor (.cursor/mcp.json):
{
"mcpServers": {
"dayby": {
"command": "npx",
"args": ["@dayby/mcp-server"]
}
}
}4. Configure Sanitizer (Optional but Recommended)
Create ~/.dayby/sanitizer.json:
{
"blockedTerms": ["YourCompany", "ProjectCodename"],
"blockedDomains": ["internal.yourcompany.com"],
"blockedNames": ["Your Boss Name"],
"customPatterns": ["JIRA-\\d+", "INTERNAL-\\d+"]
}Usage Examples
While coding:
"I just figured out how to use PostgreSQL partial indexes to optimize a multi-tenant query. Draft a DayBy post about it."
After a PR:
"I built a rate limiter using Redis sorted sets today. Post it to DayBy."
Quick check:
"Check if this text has any sensitive data before I post it."
Claude will use draft_post to sanitize locally, show you a preview, and only publish when you approve.
Environment Variables
Variable | Description | Default |
| Your DayBy API key (alternative to | (none) |
| DayBy API URL |
|
| Comma-separated blocked terms | (none) |
| Comma-separated blocked domains | (none) |
Troubleshooting
dayby-mcp: command not found after global install
Your npm global bin isn't in your PATH. Run:
source ~/.bashrcOr add this to your ~/.bashrc / ~/.zshrc:
export PATH="$(npm bin -g):$PATH"Then restart your terminal or run source ~/.bashrc again.
MCP server not showing up in Claude
Restart Claude Code / Claude Desktop after adding the MCP config.
Not authenticated errors
Run dayby-mcp auth to connect your account, or set DAYBY_API_KEY in your environment.
License
MIT
Available Tools
9 toolscheck_contentA
Check if content contains sensitive data without creating a draft. Useful for quick checks before writing a post.
Inputs: text (required).
delete_postA
Permanently delete a DayBy post by its slug.
Inputs: slug (required).
draft_postA
Create a sanitized draft of a dev progress post. Content is cleaned locally — nothing is sent to the network. Returns a preview for the user to review before publishing.
Inputs: title (required), content (required), tags, visibility.
edit_draftA
Edit a draft post before publishing. Provide updated title and/or content — they will be re-sanitized locally.
Inputs: draft_id (required), tags, title, content, +1 more.
get_postA
Get a single DayBy post by its slug.
Inputs: slug (required).
list_postsC
List your recent DayBy posts.
Inputs: page, per_page.
publish_postA
Publish a previously drafted post to DayBy. Only the sanitized version is sent — the original content never leaves your machine.
Inputs: draft_id (required), generate_article.
update_articleA
Set or replace the HTML article for a DayBy post. Use this to write custom articles with CTAs, rich formatting, or any content the user wants.
DayBy article HTML rules:
Return clean HTML fragments only (no wrapper divs, article tags, doctype, html, head, body)
Use tags for paragraphs (no classes needed)
Use for section headings, for sub-sections
Use for key terms, for emphasis
Use for pull quotes
Use for code blocks, inline for references
Use / for lists (prefer prose over lists)
Use for links and CTAs
No CSS classes on elements (the page stylesheet handles typography)
Target length: 600-1000 words
Keep the author's voice and perspective from the original post
Inputs: slug (required), html_article (required).
update_postC
Update an existing DayBy post by slug. Content is sanitized locally before sending.
Inputs: slug (required), tags, title, content, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools map cleanly to distinct lifecycle stages: draft, edit, publish, update, delete. The main potential confusion is between update_post and update_article, since both modify an existing post, though their descriptions differentiate general content updates from HTML article replacement.
Tool names mostly follow a clear verb_noun snake_case pattern: list_posts, get_post, publish_post, update_post, delete_post, check_content. Minor deviations exist with edit_draft and update_article, which use different object nouns, and draft_post could be read as a noun phrase, but the overall convention is still predictable.
Nine tools is a well-scoped size for a focused post-management server. Each tool covers a meaningful part of the drafting, publishing, updating, and deletion workflow without redundancy or excessive surface area.
The core lifecycle is covered well: draft, edit draft, publish, list, get, update, delete, and content checking. The main gap is that once a draft is created, there is no explicit way to list or retrieve saved drafts, which could make the edit_draft workflow harder to use.
Maintenance
Related MCP Connectors
Turn what you just built into build in public posts for X, in your voice. Drafts, queue, metrics.
Publish Markdown or HTML as a live, shareable web page in one tool call. Guest mode needs no key.
Publish blog posts, send newsletters and emails from Claude, Claude Code, Codex and ChatGPT.
Publish and manage secure HTML links: PII/secret scanning, batch create, patch edits, analytics.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables publishing blog posts directly to Dev.to through the Model Context Protocol, allowing seamless content creation and publication via natural language interactions.1MIT
- AlicenseNot gradedqualityDmaintenanceScans Git repositories, identifies interesting engineering work, and generates LinkedIn post drafts with built-in confidentiality sanitisation.MIT
- FlicenseAqualityDmaintenanceEnables AI assistants to publish blog posts directly to Dev.to via the Model Context Protocol.11-
- AlicenseNot gradedqualityDmaintenanceAutomates posting articles to Dev.to and sharing posts on LinkedIn via command-line, cron jobs, or Copilot sessions.MIT