Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Turn text, web pages and PDFs into interactive mind maps. MCP server + CLI, no API key.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
MINDMAP_OUTPUT_DIR, ANTHROPIC_API_KEY, OPENAI_API_KEY, OPENAI_BASE_URL, MINDMAP_LLM_MODEL, MINDMAP_ALLOW_PRIVATE_HOSTS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"mindlm": {
"command": "npx",
"args": [
"-y",
"mindlm-mcp",
"serve"
],
"env": {
"MINDMAP_OUTPUT_DIR": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"OPENAI_BASE_URL": "your-value",
"MINDMAP_LLM_MODEL": "your-value",
"MINDMAP_ALLOW_PRIVATE_HOSTS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add mindlm --env MINDMAP_OUTPUT_DIR=your-value --env ANTHROPIC_API_KEY=your-value --env OPENAI_API_KEY=your-value --env OPENAI_BASE_URL=your-value --env MINDMAP_LLM_MODEL=your-value --env MINDMAP_ALLOW_PRIVATE_HOSTS=your-value -- npx -y mindlm-mcp serve运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mindlm": {
"command": "npx",
"args": [
"-y",
"mindlm-mcp",
"serve"
],
"env": {
"MINDMAP_OUTPUT_DIR": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"OPENAI_BASE_URL": "your-value",
"MINDMAP_LLM_MODEL": "your-value",
"MINDMAP_ALLOW_PRIVATE_HOSTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mindlm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mindlm-mcp",
"serve"
],
"env": {
"MINDMAP_OUTPUT_DIR": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"OPENAI_BASE_URL": "your-value",
"MINDMAP_LLM_MODEL": "your-value",
"MINDMAP_ALLOW_PRIVATE_HOSTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
MINDMAP_OUTPUT_DIR envOPENAI_BASE_URL envMINDMAP_LLM_MODEL envMINDMAP_ALLOW_PRIVATE_HOSTS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 qingchejun 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:ANTHROPIC_API_KEY, OPENAI_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.1)于23天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Master CSS
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Inspect Master CSS classes, generated CSS, and project stylesheets from your AI client.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Turn text, web pages and PDFs into interactive mind maps — an MCP server *and* a command-line tool, with no API key required.
npx -y mindlm-mcp demo
That renders a built-in example and opens it. One HTML file, no build step, no account, no key.
Docs and a live demo: https://qingchejun.github.io/mindlm-io/ · Source: https://github.com/qingchejun/mindlm-io
Every client runs the same command — npx -y mindlm-mcp serve — and needs no environment variables. MINDMAP_OUTPUT_DIR below is optional; it just decides where exported files land.
claude mcp add mindlm -- npx -y mindlm-mcp serve
Scope it to one project with --scope project, and pass environment variables with -e:
claude mcp add mindlm -e MINDMAP_OUTPUT_DIR=~/Documents/mindmaps -- npx -y mindlm-mcp serve
Check it with claude mcp list, or /mcp inside a session.
Add this to claude_desktop_config.json, then restart the app:
{
"mcpServers": { "mindlm": { "command": "npx", "args": ["-y", "mindlm-mcp", "serve"], "env": { "MINDMAP_OUTPUT_DIR": "~/Documents/mindmaps" } } } }
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonThe same block goes in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": { "mindlm": { "command": "npx", "args": ["-y", "mindlm-mcp", "serve"] } } }
Ready-to-copy versions of all three live in examples/configs/.
Then ask for a mind map in plain language — *"make a mind map of this PDF"*, *"map out https://example.com/article"* — and the client picks the right tool.
Four tools, always advertised in this order. The three *_to_mindmap tools return a Markdown outline; export_mindmap turns an outline into an HTML file. Every result carries both a readable text block and structuredContent.
text_to_mindmapOutline text or Markdown you already have — a draft, notes, a transcript, a pasted chapter.
| Field | Type | Notes | |||
|---|---|---|---|---|---|
text | string, required | The content to map. Capped by MINDMAP_MAX_INPUT_CHARS. | |||
mode | auto \ | client \ | llm \ | heuristic | Default auto. |
title | string | Root node title. Derived from the source if omitted. | |||
maxDepth | int 2–6 | Levels including the root. Default 4. | |||
maxChildren | int 3–15 | Children kept per node. Default 8. | |||
language | string | e.g. "English", "中文". Defaults to the source language. | |||
export | boolean | Also render an HTML file and return its path. | |||
outputPath | string | Where that file goes. |
Input:
{
"text": "# Tides\n\nSpring tides are the largest of the month.\n\n## Neap\n\nNeap tides are the smallest.\n" }
structuredContent (default auto mode with no API key, i.e. client mode):
{
"title": "Tides", "markdown": "# Tides\n\n## Spring tides are the largest of the month.\n\n### Neap\n- Neap tides are the smallest.\n", "mode": "client", "stats": { "inputChars": 79, "nodes": 4, "depth": 4, "truncated": false }, "sourceText": "# Tides\n\nSpring tides are the largest of the month.\n\n## Neap\n\nNeap tides are the smallest.", "instructions": "This is a DRAFT outline produced by a rule-based algorithm. …" }
With "mode": "heuristic" (or when an API key makes it "llm") the result is the same minus sourceText and instructions — the outline is final and ready to export.
url_to_mindmapFetch a page and outline its main content. Article text is extracted with Readability; navigation, footers and boilerplate are dropped. Page furniture goes too: reference markers ([1]), "[edit]" links, notes above the article, image captions, navigation boxes, and the trailing *See also* / *References* / *Notes* / *Further reading* / *External links* / *Bibliography* sections, which are link lists rather than content. A URL that serves a PDF is handed to the PDF pipeline automatically.
| Field | Type | Notes |
|---|---|---|
url | string, required | http(s) only. Private and loopback addresses are refused. |
| … | plus every option from text_to_mindmap |
Input:
{ "url": "https://example.com/tide-tables", "mode": "heuristic" }
structuredContent adds a source block describing where the text came from:
{
"title": "Tide tables", "markdown": "# Tide tables\n\n## Spring tides …\n\n## Neap tides …\n", "mode": "heuristic", "stats": { "inputChars": 1042, "nodes": 9, "depth": 3, "truncated": false }, "source": { "url": "https://example.com/tide-tables", "finalUrl": "https://example.com/tide-tables", "title": "Tide tables", "siteName": "Example", "fetchedAt": "2026-09-27T10:21:04.512Z", "contentType": "text/html" } }
pdf_to_mindmapRead a local PDF, using its bookmarks as the skeleton when it has them. A PDF stores positioned lines rather than paragraphs, so the soft-wrapped lines of one paragraph are rejoined before sentences are split — otherwise a browser's "print to PDF" would yield nodes like "releases oxygen." instead of whole sentences.
| Field | Type | Notes |
|---|---|---|
path | string, required | Path to a local PDF. ~ is expanded. |
pages | string | 1-based selection: "1-20", "3", "1-5,9". All pages by default. |
| … | plus every option from text_to_mindmap |
Input:
{ "path": "~/papers/attention.pdf", "pages": "1-12", "mode": "heuristic" }
structuredContent:
{
"title": "mindlm-mcp PDF fixture", "markdown": "# mindlm-mcp PDF fixture\n\n## 1. Introduction\n\n### Mind maps turn a wall of prose into something you can scan…\n", "mode": "heuristic", "stats": { "inputChars": 769, "nodes": 12, "depth": 4, "truncated": false }, "source": { "path": "/home/you/papers/attention.pdf", "totalPages": 3, "hasOutline": true } }
export_mindmapRender a Markdown outline into a standalone HTML mind map. Call this after you (or your model) have written the outline. It will not overwrite an existing file unless you ask.
| Field | Type | Notes |
|---|---|---|
markdown | string, required | One # root, then ##/### and - bullets. |
title | string | Page title. Defaults to the outline root. |
outputPath | string | File, or a directory to generate a name in. |
offline | boolean | Inline every script. Default true. |
toolbar | boolean | Zoom / fit / expand toolbar. Default true. |
initialExpandLevel | int −1–6 | Levels expanded on open; -1 expands everything. |
colorFreezeLevel | int 0–6 | Stop changing branch colour below this level. |
maxWidth | int 0–2000 | Maximum node width in pixels; 0 is unlimited. |
overwrite | boolean | Replace the file if it exists. Default false. |
returnHtml | boolean | Include the whole document in the result. Default false. |
branding | boolean | Add a small "Made with mindlm-mcp" footer link. Default false. |
Input:
{
"markdown": "# Tides\n\n## Spring\n\n- Sun and moon in line\n\n## Neap\n\n- At right angles\n" }
structuredContent:
{
"path": "/home/you/mindmaps/tides-20260927-183322.html", "fileUrl": "file:///home/you/mindmaps/tides-20260927-183322.html", "bytes": 344349, "nodes": 5, "offline": true }
The server also exposes one prompt, mindmap_outline, which returns the outline rules (optionally in a given language) followed by an instruction to call export_mindmap.
The same pipeline without a client. With no arguments and no terminal attached, mindlm-mcp starts the MCP server — which is what an MCP client wants.
mindlm-mcp demo # render a built-in example and open it
mindlm-mcp text notes.md -o notes.html # a file, or "-" to read stdin mindlm-mcp url https://example.com/article --open mindlm-mcp pdf paper.pdf --pages 1-20 mindlm-mcp export outline.md -o map.html # an outline you wrote yourself mindlm-mcp serve # MCP server on stdio mindlm-mcp doctor # runtime, LLM config, output directory
| Command | What it does |
|---|---|
serve | Start the MCP server on stdio. |
demo | Render the built-in example (--no-open to skip the browser). |
text | Outline a .txt/.md file, or - for stdin. |
url | Fetch a page and outline its main content. |
pdf | Outline a local PDF. |
export | Render an existing Markdown outline. |
doctor | Report what is configured and where files will be written. |
Options on the conversion commands:
| Option | Meaning |
|---|---|
-o, --output | Write here. A .md path writes the outline, .html the mind map. |
--title | Root node title and page title. |
--md | Print the Markdown outline to stdout. |
--mode | How the outline is written. |
--depth / --max-children | Shape of the tree. |
--lang | Language for the node labels. |
--provider / --model | Override the LLM configuration. |
--no-offline | Link CDN assets instead of inlining them. |
--no-toolbar | Hide the mind map toolbar. |
--open | Open the result in a browser. |
--overwrite | Replace the output file if it exists. |
--branding | Add the "Made with mindlm-mcp" footer link. |
-q, --quiet | Only print results, no progress. |
--env-file | Load environment variables from a file first. |
Results a script might consume (a file path, an outline) go to stdout; progress and diagnostics go to stderr. Exit codes: 0 ok, 1 usage error, 2 input error, 3 LLM error.
There is also a small programmatic API — textToOutline, urlToOutline, pdfToOutline, renderMindmapHtml, exportMindmap — exported from the package root.
Deciding what belongs in the tree is the hard part, and there are three ways to do it. You never have to supply a key for any of this to work.
| Mode | When it is used | What happens |
|---|---|---|
client | MCP default with no key | The server returns a rule-based draft, the cleaned source text and instructions. Your client's model — the one you are already talking to — rewrites the outline and calls export_mindmap. Nothing leaves your machine except what the client already sees. |
heuristic | CLI default with no key | Rules only, no network: headings become branches, ranked sentences become leaves. Fast, deterministic, offline. |
llm | Whenever ANTHROPIC_API_KEY or OPENAI_API_KEY is set | The server calls that model itself, over plain fetch, using your key and your endpoint. Falls back to the heuristic draft if the call fails. |
mode: "auto" (the default everywhere) picks the row that applies. You can always force one with mode over MCP or --mode on the CLI. Run mindlm-mcp doctor to see which one auto resolves to right now.
There is no hosted service b
只显示了开头部分;其余内容请在仓库中阅读