CodeMind MCP
Enables users to manage GitCode repositories and automatically generate mind maps from project README files using Coze workflows. It serves as an architectural assistant to help developers quickly understand codebase structures and automate repository management tasks.
README
CodeMind MCP
一个 MCP(Model Context Protocol)服务器,通过自动化流程帮助用户快速理解代码仓库并生成思维导图。
背景
是不是老是忘记git命令?
- 本MCP 可以用于管理仓库、拉取请求、问题等。
得到一个项目是不是看不懂项目?
- 本MCP会作为一个专业的架构师,帮助你快速理解代码仓库并生成思维导图。
核心功能
gitcode_request: 通用的 GitCode API 调用工具,用于管理仓库、拉取请求、问题等。mindmap: 读取当前目录及其子目录中的所有 README.md 文件,生成思维导图:- 递归查找并收集所有 README.md 文件
- 合并文件内容并调用 Coze 工作流生成思维导图
- 返回思维导图公开访问链接
安装与使用
环境要求: Node.js >= 18.x
全局安装
npm install -g @lucianaib/codemind-mcp
codemind-mcp
在 MCP 客户端中配置
{
"mcpServers": {
"CodeMind": {
"command": "npx",
"args": ["@lucianaib/codemind-mcp"]
}
}
}

工具调用参数
gitcode_request
- baseUrl: string (可选),如
https://api.gitcode.com - token: string,鉴权令牌(支持
Bearer <token>或纯 token) - method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE"
- path: string,如
/v1/repos - query: Record<string, unknown> (可选)
- body: Record<string, unknown> (可选)
- headers: Record<string, string> (可选)

mindmap
- prompt: string (可选),用于自定义生成思维导图的提示词

开发与代码结构
src/index.ts: MCP 服务器入口,使用McpServer注册工具src/gitcode.ts: GitCode API 的通用请求封装src/mindmap.ts: README.md 文件收集及调用 Coze API 的核心逻辑
安全提示
重要: Coze API 凭证目前硬编码在 src/mindmap.ts 中,存在安全风险。生产环境请移至环境变量。
许可证
本项目采用 MIT 许可证。详见 LICENSE 文件。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.