AGE-MCP-Server:Apache AGE 管理工具

AGE-MCP-Server:Apache AGE 管理工具

用于管理 Apache AGE 图数据库的 MCP 服务器,支持 PostgreSQL 和 Azure 托管服务。

快速入门

安装

  1. 使用 Homebrew: brew tap rioriost/age-mcp-server brew install age-mcp-server
  2. 使用 uv: uv init your_project cd your_project uv venv source .venv/bin/activate uv add age-mcp-server
  3. 使用 Python 虚拟环境: mkdir your_project cd your_project python3 -m venv .venv source .venv/bin/activate python3 -m pip install age-mcp-server

配置

  • 启用 Apache AGE 扩展:CREATE EXTENSION IF NOT EXISTS age CASCADE;
  • 配置 Claude 或 VSCode 的 JSON 文件,设置连接字符串和参数。

使用

  • 启动后通过 Claude 或 VSCode 进行查询与操作。
  • 启用写操作需添加 --allow-write 参数。

更多详细信息请参考 Release Notes 及文档。