已归档: _自从我第一次制作这个服务器以来,代理框架已经有了许多重大改进,它的许多功能在今天的大多数代理中都是原生实现的_
Axom MCP服务器
Axom是一个 模型上下文协议(MCP) 为AI代理提供持久内存、工具抽象和思维链的服务器。
核心功能
- 持久内存:使用 Axom (SQLite)数据库。
- 工具抽象:用于内存、执行、分析、发现和转换的统一接口。
- 链式反应:执行工具序列,输出将进入下一步。
- AI驱动的分类:自动按类型和重要性对记忆进行分类。
______________________________________________________________________
快速开始
Axom以如下方式运行 MCP 工作站 -IDE会自动生成它。无需手动启动服务器。
先决条件
- Python 3.11+
- SQLite (包含在Python中)
- Git
安装
Linux/MOSC/WSL/Windows
需要(Git)Bash, PowerShell,或a make 供应商。
git clone https://github.com/PugzUI/axom-mcp.git
cd axom-mcp
make install什么 make install 做:
- 安装Python依赖项。
- 以可编辑模式安装Axom(
pip install -e .). - 创建
.env从.env.example. - 配置所有检测到的代理(游标、Trae等)。
- 为每个代理安装Axom规则和技能。
制作命令菜单-概述
make help # Project command menu
make install-help # Install options (e.g. DRY_RUN, etc.)
make clean-help # Cleanup options (incl. CLEAN_ALL=1 for full reset)
make agents-help # Agent commands
make db-help # Database commands
make test-help # Test commandsRuff开发工具命令
make lint-help # Lint commands (ruff dev tool)
make format-help # Format commands (ruff dev tool)客户端配置
make install 自动为检测到的代理配置MCP。安装程序使用最佳可用命令:
**axom-mcp**(如果在PATH中)**axom**(如果在PATH中)**python -m axom_mcp.server**(回退)
看 docs/agents/INDEX.md 了解详细的代理配置。
对于光标, ~/.cursor/mcp.json 应包含:
{
"mcpServers": {
"axom": {
"command": "axom-mcp"
}
}
}对于Codex, ~/.codex/config.toml 应包含:
[mcp_servers.axom]
command = "axom-mcp"______________________________________________________________________
工具
Axom提供五个核心MCP工具:
**axom_mcp_memory**:存储和检索持久上下文。**axom_mcp_exec**:具有预先设计的链接的文件操作和shell命令。**axom_mcp_analyze**:代码分析和调试。**axom_mcp_discover**:地图环境和能力。**axom_mcp_transform**:在不同格式之间转换数据。
______________________________________________________________________
