DevLog MCP
DevLog MCP
Codex、Claude CodeなどのAIコーディングエージェントが作成した開発日誌を、既存のNotion Blog DBに発行するstdio MCPサーバーです。エージェントが振り返りと本文作成を担当し、このサーバーは入力検証とNotion保存のみを担当します。
要件
Node.js 20以上
既存のNotion Blog Database
Databaseに接続されたNotion Integration
Related MCP server: Notion MCP Server
インストールとビルド
npm install
npm test
npm run build開発中に直接実行する場合は、環境変数を現在のシェルに設定します。このプロジェクトは.envファイルを自動的に読み込みません。
export NOTION_TOKEN="secret_..."
export NOTION_DATABASE_ID="..."
npm run devstdioサーバーはMCPクライアントとJSON-RPCで通信するため、ターミナルで実行しても一般的な案内メッセージは出力されません。
Notion設定
NotionのIntegrations画面でInternal Integrationを作成します。
Integration tokenを
NOTION_TOKENとして使用します。既存のBlog Databaseの接続メニューで該当のIntegrationを追加します。
Database URLからDatabase IDを見つけ、
NOTION_DATABASE_IDとして使用します。
Databaseのプロパティ名とタイプは以下の通りである必要があります。
プロパティ | Notionタイプ | デフォルト値 |
| Title | 必須入力 |
| Select |
|
| Multi-select | 空のリスト |
| Date | 現在の日付 |
| Status |
|
既存のDatabaseのSelect、Multi-select、Statusオプションに渡した名前がない場合、Notionの権限と設定によってオプションの作成が制限される可能性があります。
MCPツール
サーバーはpublish_dev_logツールを一つ提供します。
type PublishDevLogInput = {
title: string;
category?: string;
tags?: string[];
publishedAt?: string;
status?: "published" | "draft";
content: string;
};本文でサポートするMarkdownは、見出し1〜3、段落、順序付き/順序なしリスト、fenced code block、区切り線です。
呼び出し入力例は以下の通りです。
{
"title": "DevLog MCP 첫 구현",
"tags": ["MCP", "Notion", "TypeScript"],
"content": "# 오늘의 작업\nNotion 발행 도구를 구현했다.\n\n## 결정\n- MCP는 저장만 담당한다.\n- 회고 작성은 코딩 에이전트가 담당한다."
}Codex接続
まず、絶対パス基準でビルド結果を登録します。
codex mcp add devlog-mcp \
--env NOTION_TOKEN=secret_... \
--env NOTION_DATABASE_ID=... \
-- node /Users/oddd/workspace/notion/devlog-mcp/dist/index.js登録状態は次のコマンドで確認します。
codex mcp listClaude Code接続
プロジェクトスコープのMCPサーバーとして登録します。
claude mcp add -s project devlog-mcp \
-e NOTION_TOKEN=secret_... \
-e NOTION_DATABASE_ID=... \
-- node /Users/oddd/workspace/notion/devlog-mcp/dist/index.js登録状態は次のコマンドで確認します。
claude mcp list接続後、エージェントに今日開発した内容を日誌にまとめてpublish_dev_logで発行してと依頼できます。
devlog-mcp
Available Tools
1 toolpublish_dev_log개발 일지 발행B
완성된 개발 일지를 기존 Notion Blog DB에 발행합니다.
Inputs: title (required), content (required), tags, status, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion. The tool's purpose is entirely distinct by default.
A single tool cannot violate any naming pattern. The name 'publish_dev_log' follows a clear verb_noun convention.
A single tool for a server named 'DevLog MCP' feels thin. While it may serve a specific publishing need, the scope suggests more tools would be expected for full log management.
The tool only covers publishing completed logs. Missing basic operations like create, list, update, or delete dev logs, which are likely needed for a complete workflow.
Related MCP Connectors
Publish to self-hosted WordPress from AI agents: markdown, images, SEO, and Notion sync.
Write, translate and publish posts on a SaaS builder's blog, driven by your AI agent
Publish blog posts, send newsletters and emails from Claude, Claude Code, Codex and ChatGPT.
A blog CMS that AI agents write into over MCP: Markdown drafts, versions, media, human approval.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Language Models to interact with Notion workspaces through standardized tools for searching, reading, creating, and updating pages and databases.117MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Notion workspaces through the Notion API, allowing them to search, read, create, update pages and databases, and manage comments using natural language commands.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to save and manage question-and-answer pairs within a structured Notion database. It provides tools for database setup, entry creation, and querying existing conversation history.2 npm1MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to store and retrieve durable project decisions, conventions, environment notes, and bug fixes in Notion, with optional Obsidian Vault dual-write.623 npmMIT