MarkScribe
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フラグ
フラグ | デフォルト | 説明 |
| 現在の作業ディレクトリ | サーバーのルートディレクトリ |
|
| スキーマYAMLファイルを読み込むディレクトリ |
|
| ログレベル ( |
ディレクトリごとの設定
ルートディレクトリに .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ファイル)を通じて自動的にスキーマを適用します。
ツール
ツール | 説明 |
| ファイルとサブディレクトリの一覧表示 |
| ノート数、合計サイズ、最近のファイル |
| アクティブなルートディレクトリの切り替え |
| 解析されたフロントマターを含むノートの読み取り |
| ノートの作成または更新 |
| ノート内の文字列置換 |
| ノートの削除(確認付き) |
| リンク更新オプション付きの移動/名前変更 |
| 最大10件のノートを一括読み取り |
| 規約に基づいたノート作成 |
| YAMLフロントマターのみの読み取り |
| フロントマターフィールドのマージまたは置換 |
| タグの追加、削除、一覧表示 |
| 全文BM25検索 |
| スキーマに基づいたノートの検証 |
| フォルダの分類と検証 |
| サブツリーの再帰的検証 |
| ディレクトリツリー全体の検証 |
| ロードされた全スキーマの一覧表示 |
| ノートへのリンク元を検索 |
| 存在しないノートへのウィキリンクを検索 |
| リンクのないノートを検索 |
| ウィキリンクにすべきプレーンテキストの言及を検索 |
対応ビューア
MarkScribeは、Markdownファイルを読み取れるあらゆるツールと連携します:
Obsidian — グラフビューとコミュニティプラグインを備えたPKMアプリ
Foam — リンクされたノートのためのVS Code拡張機能
Logseq — 双方向リンクを備えたアウトライナー
その他のテキストエディタや静的サイトジェネレーター
謝辞
Claude Code を使用して構築されました。
ライセンス
MIT
Maintenance
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
- Flicense-qualityFmaintenanceAn MCP server for managing LifeOS Obsidian vaults, enabling AI assistants to create, read, and search notes with YAML compliance and organizational standards.1
- Alicense-qualityBmaintenanceMCP 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.6MIT
- Alicense-qualityBmaintenancePython MCP server for programmatic access to markdown-based knowledge vaults, enabling AI assistants to browse, read, search, update, and manage notes, tasks, and projects.1MIT
- FlicenseAqualityAmaintenanceA 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.61,8711
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.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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