rlm-mcp
rlm-mcp:递归项目大脑
rlm-mcp 是一个先进的模型上下文协议 (MCP) 服务器,它将您的本地仓库转化为一个**“共享项目大脑”**。它利用递归推理(通过 RLM)和本地 LLM (Ollama) 来分析、推理并记忆您的项目架构,帮助团队深入理解像 Grails Core 这样复杂的代码库。
功能特性
无摩擦自动驾驶: 自动安装 Ollama,管理 Python 环境 (
uv),并拉取经过优化的推理模型。持久化知识: 将递归推理提炼为可移植的 YAML 知识库,并可提交至 Git。
工作区感知: 自动发现
.mcp/或.rlm/文件夹中的项目配置。递归推理: 使用多步 LLM 循环来追踪复杂的类层次结构和架构模式。
Related MCP server: Blueprint MCP
快速开始
确保您已安装并运行 Ollama。
克隆仓库并运行:
cargo run服务器将自动执行以下操作:
检测您的操作系统和硬件。
使用
uv配置一个封闭的 Python 环境。拉取推荐的
deepseek-r1:7b模型。在 stdio 上启动 MCP 服务器。
项目结构
.mcp/:配置和项目特定的知识库。knowledge_base/:关于您项目的提炼出的“永久事实”(受版本控制)。trajectories/:每次“思考”会话的原始日志(被 Git 忽略)。
文档与路线图
请参阅 PLAN.md 获取完整的“项目大脑”架构路线图。
许可证
本项目采用 MIT 许可证授权 - 详情请参阅 LICENSE 文件。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared memory for coding agents. Stop re-explaining your codebase every session.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
One shared project memory for your AI coding tools: recall, save and brief decisions anywhere.
Project memory, documentation and controlled secret access for AI coding agents.
Related MCP Servers
- AlicenseAqualityCmaintenanceArchitectural memory layer for AI coding. Automatically extracts decisions, detects security gaps, and analyzes git history from your codebase in one command.328 npm2MIT
- AlicenseAqualityCmaintenanceProvides AI coding agents with durable architecture memory for repositories by generating structured project maps of responsibilities, relationships, and risks.618 npmMIT
- AlicenseAqualityBmaintenanceSelf-hosted semantic code search for AI coding agents. Indexes many repositories at once with tree-sitter AST chunking, local llama.cpp embeddings and Qdrant, so Claude Code, Cursor, Codex and any MCP client can find code by meaning, trace usages and callers, and read the git history behind each chunk. No API keys, and your code never leaves your machine.1835MIT
- AlicenseCqualityBmaintenanceGives AI coding assistants persistent project memory and semantic code search, running fully locally with no API keys required.56MIT