Crawler Summary

mcp-docs-generator answer-first brief

Generates a dynamic MCP tool definition from Markdown documents. MCP Docs Generator A generator that creates dynamic MCP tool definitions from Markdown documents Overview This tool is a system that automatically generates document search MCP tools for Anthropic Claude from Markdown document directories. The basic MCP-Server implementation is fixed, and the document content is summarized and analyzed using LLM (Anthropic Claude), which optimizes the tool's name, description, and ot Published capability contract available. No trust telemetry is available yet. Last updated 2/24/2026.

Freshness

Last checked 2/22/2026

Best For

Contract is available with explicit auth and schema references.

Not Ideal For

mcp-docs-generator is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.

Evidence Sources Checked

editorial-content, capability-contract, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 89/100

mcp-docs-generator

Generates a dynamic MCP tool definition from Markdown documents. MCP Docs Generator A generator that creates dynamic MCP tool definitions from Markdown documents Overview This tool is a system that automatically generates document search MCP tools for Anthropic Claude from Markdown document directories. The basic MCP-Server implementation is fixed, and the document content is summarized and analyzed using LLM (Anthropic Claude), which optimizes the tool's name, description, and ot

MCPverified

Public facts

6

Change events

1

Artifacts

0

Freshness

Feb 22, 2026

Verifiededitorial-content1 verified compatibility signal

Published capability contract available. No trust telemetry is available yet. Last updated 2/24/2026.

Schema refs publishedTrust evidence available

Trust score

Unknown

Compatibility

MCP

Freshness

Feb 22, 2026

Vendor

Sodeyama

Artifacts

0

Benchmarks

0

Last release

0.1.0

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Published capability contract available. No trust telemetry is available yet. Last updated 2/24/2026.

Setup snapshot

git clone https://github.com/sodeyama/mcp-docs-generator.git
  1. 1

    Setup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Sodeyama

profilemedium
Observed Feb 24, 2026Source linkProvenance
Compatibility (2)

Protocol compatibility

MCP

contracthigh
Observed Feb 24, 2026Source linkProvenance

Auth modes

mcp, api_key

contracthigh
Observed Feb 24, 2026Source linkProvenance
Artifact (1)

Machine-readable schemas

OpenAPI or schema references published

contracthigh
Observed Feb 24, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB MCP

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Executable Examples

bash

git clone <repository URL>
   cd mcp-docs-generator

bash

npm install

bash

cp .env.example .env
   # Edit the .env file to set up API keys

bash

npm run build

bash

npm start -- -d <document directory path>

bash

npm start -- -d <document directory path> -o <output directory path>

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB MCP

Docs source

GITHUB MCP

Editorial quality

ready

Generates a dynamic MCP tool definition from Markdown documents. MCP Docs Generator A generator that creates dynamic MCP tool definitions from Markdown documents Overview This tool is a system that automatically generates document search MCP tools for Anthropic Claude from Markdown document directories. The basic MCP-Server implementation is fixed, and the document content is summarized and analyzed using LLM (Anthropic Claude), which optimizes the tool's name, description, and ot

Full README

MCP Docs Generator

A generator that creates dynamic MCP tool definitions from Markdown documents

Overview

This tool is a system that automatically generates document search MCP tools for Anthropic Claude from Markdown document directories. The basic MCP-Server implementation is fixed, and the document content is summarized and analyzed using LLM (Anthropic Claude), which optimizes the tool's name, description, and other metadata based on the results. Users only need to specify the document directory, and an MCP server optimized for the document content will be generated.

Key Features

  1. Document Analysis and LLM Summarization

    • Scan Markdown files in the specified directory
    • Summarize and analyze document content using LLM
    • Extract key topics and information structure
  2. Tool Metadata Generation

    • Generate appropriate names based on project name
    • Create optimal descriptions utilizing LLM summaries
    • Dynamically generate available path lists and descriptions
  3. MCP Server Template Application

    • Apply dynamic metadata to fixed server implementation
    • Reflect necessary settings
    • Generate startup scripts
    • Compatible with the latest @modelcontextprotocol/sdk v1.x

Installation

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn
  • Anthropic API key

Installation Steps

  1. Clone or download the repository.

    git clone <repository URL>
    cd mcp-docs-generator
    
  2. Install dependencies.

    npm install
    
  3. Set up environment variables.

    • Copy .env.example to .env and enter the necessary information.
    cp .env.example .env
    # Edit the .env file to set up API keys
    
    • Alternatively, you can set them directly as system environment variables (these take precedence).

Usage

Setting Environment Variables

You can set the following environment variables. They are prioritized in this order: System environment variables > .env file > default values.

  • ANTHROPIC_API_KEY (required): Anthropic API key
  • ANTHROPIC_API_MODEL (optional): Anthropic model to use (default: claude-3-sonnet-20240229)

Build and Run

  1. Build the TypeScript code.

    npm run build
    
  2. Run the generator.

    npm start -- -d <document directory path>
    

    To specify a custom output directory:

    npm start -- -d <document directory path> -o <output directory path>
    

    To specify a project name:

    npm start -- -d <document directory path> -p <project name>
    

    Alternatively, you can run it directly in development mode.

    npm run dev -- -d <document directory path>
    

Examples

# Run in development mode
npm run dev -- -d ./docs

# Build and run
npm run build
npm start -- -d ./docs

# Run with custom output directory
npm start -- -d ./docs -o ./output-servers

# Run with specified project name
npm start -- -d ./docs -p "my-project-docs"

# Run with all options
npm start -- -d ./docs -o ./output-servers -p "my-project-docs"

Creating and Using MCP Servers

MCP Server Creation Process

This tool creates MCP servers through the following steps:

  1. Document Analysis

    • Search for Markdown files in the specified directory
    • Read the content of each file and extract titles
  2. LLM Summarization

    • Send document content to the Anthropic Claude API
    • Get project name, summary, and key topics
    • Generate concise descriptions for each document
  3. Metadata Generation

    • Generate tool name, description, and list of available paths
    • Map each document's path, title, and description
    • Validate MCP tool name length (64 character limit for mcp__<server-name>__<tool-name> format)
  4. Server Code Generation

    • Generate TypeScript code in ES module format
    • Create package.json, tsconfig.json, and other configuration files
    • Compile TypeScript code
  5. Configuration File Generation

    • Generate configuration files for MCP clients

Output Location

By default, the generated MCP server is output to the following directory:

~/.mcp-server/{project name}

If a custom output directory is specified, it will be generated in that directory:

<custom output directory>/{project name}

Generated Files

The MCP server directory contains the following files:

  • package.json: Definition of dependencies and execution scripts
  • tsconfig.json: TypeScript compiler settings
  • mcp-server-config.json: MCP server configuration
  • src/index.ts: Main server code
  • .env.example: Example environment variable settings
  • .gitignore: Git exclusion file settings
  • dist/: Compiled JavaScript files
  • dist/mcp-config.json: Configuration file for MCP clients

Starting the Server

To start the generated MCP server, run the following commands:

cd ~/.mcp-server/{project name}
npm install
npm run dev  # Development mode
# or
npm start    # Run after build

Connecting with MCP Clients

The generated MCP server can be connected to and used from MCP clients (e.g., Claude AI).

  1. Using the Configuration File

    • Copy the generated dist/mcp-config.json file to the MCP client's configuration directory
    • Or use the configuration content output to the console
  2. Manual Connection

    • Add a new server in the MCP client
    • Specify the server name and port (default: 3000)

Using MCP Tools

The generated MCP server provides the following features:

  1. Retrieving Document Content

    • You can retrieve the content of documents at specified paths
    • Example: document_path: "path/to/document.md"
  2. Getting Document Titles

    • Title information extracted from Markdown files is also provided
    • Example: title: "Document Title"
  3. Document Descriptions

    • Concise descriptions summarized by LLM for each document are provided
    • Example: description: "This document explains how to use the API"

Notes

  • The generated server directly accesses the original document files. You need to ensure these files are accessible from the environment where the server is running.
  • For more robust operation, consider additional processing such as copying document files under server management.
  • LLM summarization processing may take time depending on the amount and complexity of documents.
  • Be careful with API key management. Make sure .env file is added to .gitignore to prevent committing it to Git repositories.

Troubleshooting

API Key Error

Error: ANTHROPIC_API_KEY is not set in the .env file.
  • Check that ANTHROPIC_API_KEY is correctly set in the .env file.
  • Or set ANTHROPIC_API_KEY as a system environment variable.

Document Directory Not Found

Error: Directory <path> not found.
  • Check that the path to the document directory is correct.
  • For relative paths, note that they are relative to the current directory.

MCP Tool Name Length Limit Error

Error: MCPツール名が64文字制限を超えています: "mcp__very-long-project-name__search-very-long-project-name-docs" (XX文字)
制限: 64文字
サーバー名: "very-long-project-name" (XX文字)
ツール名: "search-very-long-project-name-docs" (XX文字)
プロジェクト名またはツール名を短くしてください。

This error occurs when the generated MCP tool name exceeds the 64-character limit. The MCP tool name format is mcp__<server-name>__<tool-name>. To resolve this:

  1. Use a shorter project name with the -p option:

    npm start -- -d ./docs -p "short-name"
    
  2. Or rename your document directory to a shorter name and use that as the project name.

MCP Server Startup Error

SyntaxError: The requested module '@mastra/mcp' does not provide an export named 'createServer'

This error is due to changes in the API of the @mastra/mcp package. It can be resolved by:

  1. Regenerating the MCP server using the latest version of the generator
  2. Or modifying the src/index.ts file of the generated MCP server as follows:
// Before
import { createServer } from '@mastra/mcp';
// ...
const server = createServer({...});

// After
import * as mcp from '@mastra/mcp';
// ...
const server = new mcp.Server({...});
  1. After modification, run the following commands to rebuild the server:
cd ~/.mcp-server/{project name}
npm run build
npm start

TypeScript Compilation Error

If TypeScript compilation of the generated MCP server fails, manually compile it with the following steps:

cd ~/.mcp-server/{project name}
npm install
npx tsc

License

This project is released under the ISC License.

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

Verifiedcapability-contract

Contract coverage

Status

ready

Auth

mcp, api_key

Streaming

No

Data region

global

Protocol support

MCP: verified

Requires: mcp, lang:typescript

Forbidden: none

Guardrails

Operational confidence: medium

Contract is available with explicit auth and schema references.
Trust confidence is not low and verification freshness is acceptable.
Protocol support is explicitly confirmed in contract metadata.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/snapshot"
curl -s "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/contract"
curl -s "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITLAB_AI_CATALOGgitlab-mcp

Rank

83

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_PUBLIC_PROJECTSgitlab-mcp

Rank

80

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_AI_CATALOGrmcp-openapi

Rank

74

Expose OpenAPI definition endpoints as MCP tools using the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_AI_CATALOGrmcp-actix-web

Rank

72

An actix_web backend for the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)

Traction

No public download signal

Freshness

Updated 2d ago

MCP
Machine Appendix

Contract JSON

{
  "contractStatus": "ready",
  "authModes": [
    "mcp",
    "api_key"
  ],
  "requires": [
    "mcp",
    "lang:typescript"
  ],
  "forbidden": [],
  "supportsMcp": true,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": "https://github.com/sodeyama/mcp-docs-generator#input",
  "outputSchemaRef": "https://github.com/sodeyama/mcp-docs-generator#output",
  "dataRegion": "global",
  "contractUpdatedAt": "2026-02-24T19:45:29.544Z",
  "sourceUpdatedAt": "2026-02-24T19:45:29.544Z",
  "freshnessSeconds": 4433572
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "MCP"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_MCP",
      "generatedAt": "2026-04-17T03:18:21.577Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "MCP",
      "type": "protocol",
      "support": "supported",
      "confidenceSource": "contract",
      "notes": "Confirmed by capability contract"
    },
    {
      "key": "mcp",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "anthropic",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "claude",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "documentation",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "generator",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:MCP|supported|contract capability:mcp|supported|profile capability:anthropic|supported|profile capability:claude|supported|profile capability:documentation|supported|profile capability:generator|supported|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "MCP",
    "href": "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:45:29.544Z",
    "isPublic": true
  },
  {
    "factKey": "auth_modes",
    "category": "compatibility",
    "label": "Auth modes",
    "value": "mcp, api_key",
    "href": "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:45:29.544Z",
    "isPublic": true
  },
  {
    "factKey": "schema_refs",
    "category": "artifact",
    "label": "Machine-readable schemas",
    "value": "OpenAPI or schema references published",
    "href": "https://github.com/sodeyama/mcp-docs-generator#input",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:45:29.544Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Sodeyama",
    "href": "https://github.com/sodeyama/mcp-docs-generator",
    "sourceUrl": "https://github.com/sodeyama/mcp-docs-generator",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-02-24T19:43:14.176Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-sodeyama-mcp-docs-generator/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to mcp-docs-generator and adjacent AI workflows.