Hi there,
I’m using the latest version of age-mcp-server (downloaded from homebrew-age-mcp-server and mcp.so), and have it configured to connect to a non-Azure PostgreSQL instance with the AGE extension enabled.
I can successfully connect, list graphs, and run read Cypher queries via the MCP server. However, whenever I attempt to run write Cypher queries (such as CREATE nodes or edges), I receive an error:
Error: Unsafe query
I have confirmed that:
My database and user have full privileges (I can create graphs and nodes via pgAdmin and SQL).
The AGE extension is installed and initialized.
The MCP config does not have any read-only or safe-mode flags.
Questions:
Is write Cypher query support currently available in age-mcp-server? If so, how can I enable it?
Is there a way to disable the “unsafe query” restriction?
Are there any backend restrictions (e.g., Azure-only), or should this work on any PostgreSQL+AGE setup?
If write support is not yet available, is there an ETA or roadmap for this feature?
Thank you for your help!
Let me know if you want to customize it further or if you’re ready to submit it!
Hi there,
I’m using the latest version of age-mcp-server (downloaded from homebrew-age-mcp-server and mcp.so), and have it configured to connect to a non-Azure PostgreSQL instance with the AGE extension enabled.
I can successfully connect, list graphs, and run read Cypher queries via the MCP server. However, whenever I attempt to run write Cypher queries (such as CREATE nodes or edges), I receive an error:
Error: Unsafe query
I have confirmed that:
My database and user have full privileges (I can create graphs and nodes via pgAdmin and SQL).
The AGE extension is installed and initialized.
The MCP config does not have any read-only or safe-mode flags.
Questions:
Is write Cypher query support currently available in age-mcp-server? If so, how can I enable it?
Is there a way to disable the “unsafe query” restriction?
Are there any backend restrictions (e.g., Azure-only), or should this work on any PostgreSQL+AGE setup?
If write support is not yet available, is there an ETA or roadmap for this feature?
Thank you for your help!
Let me know if you want to customize it further or if you’re ready to submit it!