cognigraph-mcp-server
CogniGraph MCP 服务器是一个模型上下文协议服务器,旨在生成思维导图、关系图谱和知识图谱,兼容多种本地 MCP 客户端。
CogniGraph MCP 服务器是一个专为生成思维导图、关系图谱和知识图谱而设计的模型上下文协议 (MCP) 服务器。它利用外部命令行工具如 markmap-cli
和 @mermaid-js/mermaid-cli
,并通过兼容 OpenAI 的 API 进行 AI 分析。该服务器与多种本地 MCP 客户端兼容,包括 Claude Desktop、Cherry Studio、DeepChat 和 HyperChat。用户可以通过 MCP 客户端的 use_mcp_tool
功能来调用服务器提供的工具。服务器的配置依赖于 MCP 客户端设置文件中的环境变量,以实现特定功能,如文件保存路径和 API 访问权限。CogniGraph MCP 服务器支持通过 npx 快速启动,简化了安装和配置过程。
Features
- {'name': 'generate_mindmap', 'description': '从 Markdown 文本生成思维导图,返回 HTML 或 SVG 内容。'}
- {'name': 'generate_and_save_mindmap', 'description': '从 Markdown 文本生成思维导图,并将结果保存为文件。'}
- {'name': 'generate_relationship_graph', 'description': '从 Mermaid 语法文本生成关系图谱,并将结果保存为文件。'}
- {'name': 'generate_knowledge_graph', 'description': '使用 AI 模型分析 Markdown 文本,生成知识图谱的 Mermaid 代码,并渲染为图像。'}
Usage with Different Platforms
Cherry Studio
{
"mcpServers": {
"cognigraph-mcp-server": {
"command": "npx",
"args": [
"cognigraph-mcp-server"
],
"env": {
"MINDMAP_DEFAULT_SAVE_DIR": "C:\\Users\\YourUser\\Desktop",
"OPENAI_API_KEY": "sk-...",
"OPENAI_BASE_URL": "http://localhost:11434/v1",
"OPENAI_DEFAULT_MODEL": "llama3"
},
"disabled": false,
"alwaysAllow": []
}
}
}
Related MCP Servers
View all knowledge_and_memory servers →git-mcp
by idosal
GitMCP is a free, open-source, remote Model Context Protocol (MCP) server that transforms GitHub projects into documentation hubs, enabling AI tools to access up-to-date documentation and code.
Knowledge Graph Memory Server
by modelcontextprotocol
A basic implementation of persistent memory using a local knowledge graph, allowing Claude to remember information about the user across chats.
mcpdoc
by langchain-ai
MCP LLMS-TXT Documentation Server provides a structured way to manage and retrieve LLM documentation using the Model Context Protocol.
rust-docs-mcp-server
by Govcraft
The Rust Docs MCP Server provides an up-to-date knowledge source for specific Rust crates, enhancing the accuracy of AI coding assistants by allowing them to query current documentation.
mindmap-mcp-server
by YuChenSSR
A Model Context Protocol (MCP) server for converting Markdown content to interactive mindmaps.
algorand-mcp
by GoPlausible
This is a Model Context Protocol (MCP) implementation for Algorand blockchain interactions, providing a server package for blockchain interactions and a client package for wallet management and transaction signing.
basic-memory
by basicmachines-co
Basic Memory is a tool that allows users to build a persistent knowledge base through natural conversations with LLMs, storing information in Markdown files.