freeplane-mcp
freeplane-mcp
MCP-сервер, который позволяет AI-агентам, таким как Claude Desktop, Cursor и opencode, читать и изменять активную карту Freeplane через gRPC-плагин freeplane_plugin_grpc.
В отличие от одноразовых MCP-серверов типа «Markdown → image», изменения применяются в реальном времени к текущей открытой карте Freeplane.
Архитектура
MCP client (Claude / Cursor / opencode)
│
│ stdio or Streamable HTTP (MCP SDK)
▼
freeplane-mcp (Python, FastMCP)
│
│ gRPC (grpcio)
▼
Freeplane + org.freeplane.plugin.grpc
(port 50051)Related MCP server: xmind-mcp
Требования
Python 3.10+
Freeplane, запущенный с установленным gRPC-плагином
Порт gRPC Freeplane по умолчанию:
50051
Установка
cd ~/spaces/freeplane-mcp
python -m venv .venv
.venv/bin/pip install -e .Запуск
stdio
Транспорт по умолчанию для Claude Desktop, Cursor, opencode и др.:
.venv/bin/freeplane-mcpStreamable HTTP
.venv/bin/freeplane-mcp --transport http --port 8000Конфигурация
Переменная окружения | Параметр CLI | По умолчанию |
|
|
|
|
|
|
| — |
|
|
|
|
|
|
|
|
|
|
MCP-инструменты
export_map
Экспортирует текущую карту в канонический JSON.
Поддерживаемые поля включают:
text, id, children, note, detail, link, tags, icons, attributes, background_color, folded и relationships.
import_map
Импортирует интеллект-карту из канонического JSON.
Поддерживаемые значения insert_mode:
root— вставка под корневой узел карты; по умолчаниюnode— вставка подinsert_node_idselected— вставка под выбранный узел
Тестирование
Экспортируйте текущую карту:
.venv/bin/python -c "
import sys; sys.path.insert(0, '.')
from freeplane_mcp.freeplane_grpc import FreeplaneGrpcClient
c = FreeplaneGrpcClient()
print(c.export_map())
"Импортируйте карту и снова экспортируйте её:
.venv/bin/python -c "
import sys; sys.path.insert(0, '.')
from freeplane_mcp.freeplane_grpc import FreeplaneGrpcClient
c = FreeplaneGrpcClient()
c.import_map('{\"text\": \"Hello from MCP\", \"children\": [{\"text\": \"child 1\"}]}')
print(c.export_map())
"Конфигурация MCP-клиента
Пример конфигурации stdio:
{
"mcpServers": {
"freeplane": {
"command": "/home/bebebeka/spaces/freeplane-mcp/.venv/bin/freeplane-mcp"
}
}
}Конфигурация HTTP:
{
"mcpServers": {
"freeplane": {
"url": "http://127.0.0.1:8000/mcp"
}
}
}Примечания о формате JSON
Канонический JSON-формат определяется файлом JsonHelper.java плагина.
Импорт поддерживает _fp_import_root_node:
{"_fp_import_root_node": "root", "mindmap": {...}}вставляет ниже корневого узла карты.
{"_fp_import_root_node": "ID_...", "mindmap": {...}}вставляет ниже указанного узла.
Без обёртки карта вставляется ниже текущего выбранного узла.
Устаревший формат также поддерживается:
{"node text": {"child node": "note"}}Лицензия
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseAqualityCmaintenanceA Model Context Protocol server that enables LLMs to interact with MindManager mind maps, allowing retrieval of mind map structures and export to formats like Mermaid, Markdown, and JSON.1111MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to read and write XMind mind map files, allowing generation, editing, and analysis of mind maps directly in XMind.MIT
- AlicenseAqualityBmaintenanceEnables AI agents to build and interact with mind maps on mindmap.io. Agents can create, read, update, and delete maps and nodes, run prompts on nodes, and auto-expand topics into follow-up questions.13MIT
- AlicenseNot gradedqualityBmaintenanceEnables LLMs to read and edit XMind mind maps, including OCR for images embedded in nodes.MIT
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Shared long-term memory vault for AI agents with 20 MCP tools.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/metacoma/mcp-freeplane'
If you have feedback or need assistance with the MCP directory API, please join our Discord server