Skip to main content
Glama

MarkScribe

Model Context Protocolのための、規約重視のMarkdown MCPサーバーです。MarkScribeを使用すると、AIエージェントはMarkdownファイルの読み取り、書き込み、検索、検証を行うことができ、ユーザー定義のYAMLスキーマを通じて規約を強制できます。Obsidianボルト、Foamワークスペース、デジタルガーデン、ドキュメントリポジトリなど、あらゆるMarkdownディレクトリで動作します。

特徴

  • アトミックなファイル操作によるノートの読み取り、書き込み、移動、削除

  • コンテンツおよびフロントマターを対象とした全文検索(BM25ランキング)

  • ウィキリンク対応:バックリンク、リンク切れ検出、孤立ノートの特定、未リンクの言及の発見

  • YAMLフロントマターの解析、検証、一括更新

  • タグ管理(フロントマターおよびインライン)

  • スキーマによる規約の強制:ノートスキーマによるフロントマター/コンテンツの検証、フォルダスキーマによる構造ルールの強制

  • 規約の継承:_conventions.mdファイルにより、ディレクトリのサブツリーにスキーマを適用可能

  • パスのセキュリティ:.obsidian/.git/node_modules/は常にブロック

Related MCP server: kmd

インストール

npm install -g markscribe

使用方法

MCPサーバーとして

{
  "mcpServers": {
    "markscribe": {
      "command": "markscribe",
      "args": ["--root", "/path/to/your/notes"]
    }
  }
}

CLIフラグ

フラグ

デフォルト

説明

--root <path>

現在の作業ディレクトリ

サーバーのルートディレクトリ

--schemas-dir <path>

~/.markscribe/schemas/

スキーマYAMLファイルを読み込むディレクトリ

--log-level <level>

info

ログレベル (debug, info, warn, error, fatal)

ディレクトリごとの設定

ルートディレクトリに .markscribe/config.yaml を配置します:

paths:
  blocked:
    - private/
    - drafts/
  allowed_extensions:
    - .md
    - .markdown
    - .txt
search:
  max_results: 50
  excerpt_chars: 40

スキーマ

スキーマはノートやフォルダの規約を定義します。スキーマディレクトリ(デフォルトは ~/.markscribe/schemas/)に配置してください。

ノートスキーマ — フロントマターのフィールドとコンテンツのルールを検証します:

name: blog-post
description: Blog post with required metadata
type: note
frontmatter:
  fields:
    title:
      type: string
      required: true
    tags:
      type: list
      required: true
content:
  rules:
    - name: has-outgoing-link
      check: hasPattern
      pattern: "\\[\\[.+?\\]\\]"

フォルダスキーマ — ディレクトリの構造ルールを強制します:

name: project-folder
description: Project folder with hub note
type: folder
noteSchemas:
  default: blog-post
  hub: project-hub
classification:
  supplemental: [assets, templates]
  skip: [archive]
hub:
  detection:
    - pattern: "_{{folderName}}"
  required: true

ノートはフロントマターの note_schema: <name> を通じて、または規約の継承(_conventions.mdファイル)を通じて自動的にスキーマを適用します。

ツール

ツール

説明

list_directory

ファイルとサブディレクトリの一覧表示

get_stats

ノート数、合計サイズ、最近のファイル

switch_directory

アクティブなルートディレクトリの切り替え

read_note

解析されたフロントマターを含むノートの読み取り

write_note

ノートの作成または更新

patch_note

ノート内の文字列置換

delete_note

ノートの削除(確認付き)

move_note

リンク更新オプション付きの移動/名前変更

read_multiple_notes

最大10件のノートを一括読み取り

create_note

規約に基づいたノート作成

get_frontmatter

YAMLフロントマターのみの読み取り

update_frontmatter

フロントマターフィールドのマージまたは置換

manage_tags

タグの追加、削除、一覧表示

search_notes

全文BM25検索

lint_note

スキーマに基づいたノートの検証

validate_folder

フォルダの分類と検証

validate_area

サブツリーの再帰的検証

validate_all

ディレクトリツリー全体の検証

list_schemas

ロードされた全スキーマの一覧表示

get_backlinks

ノートへのリンク元を検索

find_broken_links

存在しないノートへのウィキリンクを検索

find_orphans

リンクのないノートを検索

find_unlinked_mentions

ウィキリンクにすべきプレーンテキストの言及を検索

対応ビューア

MarkScribeは、Markdownファイルを読み取れるあらゆるツールと連携します:

  • Obsidian — グラフビューとコミュニティプラグインを備えたPKMアプリ

  • Foam — リンクされたノートのためのVS Code拡張機能

  • Logseq — 双方向リンクを備えたアウトライナー

  • その他のテキストエディタや静的サイトジェネレーター

謝辞

Claude Code を使用して構築されました。

ライセンス

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
6Releases (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

  • F
    license
    -
    quality
    F
    maintenance
    An MCP server for managing LifeOS Obsidian vaults, enabling AI assistants to create, read, and search notes with YAML compliance and organizational standards.
    1
  • A
    license
    -
    quality
    B
    maintenance
    MCP server for structured markdown knowledge vaults that provides validation, FTS5 search, and wikilink cross-references. Enables AI agents to prime context and search across vaults using two MCP tools and template resources.
    6
    MIT
  • F
    license
    A
    quality
    A
    maintenance
    A filesystem-based MCP server for Obsidian vaults that enables LLMs to browse, search, read, write, and edit Markdown notes directly on disk without requiring Obsidian to be running.
    6
    1,871
    1

View all related MCP servers

Related MCP Connectors

  • Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.

  • MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.

  • Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.

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/Erodenn/markscribe'

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