Skip to main content
Glama

mind-map-mcp

一个用于生成思维导图的 MCP (Model Context Protocol) 服务器。

功能特性

  • 🧠 根据文本内容自动生成思维导图

  • 🔗 返回可访问的思维导图图片链接

  • 🚀 支持 CodeBuddy、Cursor、Qoder 等 MCP 客户端

  • 🌐 基于 Coze API 的强大思维导图生成能力

Related MCP server: @processon/mcp-server-processon

创新点

首次使用 Coze 作为核心工作流制作MCP:

  • 无需考虑报错。报错可以直接通过 Coze 找到对应原因

  • 逻辑处理。可以任意修改 Coze 的工作流,更新发布即可,无需重新修改mcp

  • 已于维护

安装

通过 NPM 安装

npm install -g @lucianaib/mind-map-mcp

通过 npx 直接使用

npx @lucianaib/mind-map-mcp

配置

在 CodeBuddy、 Qoder中配置

  1. 打开 CodeBuddy 设置

  2. 找到 MCP 服务器配置

  3. 添加新的服务器:

{
  "mcpServers": {
    "mind-map": {
      "command": "npx",
      "args": ["@lucianaib/mind-map-mcp"]
    }
  }
}

![CodeBuddy 配置成功示例.png](src\CodeBuddy 配置成功示例.png)

在 Cursor 中配置

  1. 打开 Cursor 设置 (Ctrl/Cmd + ,)

  2. 搜索 "MCP"

  3. 在 MCP 服务器配置中添加:

{
  "mind-map": {
    "command": "npx",
    "args": ["@lucianaib/mind-map-mcp"]
  }
}

使用方法

配置完成后,你可以在支持 MCP 的工具中使用以下功能:

生成思维导图

用 MCP 帮我生成一个关于"分布式系统架构"的思维导图

实战生成思维导图.png

或者直接调用工具:

使用 generate_mindmap 工具,内容为:"机器学习的基本概念和应用"

可用工具

generate_mindmap

根据输入内容生成思维导图。

参数:

  • content (string, 必需): 要转换为思维导图的内容描述

返回:

  • 思维导图的图片链接

  • 生成状态信息

开发

本地开发

  1. 克隆仓库:

git clone git@github.com:OnePieceLwc/mind-map-mcp.git
cd mind-map-mcp
  1. 安装依赖:

npm install
  1. 构建项目:

npm run build
  1. 启动开发模式:

npm run dev

项目结构

Mind-map-mcp/
├── src/
│   └── index.ts          # 主要的 MCP 服务器代码
├── dist/                 # 编译后的 JavaScript 文件
├── package.json          # 项目配置
├── tsconfig.json         # TypeScript 配置
└── README.md            # 项目说明

API 说明

本工具使用 Coze API 来生成思维导图。API 详情:

  • 端点: https://api.coze.cn/v1/workflow/run

  • 方法: POST

  • 认证: Bearer Token

  • 返回: 思维导图图片链接

故障排除

常见问题

  1. "未知工具" 错误

    • 确保 MCP 服务器正确配置

    • 检查工具名称是否正确 (generate_mindmap)

  2. API 请求失败

    • 检查网络连接

    • 确认 API 服务状态

  3. 中文编码问题

    • 本工具已处理中文编码,支持中文内容输入

调试模式

启动时会在 stderr 输出调试信息,可以通过查看日志来诊断问题。

许可证

MIT License

贡献

欢迎提交 Issue 和 Pull Request!

Available Tools

1 tool
generate_mindmapB

根据输入内容生成思维导图

ParametersJSON Schema
NameRequiredDescriptionDefault
contentYes要转换为思维导图的内容描述

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description is minimal and does not disclose any behavioral traits beyond the basic function. No annotations exist, so the description carries full burden, but it fails to mention output format, processing details, limitations, or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise and directly communicates the core action. However, it may be too brief for completeness, but it earns high marks for efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite the simple tool (1 parameter, no output schema), the description omits what the output is or any behavioral context. For a tool with no output schema, the description should at least indicate the result of generation, making it incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The tool description adds no additional meaning beyond the schema description for the 'content' parameter; it simply restates the purpose.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's action ('generate') and resource ('mind map') based on input content. As no sibling tools are provided, the description sufficiently distinguishes the tool's purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool or any alternatives. There is no mention of prerequisites, context, or when not to use it, leaving the agent with no decision support.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 1 tool updatev3.0.0
    • First observedgenerate_mindmap

TDQS

B3.4/5.0
Disambiguation5/5

Only one tool exists, so there is no possibility of ambiguity.

Naming Consistency5/5

With a single tool, naming consistency is trivial; the name 'generate_mindmap' follows a clear verb_noun pattern.

Tool Count3/5

A single tool for generating mind maps feels thin; while it might cover the basic need, a typical mind map server could benefit from additional tools for tasks like listing, editing, or exporting.

Completeness3/5

The server only provides a generation tool; there are no tools for retrieval, update, or deletion of mind maps, leaving potential gaps in a full workflow.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

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/OnePieceLwc/mind-map-mcp'

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