MCP server gomddoc
Коммит 9 нояб. 2026 г.Позволяет AI-агентам искать и читать документацию в формате Markdown, включая страницы, разделы и оглавление.
Также известен как monolithiclab/gomddoc
- Звёзды
- 0
- Инструменты
- —
- Загрузки, 30 дней
- —
- Последняя версия
- 0.5.1
- Последний коммит
- 9 нояб. 2026 г.
- Лицензия
- —
Что такое gomddoc MCP?
gomddoc — это MCP server. Позволяет AI-агентам искать и читать документацию в формате Markdown, включая страницы, разделы и оглавление.
Сводка сгенерирована из README проекта
О gomddoc MCP server
gomddoc позволяет AI-агентам искать и читать документацию в формате Markdown. Этот инструмент предоставляет специализированный интерфейс для взаимодействия LLM с сайтами документации, открывая инструменты только для чтения: поиск, чтение страниц, доступ к конкретным разделам и навигацию по оглавлению. Он может работать как готовый к эксплуатации HTTP server, так и как генератор статических сайтов для Markdown-контента.
Разработчики могут развернуть его через stdio с помощью команды gomddoc mcp или через streamable HTTP соединение по эндпоинту /_mcp/. Сервер поддерживает контент из локальных директорий или Git-репозиториев через HTTPS или SSH. Для полнотекстового поиска используется инвертированный индекс TF-IDF, что позволяет агентам находить конкретную информацию внутри структуры документации. Система спроектирована для использования в продакшене и включает встроенные функции безопасности, такие как ограничение доступа к путям (path jailing) и опциональную аутентификацию через htpasswd.
Что вы можете с ним делать
- 1Поиск по контенту документацииПопросите AI-агента найти конкретную информацию на сайте документации, используя полнотекстовый поиск.
- 2Навигация по структуре документацииПозвольте AI-агенту изучить оглавление или навигацию сайта, чтобы понять иерархию документации.
- 3Чтение конкретных разделов документацииДайте AI команду извлечь и прочитать определенный раздел Markdown-страницы.
- 4Синхронизация документации из GitНастройте сервер документации, который будет автоматически подтягивать контент из удаленного Git-репозитория.
Взято из README проекта. Каждый вариант использования проверен на соответствие цитате из него.
Как установить gomddoc MCP
Форматы проверены 10 ноя 2026Добавить в CursorДобавить в GooseУстановка gomddoc MCP в Claude Code
$ claude mcp add gomddoc -- docker run -i --rm ghcr.io/monolithiclab/gomddoc:0.5.1Установка gomddoc MCP в Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"gomddoc": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/monolithiclab/gomddoc:0.5.1"
]
}
}
}Установка gomddoc MCP в VS Code
.vscode/mcp.json
{
"servers": {
"gomddoc": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/monolithiclab/gomddoc:0.5.1"
]
}
}
}Установка gomddoc MCP в VS Code CLI
$ code --add-mcp '{"name":"gomddoc","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/monolithiclab/gomddoc:0.5.1"]}'Установка gomddoc MCP в Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"gomddoc": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/monolithiclab/gomddoc:0.5.1"
]
}
}
}Установка gomddoc MCP в Codex
$ codex mcp add gomddoc -- docker run -i --rm ghcr.io/monolithiclab/gomddoc:0.5.1Установка gomddoc MCP в Codex config.toml
~/.codex/config.toml
[mcp_servers.gomddoc] command = "docker" args = ["run", "-i", "--rm", "ghcr.io/monolithiclab/gomddoc:0.5.1"]
Установка gomddoc MCP в Gemini CLI
$ gemini mcp add -s user gomddoc docker -- run -i --rm ghcr.io/monolithiclab/gomddoc:0.5.1Установка gomddoc MCP в Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"gomddoc": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/monolithiclab/gomddoc:0.5.1"
]
}
}
}Автоматические проверки
Запущено 15 нояб. 2026 г.Полный отчёт →Еще не проверено. Для сервера требуется оценка 80, отсутствие серьезных проблем и достаточно данных для нашей проверки. Как работают проверки · Что исправить, чтобы получить больше баллов
- Связанный и доступный исходный репозиторийmonolithiclab/gomddoc is public and reachablegithub.com/monolithiclab/gomddoc ↗Пройдено
- Пакет указывает этот репозиторий как источникНе проверялось
- Происхождение сборки (аттестация Sigstore)Не проверялось
- Open source лицензия (OSI)No licenseПроблема
- Коммит или релиз за последний годLast commit or release 2026-11-09github.com/monolithiclab/gomddoc ↗Пройдено
- OpenSSF ScorecardНе проверялось
- Имя пакета не похоже на популярный пакетНе проверялось
- Нет критических предупреждений в пакете или его зависимостяхНе проверялось
- Нет скрытых инструкций для модели0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersПройдено
- Деструктивные инструменты помеченыНе проверялось
- Удалённая конечная точка отвечает на рукопожатие MCPНе проверялось
README
Открыть на GitHubGomddoc
A production-ready HTTP server and static site generator for Markdown documentation, with content negotiation, full-text search, SEO output and a built-in MCP server.
Status
Released and in use: v0.5.1 (2026-11-05) is on GitHub Releases, the Homebrew tap (monolithiclab/tap) and
ghcr.io/monolithiclab/gomddoc, and it publishes Monolithic Lab's own sites. Pre-1.0: configuration keys can still
change between minor versions (since v0.1.2 an unknown key in .gomddoc/config.yml is a load error, so check a site
with gomddoc doctor before bumping a pinned version). Open bugs and the ranked backlog are in ROADMAP.md.
Features
- Universal Content Serving: Renders Markdown to HTML inside a theme; serves HTML, CSS, JS, images and every other file type with its detected MIME type
- Content Negotiation:
Acceptheader support;Accept: text/markdownreturns the raw Markdown source, an unsatisfiableAcceptgets406 - Clean URLs:
.mdis stripped from URLs by default (/guideserves the page forguide.md); links between pages written asguide.mdpoint at the clean URL - Markdown URLs: every page's
.mdURL (/guide.md) serves its Markdown with generated frontmatter, inserveand in static builds, and each HTML page links it asrel="alternate" - llms.txt:
/llms.txtindexes the site for AI agents from the navigation, each page linked by its Markdown URL - Git-Native Content: Serve a local directory or a
git+https:///git+ssh://repository URL (in-memory or on-disk clone) - Static Site Generation:
gomddoc buildwrites a static site with clean-URL directories,404.html, sitemap, feed and redirect stubs - Full-Text Search: TF-IDF inverted index built at startup,
tag:filter syntax,GET /api/search, and a Ctrl+K search dialog in every theme - SEO: Canonical URLs,
sitemap.xml,robots.txt, Atomfeed.xml, Open Graph and Twitter tags, JSON-LD, per-pagerobots,redirect_fromandrel="prev/next", enabled by setting a domain - Tags: Frontmatter tags rendered as chips,
/tags/and/tags/{tag}pages, a see-also section and/api/tags - Internationalization: BCP 47 language directories (
fr-FR/) served under/{lang}/, translated UI strings, a language switcher andhreflangtags - MCP Server:
gomddoc mcp(stdio) and/_mcp/(Streamable HTTP) expose read-only search, page, section and navigation tools to AI agents; every stable release is listed in the MCP Registry asio.github.monolithiclab/gomddoc, running the container image - Themes: One bundled theme (
default) plus seven more in gomddoc-themes; feature toggles and CSS variables in config - Review Annotations: Select text on a rendered page, attach a note, and copy every note of the page as Markdown
naming the source file, ready to paste into an LLM harness; notes stay in the browser's
localStorage - Self-Documenting:
gomddoc help,gomddoc info,gomddoc schemaandgomddoc doctorread the embedded guide, list every setting, print the config JSON Schema and check a site for problems - Secure Defaults: Path jail, hidden-file and
excludeblocking (404), GET/HEAD-only content routes, security headers, optional htpasswd Basic Auth - Operations: Graceful shutdown, configurable timeouts, gzip, ETags, Prometheus metrics, health endpoints, optional pprof, and a separate admin listener
Install
# Install script (Linux / macOS, amd64 / arm64): checksum-verified, cosign-verified when cosign is installed
curl -fsSL https://raw.githubusercontent.com/monolithiclab/gomddoc/main/scripts/install.sh | sh
# Homebrew (macOS / Linux)
brew install monolithiclab/tap/gomddoc
# Go toolchain
go install github.com/monolithiclab/gomddoc/cmd/gomddoc@latest
# Docker (multi-arch image on GitHub Container Registry)
docker run --rm -p 8080:8080 -v "$PWD:/site" ghcr.io/monolithiclab/gomddoc serve /site
Release archives carry an SPDX SBOM each and a Sigstore-signed SHA256SUMS; the
Quick Start explains the install script's options and how to verify a release by hand.
gomddoc is free for noncommercial use under the PolyForm Noncommercial License 1.0.0, which covers open-source projects, personal sites, non-profits and education; any for-profit use, internal documentation included, needs a commercial license. Request a free license through the issue form.
Use
gomddoc serve ./docs # production server on :8080 (also git+https:// and git+ssh:// URLs)
gomddoc preview ./docs # dev mode, first free port from 8080, opens the browser
gomddoc build ./docs -d docs.example.com # static site into build/site
gomddoc doctor ./docs # every configuration and content problem, with fixes
gomddoc help # the user guide, embedded in the binary
Documentation
The user guide is docs/guide/, the same pages gomddoc help and the gomddoc mcp server
serve:
| Topic | Page |
|---|---|
| Install, first site, verifying a release | Quick Start |
| Every flag, environment variable and config key | Configuration |
| Local directories and Git sources | Content Sources |
| AI agents over MCP | MCP Server |
| Themes, templates, web components | Theming & Assets |
| Authentication, path jail, headers | Security |
| Health, metrics, pprof | Observability |
| Docker, Kubernetes, static hosting | Deployment |
| Search, SEO, i18n | Search, SEO, Internationalization |
| HTTP endpoints and headers, custom renderers | Advanced Topics |
| Problems and fixes | Doctor, Troubleshooting |
For contributors: docs/architecture.md (how the pieces fit),
docs/decisions.md (why, D-numbered), docs/specs/ and plans/ (feature designs and
their execution notes), docs/reviews/ (review rounds) and ROADMAP.md.
Development
Requirements: Go (the exact toolchain is pinned by go.mod's toolchain line and fetched automatically) and Make.
Lint and benchmark tools are pinned in tools/go.mod; nothing needs installing globally.
make help # every command
make ci # the gate CI runs: golangci-lint, govulncheck, go mod tidy -diff, action/image pin checks,
# then tests with -race and 87% minimum coverage (needs network for govulncheck)
make run # serve ./testsite locally
Contributions: branch, make lint-fix, make ci, then a pull request. Coverage stays at 87% or above.
License
gomddoc is dual-licensed:
- Noncommercial use (personal projects, hobby use, education, research, and other noncommercial purposes) is free under the PolyForm Noncommercial License 1.0.0.
- Commercial use — any use that is not a noncommercial purpose, including use in or for a for-profit business, product, or service — requires a separate commercial license. See LICENSE-COMMERCIAL.md.
Release notes for each version are on GitHub Releases, generated by GoReleaser from conventional commit messages.
Вопросы о gomddoc MCP
Как добавить gomddoc MCP в Claude Code?
Выполните claude mcp add gomddoc -- docker run -i --rm ghcr.io/monolithiclab/gomddoc:0.5.1 в терминале. Добавьте --scope user, чтобы сервер был доступен во всех проектах.
Как добавить gomddoc MCP в Cursor?
Откройте ~/.cursor/mcp.json и добавьте сервер в mcpServers, используя конфигурацию Cursor из раздела установки выше.
Что умеет этот MCP server?
MCP server предоставляет инструменты только для чтения, позволяющие искать и читать страницы, разделы и перемещаться по навигации в документации.
Можно ли отдавать документацию напрямую из Git-репозитория?
Да, вы можете использовать локальную директорию или Git-репозиторий через HTTPS или SSH.
Можно ли проверить документацию на наличие ошибок конфигурации?
Да, вы можете использовать команду gomddoc doctor, чтобы проверить сайт на наличие проблем с конфигурацией и контентом.