Skip to main content
Glama

DocGen MCP サーバー

ソース ファイルから自動的にドキュメントを作成するためのドキュメント ジェネレーター MCP サーバー。

概要

DocGen MCPサーバーは、ソースファイルから情報を抽出し、テンプレートを適用することで、標準化されたドキュメントの作成を自動化します。他のMCPサーバー(Google Drive、GitHub、Perplexity)とシームレスに統合され、包括的なソリューションを提供します。

Related MCP server: RAG Documentation MCP Server

特徴

  • GitHubリポジトリとGoogleドライブファイルから情報を抽出する

  • 複数のソースタイプ(スクリプト、プレゼンテーション、コード、参照ドキュメント)を処理する

  • テンプレートベースのドキュメント生成

  • ドキュメント履歴の追跡

  • Perplexity 統合による AI 強化コンテンツ生成

インストール

前提条件

  • Node.js 16以上

  • npmまたはyarn

  • Google Drive API へのアクセス(Google Drive ソース抽出用)

  • GitHub API へのアクセス (GitHub ソース抽出用)

手順

  1. リポジトリをクローンします。

    git clone https://github.com/rjadhav/docgen-mcp.git
    cd docgen-mcp
  2. 依存関係をインストールします:

    npm install
  3. プロジェクトをビルドします。

    npm run build
  4. MCP 設定ファイルに以下を追加します:

クロードデスクトップ向け

~/Library/Application Support/Claude/claude_desktop_config.jsonを編集します。

{
  "mcpServers": {
    "docgen-mcp": {
      "command": "node",
      "args": ["/path/to/docgen-mcp/build/index.js"],
      "env": {},
      "disabled": false,
      "autoApprove": []
    }
  }
}

VSCode Clineの場合

VSCode Claude Dev 拡張機能の MCP 設定ファイルを編集します。

{
  "mcpServers": {
    "docgen-mcp": {
      "command": "node",
      "args": ["/path/to/docgen-mcp/build/index.js"],
      "env": {},
      "disabled": false,
      "autoApprove": []
    }
  }
}

使用法

DocGen MCP サーバーは次のツールを公開します。

ドキュメント作成

テンプレートを使用してソース ファイルからドキュメントを生成します。

リストテンプレート

利用可能なドキュメント テンプレートを一覧表示します。

ドキュメント履歴の表示

以前に生成されたドキュメントの履歴を表示します。

テンプレート

テンプレートはtemplatesディレクトリに保存され、コンテンツ生成にはシンプルなマーカー システムが使用されます。

  • glama-ai - プロジェクト識別子に置き換えられました

  • {{date}} - 現在の日付

  • {{section:NAME}} - 名前付きセクションの生成されたコンテンツに置き換えられます

テンプレート ディレクトリに新しい.templateファイルを作成することで、カスタム テンプレートを追加できます。

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。

Available Tools

3 tools
create_documentationC

Create documentation from source files using a template

Inputs: project_id (required), sources (required), template_type (required), output_path.

list_templatesC

List available documentation templates

Inputs: category.

view_document_historyB

View history of previously generated documents

Inputs: limit, project_id.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: create_documentation generates new docs, list_templates shows available templates, and view_document_history accesses past outputs. There is no overlap or ambiguity between these functions.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (create_documentation, list_templates, view_document_history) with snake_case throughout. The naming is predictable and readable.

    Tool Count3/5

    With only 3 tools, the set feels thin for a documentation generation server. While it covers core operations, more tools might be expected for tasks like updating templates, deleting documents, or customizing generation parameters.

    Completeness3/5

    The tools cover creation, template listing, and history viewing, but there are notable gaps: no update or delete operations for documents or templates, and no way to customize generation beyond templates. This could limit agent workflows.

    Related MCP Connectors

    Related MCP Servers