
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Read-only by default, the server exposes tools for running Cypher queries, listing graphs, and inspecting schema, with optional write tools when enabled.
An MCP server for querying Apache AGE graphs in PostgreSQL. is cataloged as an MCP server attributed to rioriost. Read-only by default, the server exposes tools for running Cypher queries, listing graphs, and inspecting schema, with optional write tools when enabled. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for An MCP server for querying Apache AGE graphs in PostgreSQL. are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No. Read-only mode is the default; write tools are only advertised and accepted when started with --allow-write.
Read pages contain at most 50 rows, with opaque HMAC-authenticated cursors bound to the graph, query, and parameters.
Yes, Cypher $parameters are accepted when placeholder names exactly match a JSON parameter object, passed through a prepared statement.
README.md · 5237b3c8e995 · 采集于 2026-11-13 10:37:15 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
An MCP server for querying Apache AGE graphs in PostgreSQL.
Version 0.3.0 makes read-only operation the secure default, adds asynchronous connection pooling, safe Cypher parameters and bounded cursor pagination, and returns MCP structured content from every tool.
Enable AGE in the target database:
CREATE EXTENSION IF NOT EXISTS age CASCADE;
With uv:
uv init your_project
cd your_project
uv add age_mcp_server
With a Python virtual environment:
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install age_mcp_server
With Homebrew:
brew install rioriost/tap/age_mcp_server
Avoid placing a database password in command-line arguments. Supply a connection
string through PG_CONNECTION_STRING and use one of libpq's credential mechanisms,
such as PGPASSWORD or a protected PostgreSQL password file.
{
"mcpServers": {
"age_manager": {
"command": "age_mcp_server",
"env": {
"PG_CONNECTION_STRING": "host=db.example port=5432 dbname=postgres user=age_reader sslmode=require",
"PGPASSWORD": "replace-with-a-secret"
}
}
}
}
Treat the MCP client configuration as a secret if it contains PGPASSWORD. A
PostgreSQL password file or the client's secret store is preferable.
The connection string can still be supplied explicitly when necessary:
age_mcp_server --pg-con-str "host=db.example dbname=postgres user=age_reader sslmode=require"
For Microsoft Entra authentication to Azure Database for PostgreSQL, first sign in with the Azure CLI, then opt in to token acquisition:
age_mcp_server \
--pg-con-str "host=server.postgres.database.azure.com dbname=postgres user=identity sslmode=require" \
--azure-identity
Read-only mode is the default:
| Tool | Purpose |
|---|---|
read-age-cypher | Run a validated, parameterized, paginated read-only Cypher query |
list-age-graphs | List Apache AGE graphs |
get-age-schema | Inspect counts, directions, and sampled property types |
Write tools are only advertised and accepted when the server starts with
--allow-write:
| Tool | Purpose |
|---|---|
write-age-cypher | Run Cypher containing a mutating clause |
create-age-graph | Create a graph |
drop-age-graph | Permanently drop a graph |
age_mcp_server --allow-write
Use a separate, least-privileged database role for write mode. Enabling the flag does not grant PostgreSQL privileges that the configured role does not already have.
CALL is considered side-effecting and requires write mode.$parameters are accepted only when placeholder names exactly match a
JSON parameter object. The object is capped at 100,000 bytes and passed to AGE
through a prepared statement.RETURN
clause per query branch.Change the timeout when needed:
age_mcp_server --statement-timeout-ms 60000
The timeout must be between 1 millisecond and 1 hour.
Tune the asynchronous connection pool or load the AGE library for every newly opened pooled connection:
age_mcp_server --pool-min-size 2 --pool-max-size 8 --load-age
The pool must satisfy 1 <= min <= max <= 64. RETURN * remains unsupported;
list return values explicitly so Apache AGE's SQL result types can be declared.
Example tool input with parameters and pagination:
{
"graph_name": "people",
"query": "MATCH (n:Person) WHERE n.age >= $minimum RETURN n.name AS name ORDER BY name",
"parameters": {"minimum": 18},
"page_size": 25
}
Pass the returned nextCursor as cursor to fetch the next page.
Install the optional exporter dependencies and enable OTLP export:
python3 -m pip install "age_mcp_server[telemetry]"
age_mcp_server --enable-telemetry --otel-service-name age-production
The exporter follows standard OTEL_EXPORTER_OTLP_* environment variables.
Traces and metrics record operation latency, counts, and failures. Connection
details, Cypher text, parameter values, and raw database errors are excluded.
Install all development dependencies and run the release gate:
make sync
make check
make check runs Ruff, the 80% coverage gate, Bandit, the locked dependency audit,
and package builds. The test suite includes a live Apache AGE integration test:
AGE_TEST_CONNECTION_STRING="host=127.0.0.1 dbname=postgres user=postgres password=postgres" \
make integration
CI runs this test against the official Apache AGE PostgreSQL container. See the 0.3.0 review for the completed security and feature review.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for An MCP server for querying Apache AGE graphs in PostgreSQL. from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/homebrew-age-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.