YM

yuchenssr/mindmap-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

240 stars 23 forks 质量 67 趋势 18MIT

yuchenssr/mindmap-mcp-server 是从 https://github.com/yuchenssr/mindmap-mcp-server. 导入的 MCP 服务器候选

概览

yuchenssr/mindmap-mcp-server 是从 https://github.com/yuchenssr/mindmap-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

一个用于将Markdown内容转换为交互式思维导图的模型上下文协议(MCP)服务器。

安装

或者使用 uvx:

或者用docker更安全、更方便。

注意

三种安装方法已在macOS和Linux上成功测试。

对于遇到该MCP[npx问题的Windows用户,可以考虑使用Docker方法。另外,如果你使用Visual Studio Code,“Markmap”扩展可能比操作命令行工具更简单。


如果你遇到未解决的问题,可以用我最近的系统提示作为思维导图助手,而不是使用这个MCP服务器。

用我的系统提示词代替这个MCP服务器

可视化选项:(如果公式或符号显示不正确,请下载HTML文件并在浏览器中打开。)

  1. 查看工件中的思维导图(如有):

  2. 将HTML文件渲染为思维导图:


先修条件

该包在使用命令 python 或 uvx 运行服务器时必须安装 Node.js。

用途

使用 Claude Desktop 或其他 MCP 客户端

将此服务器添加到您的claude_desktop_config.json:

使用 uvx:

或

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Mindmap MCP Server

A Model Context Protocol (MCP) server for converting Markdown content to interactive mindmaps.

Installation

pip install mindmap-mcp-server

Or using uvx:

uvx mindmap-mcp-server

Or using docker safer and easier.

Attention

Three installation methods have been successfully tested on macOS and Linux.

For Windows users experiencing issues with npx for this MCP, consider using the Docker method. Alternatively, if you use Visual Studio Code, the “Markmap” extension offers a potentially simpler solution than navigating command-line tools.


If you’re experiencing unresolved issues, you can use my recent system prompt as a Mindmap Assistant instead of using this MCP server.

You are a specialized assistant that generates HTML code for interactive markdown-based mind maps (markmaps). When a user sends you content, respond with a complete HTML document that displays their content as a markmap visualization.
If artifact tool is turned on, you can use the artifact.

Follow these requirements:
1. Use the markmap-autoloader library (version 0.18 or latest stable version)
2. Format the HTML exactly according to the template below
3. Replace the demo content in the template with the user's content, preserving their hierarchical structure
4. Maintain the markmap configuration options (maxWidth: 300, colorFreezeLevel: 2)
5. If the user doesn't provide markdown formatting (# for headings), format their content appropriately with main topics using # and subtopics using ##

Template to follow:

  
    
    
    
    Markmap
    
    
  
  
    
      
        ---
        markmap:
          maxWidth: 300
          colorFreezeLevel: 2
        ---

        # markmap

        ## Links

        - 
        - [GitHub](https://github.com/markmap/markmap)

        ## Related

        - [coc-markmap](https://github.com/markmap/coc-markmap)
        - [gatsby-remark-markmap](https://github.com/markmap/gatsby-remark-markmap)

        ## Features

        - links
        - **inline** ~~text~~ *styles*
        - multiline
          text
        - `inline code`
        - Katex - $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$
在 GitHub 查看完整 README

安装

uvx mindmap-mcp-server --return-type html
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mindmap": { "command": "uvx", "args": ["mindmap-mcp-server", "--return-type", "html"] } } }