Skip to main content
Glama
sunling

log-reflect-mcp

by sunling

log-reflect-mcp

log-reflect-mcp は、個人用記録システムのためのローカルファーストの MCP サーバーです。AI クライアントに、Markdown レコードの保存と取得のための小さく明確なインターフェースを提供し、レコード自体は別のリポジトリに保持します。

これは log-reflect-practice で使用されるディレクトリ規約に合わせて設計されています:

daily/
├── journal/{YYYY}/{YYYYMM}/
└── inputs/{YYYY}/{YYYYMM}/
practices/

現在のスコープ

最初のバージョンでは、意図的に4つのツールのみを公開しています:

  • capture_journal: 個人のジャーナル断片を作成または追記します。

  • capture_input: 外部入力を Markdown ノートとして保存します。

  • get_records_by_date_range: レビューのためにジャーナルと入力レコードを取得します。

  • search_records: レコードの内容を検索します。

MCP サーバーはアクセスとストレージを処理します。判断は Agent Skills の責任のままです: ジャーナルをどの程度軽く編集するか、何が入力ノートに属するか、7日間をどのようにレビューするか、繰り返し現れるテーマがいつ Practice になる準備ができたか。

Related MCP server: ai-journal

安全境界

  • ソースリポジトリには個人レコードや認証情報は含まれません。

  • サーバーは daily/journal/daily/inputs/ のみを読み取ることができます。

  • 新しいレコードはこれら2つのディレクトリ内にのみ書き込まれます。

  • 既存の入力ファイルが黙って上書きされることはありません。

  • 日付に対して複数のジャーナルファイルが存在する場合、推測せずに書き込みを停止します。

セットアップ

要件: Node.js 22 以降。

npm install
cp .env.example .env

レコードリポジトリへの絶対パスを設定します:

RECORDS_REPO_PATH=/absolute/path/to/log-reflect-practice

stdio サーバーをビルドして起動します:

npm run build
RECORDS_REPO_PATH=/absolute/path/to/log-reflect-practice npm start

クライアント設定の例

ビルド後、MCP クライアントをコンパイル済みサーバーに向けます:

{
  "mcpServers": {
    "log-reflect": {
      "command": "node",
      "args": ["/absolute/path/to/log-reflect-mcp/dist/src/server.js"],
      "env": {
        "RECORDS_REPO_PATH": "/absolute/path/to/log-reflect-practice",
        "RECORDS_TIME_ZONE": "America/Los_Angeles"
      }
    }
  }
}

開発

npm run check
npm test

ツールを対話的に検査するには:

npx @modelcontextprotocol/inspector node dist/src/server.js

ロードマップ

  • 個々のレコードを読み取るための MCP リソースを追加します。

  • 判断をストレージコードに移さずに、レビューと Practice 開発のプロンプトを追加します。

  • オプトインの Git コミットワークフローを追加します。

  • GitHub ベースのストレージアダプターを追加します。

  • ローカルワークフローが安定した後にのみ、Streamable HTTP と OAuth を追加します。

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    A local MCP server for journaling, organizing, and recalling your work. It captures entries as plain markdown files, indexes them for full-text and structured search, and enables querying via natural language.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides persistent long-term memory for AI assistants with tag-based retrieval, wiki-style linking, and source references, storing memories as markdown files with SQLite index.
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables writing text content to Markdown files with folder organization and overwrite control, and listing recent Markdown files.

View all related MCP servers

Related MCP Connectors

  • Search, save, and set reminders in your personal MarkIt library of links, posts, and notes.

  • Create, validate, edit, export (markdown/svg/png/mermaid), and search JSON Canvas files.

  • Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sunling/log-reflect-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server