Skip to main content
Glama

Docs-MCP

by herring101

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DOCS_FOLDERSNoFolders to read (comma-separated)All folders in docs/
DOCS_BASE_DIRNoRoot directory of the document projectCurrent directory
OPENAI_API_KEYNoOpenAI API key for semantic search functionality
DOCS_FILE_EXTENSIONSNoTarget file extensions to includeDefault extensions list

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_docs

所持しているドキュメントの一覧を取得

get_doc

指定したドキュメントの内容を取得

Args: path: ドキュメントのファイルパス
grep_docs

ドキュメント内をgrepで検索

Args: pattern: 検索パターン(正規表現対応) ignore_case: 大文字小文字を無視するか(デフォルト: True)
semantic_search

意味的に関連する内容を検索

Args: query: 検索クエリ limit: 返す結果の最大数(デフォルト: 5)

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

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