使用mcp生成思维导图
我的位置为:C:\Users\Administrator\AppData\Local\uv\cache\archive-v0\4421e_54T0B2Rk1o7Dwiq\Lib\site-packages\mindmap_mcp_server\server.py。uvx mindmap-mcp-server (仅支持linux)4.在助手中建议使用Qwen3-8B | 硅基流动。添加MCP服务器:
1.安装Cherry Studio
https://github.com/YuChenSSR/mindmap-mcp-server
注:在windows下请使用
pip install mindmap-mcp-server
uvx mindmap-mcp-server (仅支持linux)
3.配置cherry studio MCP
添加MCP服务器:可以用json格式导入
{
"mcpServers": {
"mindmap": {
"command": "python",
"args": ["/path/to/your/mindmap_mcp_server/server.py", "--return-type", "html"]
}
}
}
我的位置为:C:\Users\Administrator\AppData\Local\uv\cache\archive-v0\4421e_54T0B2Rk1o7Dwiq\Lib\site-packages\mindmap_mcp_server\server.py
4.在助手中建议使用Qwen3-8B | 硅基流动
5.提示词如下:
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 ##
以上是错误 的。
参考如下GITHUB:
更多推荐
所有评论(0)