AGE - MCP - Server 出于安全考虑,默认禁止写入操作。若您需要启用写入操作,请使用 --allow-write 标志。
{
"mcpServers": {
"age-manager": {
"command": "age-mcp-server",
"args": [
"--pg-con-str",
"host=your_server.postgres.database.azure.com port=5432 dbname=postgres user=your_username password=your_password",
"--allow-write"
]
}
}
}
write-age-cypher 工具的描述中添加 RETURN 来修复条件测试中的 CREATE 操作。--graph-name 参数已弃用--allow-write 标志RETURN 值的解析器MIT License