Skip to main content
Glama

md-pdf-mcp

md-pdf-mcp(Markdown 到 PDF MCP 服务器)

使用 VS Code 的 markdown 样式和 Python 的 ReportLab 将 Markdown 转换为样式精美的 PDF。

成分

资源

服务器实现了一个简单的笔记存储系统,其中包括:

  • 用于访问单个笔记的自定义 note:// URI 方案
  • 每个笔记资源都有一个名称、描述和文本/纯文本 mimetype

提示

服务器提供一个提示:

  • 总结笔记:创建所有存储笔记的摘要
    • 可选的“样式”参数用于控制详细程度(简要/详细)
    • 生成提示,结合所有当前注释和样式偏好

工具

服务器实现了一个工具:

  • add-note:向服务器添加新注释
    • 将“名称”和“内容”作为必需的字符串参数
    • 更新服务器状态并通知客户端资源变化

配置

[TODO:添加特定于您的实现的配置详细信息]

快速入门

安装

克劳德桌面

在 MacOS 上: ~/Library/Application\ Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

发展

构建和发布

准备分发包:

  1. 同步依赖项并更新锁文件:
uv sync
  1. 构建软件包分发版:
uv build

这将在dist/目录中创建源和轮子分布。

  1. 发布到 PyPI:
uv publish

注意:您需要通过环境变量或命令标志设置 PyPI 凭据:

  • 令牌: --tokenUV_PUBLISH_TOKEN
  • 或用户名/密码: --username / UV_PUBLISH_USERNAME--password / UV_PUBLISH_PASSWORD

调试

由于 MCP 服务器通过 stdio 运行,调试起来可能比较困难。为了获得最佳调试体验,我们强烈建议使用MCP Inspector

您可以使用以下命令通过npm启动 MCP Inspector:

npx @modelcontextprotocol/inspector uv --directory /Users/seanivore/Development/md-pdf-mcp run md-pdf-mcp

启动后,检查器将显示一个 URL,您可以在浏览器中访问该 URL 以开始调试。

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

使用 VS Code 的 markdown 样式和 Python 的 ReportLab 将 Markdown 转换为样式化的 PDF,提供具有自定义 URI 方案的简单笔记存储系统。

  1. 成分
    1. 资源
    2. 提示
    3. 工具
  2. 配置
    1. 快速入门
      1. 安装
    2. 发展
      1. 构建和发布
      2. 调试

    Related MCP Servers

    • A
      security
      F
      license
      A
      quality
      An MCP server for converting Markdown documents to PDF files.
      Last updated -
      1
      1
      JavaScript
    • A
      security
      A
      license
      A
      quality
      Converts various file types and web content to Markdown format. It provides a set of tools to transform PDFs, images, audio files, web pages, and more into easily readable and shareable Markdown text.
      Last updated -
      10
      2
      1,611
      TypeScript
      MIT License
      • Apple
    • A
      security
      A
      license
      A
      quality
      Converts various file formats to Markdown using the MarkItDown utility and can be integrated with MCP clients for seamless document processing and conversion.
      Last updated -
      26
      Python
      MIT License
    • A
      security
      A
      license
      A
      quality
      A document conversion server that transforms various file formats (PDFs, documents, images, audio, web content) to Markdown with improved multilingual and UTF-8 support.
      Last updated -
      10
      4
      TypeScript
      MIT License
      • Linux
      • Apple

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/seanivore/md-pdf-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server