MCP Markdown Conversion Server

by FradSer
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Uses dotenv for environment configuration to store Cloudflare authentication credentials

  • Utilizes Cloudflare AI services, specifically the tomarkdown API, to convert various file types to Markdown descriptions

  • Converts various file formats (including PDF, images, Office documents, and more) into Markdown descriptions

MCP 서버에서 마크다운으로

영어 | 간체 중국어

Cloudflare AI 서비스를 활용하여 다양한 파일 형식을 마크다운 설명으로 변환하는 강력한 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 원활한 파일 변환 및 설명 생성을 위한 표준화된 인터페이스를 제공합니다.

주요 특징

  • Cloudflare AI 서비스와의 원활한 통합
  • 효율적인 마크다운 설명 생성
  • 포괄적인 파일 형식 지원
  • 네이티브 Cloudflare tomarkdown API 통합
  • 사용자 친화적인 MCP 인터페이스
  • 크로스 플랫폼 호환성

지원되는 파일 형식

범주파일 확장자
서류.pdf
이미지.jpeg, .jpg, .png, .webp, .svg
웹 콘텐츠.html
데이터.xml, .csv
스프레드시트.xlsx, .xlsm, .xlsb, .xls, .et, .ods, .numbers

시스템 요구 사항

  • Node.js 18 이상
  • 유효한 Cloudflare API 토큰
  • 활성 Cloudflare 계정 ID

설치

npm을 사용하여 전역적으로 설치합니다.

지엑스피1

MCP 클라이언트 구성

커서 통합

  1. 커서 설정으로 이동
  2. 사이드바에서 "MCP"를 선택하세요
  3. "새로운 글로벌 MCP 서버 추가"를 선택하세요
  4. 다음 구성을 적용합니다.
    { "mcpServers": { "to-markdown": { "command": "mcp-server-to-markdown", "args": [ "CLOUDFLARE_API_TOKEN": "your_api_token" "CLOUDFLARE_ACCOUNT_ID": "your_account_id" ] } } }

클로드 데스크탑 설정

claude_desktop_config.json 에 다음을 추가하세요.

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

ChatWise 구성

  1. ChatWise 실행
  2. 액세스 설정
  3. 도구 섹션 선택
  4. 새로운 도구를 추가하려면 "+"를 클릭하세요.
  5. 다음 매개변수로 구성하세요.
    • 유형: stdio
    • ID: to-markdown
    • 명령어: mcp-server-to-markdown
    • 인수:
      CLOUDFLARE_API_TOKEN=your_api_token CLOUDFLARE_ACCOUNT_ID=your_account_id

API 참조

to-markdown 도구

다양한 파일 형식을 마크다운 설명으로 변환합니다.

입력 매개변수:

  • filePaths : 배열(필수) - 처리할 파일 경로 목록

응답 구조:

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

개발 가이드

시작하기

  1. 복제 및 설정 환경:
git clone <repository-url> cd mcp-server-to-markdown cp .env.example .env
  1. Cloudflare 자격 증명을 구성합니다.
CLOUDFLARE_API_TOKEN=your_api_token CLOUDFLARE_ACCOUNT_ID=your_account_id
  1. 종속성을 설치하고 빌드합니다.
npm install npm run build

프로젝트 구조

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

사용 가능한 스크립트

  • npm run build - TypeScript 코드 빌드
  • npm run inspect - MCP 검사기로 실행

사용 예

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

특허

MIT 라이센스

이 프로젝트는 Frad LEE 가 관리합니다.

-
security - not tested
F
license - not found
-
quality - not tested

Cloudflare AI 서비스를 사용하여 다양한 파일 형식(PDF, 이미지, Office 문서 등)을 Markdown 설명으로 변환하는 서버입니다.

  1. Key Features
    1. Supported File Formats
      1. System Requirements
        1. Installation
          1. MCP Client Configuration
            1. Cursor Integration
            2. Claude Desktop Setup
            3. ChatWise Configuration
          2. API Reference
            1. to-markdown Tool
          3. Development Guide
            1. Getting Started
            2. Project Structure
            3. Available Scripts
          4. Usage Example
            1. License
              ID: 3gscu24rlk