Skip to main content
Glama
BitFigther

local-docs-mcp

by BitFigther

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DOCS_ROOTYesPath to the root directory containing documents to search and read.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_documentsA

検索対象フォルダ (DOCS_ROOT) 配下のドキュメント一覧を返す。

Returns:
    各ドキュメントの相対パス・サイズ(バイト)・更新日時のリスト。
search_documentsA

DOCS_ROOT 配下のドキュメントを全文検索する。

Args:
    query: 検索キーワード。スペース区切りで複数指定するとAND検索(大文字小文字は区別しない)。
    max_results: 返す文書数の上限。

Returns:
    マッチした文書ごとに 相対パス・マッチ回数・前後の抜粋(snippets) を、マッチ回数の多い順で返す。
    本文全体が必要なら read_document を使うこと。
read_documentA

ドキュメントの本文をテキスト(Markdown)として読み出す。

Args:
    path: search_documents / list_documents が返した相対パス。
    offset: 読み出し開始位置(文字数)。大きい文書の続きを読むときに使う。
    max_chars: 一度に返す最大文字数。

Returns:
    本文テキストと、全体の文字数・続きがあるかどうか。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: listing all documents, reading a specific document with pagination, and full-text searching. No ambiguity or overlap.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (list_documents, read_document, search_documents), making them predictable.

Tool Count5/5

Three tools are well-scoped for a document server, covering the essential operations without unnecessary bloat or deficiency.

Completeness5/5

The tool set provides listing, reading with pagination, and full-text search, which is complete for a read-only document retrieval system. No obvious gaps.

Maintenance

ActivityStale
ResponsivenessNo issues