Skip to main content
Glama
MCP Markdown Conversion Server

MCP Markdown Conversion Server

by FradSer

MCP-Server zu Markdown

Twitter Folgen Schmiedeabzeichen

Englisch |简体中文

Ein leistungsstarker Model Context Protocol (MCP)-Server, der Cloudflare-KI-Dienste nutzt, um verschiedene Dateiformate in Markdown-Beschreibungen zu konvertieren. Dieser Server bietet eine standardisierte Schnittstelle für die nahtlose Dateikonvertierung und Beschreibungsgenerierung.

Hauptmerkmale

  • Nahtlose Integration mit Cloudflare-KI-Diensten

  • Effiziente Generierung von Markdown-Beschreibungen

  • Umfassende Dateiformatunterstützung

  • Native Cloudflare tomarkdown API-Integration

  • Benutzerfreundliche MCP-Schnittstelle

  • Plattformübergreifende Kompatibilität

Related MCP server: Textin MCP Server

Unterstützte Dateiformate

Kategorie

Dateierweiterungen

Unterlagen

.pdf

Bilder

.jpeg, .jpg, .png, .webp, .svg

Webinhalte

.html

Daten

.xml, .csv

Tabellenkalkulationen

.xlsx, .xlsm, .xlsb, .xls, .et, .ods, .numbers

Systemanforderungen

  • Node.js 18 oder höher

  • Gültiges Cloudflare API-Token

  • Aktive Cloudflare-Konto-ID

Installation

Installation über Smithery

So installieren Sie Markdown转换服务器 für Claude Desktop automatisch über Smithery :

npx -y @smithery/cli install @FradSer/mcp-server-to-markdown --client claude

Manuelle Installation

Globale Installation mit npm:

npm install -g mcp-server-to-markdown

MCP-Client-Konfiguration

Cursor-Integration

  1. Navigieren Sie zu den Cursoreinstellungen

  2. Wählen Sie „MCP“ aus der Seitenleiste

  3. Wählen Sie „Neuen globalen MCP-Server hinzufügen“

  4. Wenden Sie die folgende Konfiguration an:

    {
      "mcpServers": {
        "to-markdown": {
          "command": "mcp-server-to-markdown",
          "args": [
            "CLOUDFLARE_API_TOKEN": "your_api_token"
            "CLOUDFLARE_ACCOUNT_ID": "your_account_id"
          ]
        }
      }
    }

Claude Desktop-Setup

Fügen Sie Ihrer claude_desktop_config.json Folgendes hinzu:

{
  "mcpServers": {
    "to-markdown": {
      "command": "mcp-server-to-markdown",
      "args": [
            "CLOUDFLARE_API_TOKEN": "your_api_token"
            "CLOUDFLARE_ACCOUNT_ID": "your_account_id"
          ]
    }
  }
}

ChatWise-Konfiguration

  1. Starten Sie ChatWise

  2. Zugriffseinstellungen

  3. Wählen Sie den Abschnitt „Tools“

  4. Klicken Sie auf „+“, um ein neues Werkzeug hinzuzufügen

  5. Konfigurieren Sie mit diesen Parametern:

    • Typ: stdio

    • ID: to-markdown

    • Befehl: mcp-server-to-markdown

    • Argumente:

      CLOUDFLARE_API_TOKEN=your_api_token
      CLOUDFLARE_ACCOUNT_ID=your_account_id

API-Referenz

To-Markdown-Tool

Konvertiert verschiedene Dateiformate in Markdown-Beschreibungen.

Eingabeparameter:

  • filePaths : Array (erforderlich) – Liste der zu verarbeitenden Dateipfade

Antwortstruktur:

[
  {
    "filename": "example.pdf",
    "mimeType": "application/pdf",
    "description": "Generated Markdown description",
    "tokens": 123
  }
]

Entwicklungshandbuch

Erste Schritte

  1. Umgebung klonen und einrichten:

git clone <repository-url>
cd mcp-server-to-markdown
cp .env.example .env
  1. Konfigurieren Sie die Cloudflare-Anmeldeinformationen:

CLOUDFLARE_API_TOKEN=your_api_token
CLOUDFLARE_ACCOUNT_ID=your_account_id
  1. Installieren Sie Abhängigkeiten und erstellen Sie:

npm install
npm run build

Projektstruktur

.
├── src/             # Source code
├── dist/            # Compiled output
├── types.ts         # Type definitions
└── .env             # Environment configuration

Verfügbare Skripte

  • npm run build – TypeScript-Code erstellen

  • npm run inspect – Mit MCP-Inspector ausführen

Anwendungsbeispiel

const result = await toMarkdown({
  filePaths: [
    "/path/to/document.pdf",
    "/path/to/image.jpg"
  ]
});

Lizenz

MIT-Lizenz

Dieses Projekt wird von Frad LEE betreut

Available Tools

1 tool
to-markdownC

Generate markdown description for files including PDF (.pdf), Images (.jpeg, .jpg, .png, .webp, .svg), HTML (.html), XML (.xml), Microsoft Office (.xlsx, .xlsm, .xlsb, .xls, .et), Open Document Format (.ods), CSV (.csv), and Apple Documents (.numbers)

Inputs: filePaths (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'to-markdown' has a clearly defined and distinct purpose: converting various file formats to markdown descriptions.

    Naming Consistency5/5

    Since there is only one tool, naming consistency is inherently perfect. The tool name 'to-markdown' follows a clear verb-object pattern that is appropriate for its function.

    Tool Count2/5

    A single tool is too few for a server with a broad scope like 'Markdown Conversion Server' that handles multiple file types. This thin surface may force agents to rely on this one tool for all conversion tasks, lacking specialized operations for different formats or scenarios.

    Completeness2/5

    The tool set is severely incomplete for the server's purpose. While 'to-markdown' covers conversion, there are obvious gaps such as no tools for validating markdown, handling conversion errors, or providing metadata about supported formats, which limits agent workflows.

    Related MCP Connectors

    Related MCP Servers