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.

Capabilities

Features and capabilities supported by this server

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

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/BitFigther/local-docs-mcp'

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