Skip to main content
Glama

Apache AGE MCP Server

by veloper

Apache AGE MCP Server

These tools provide an interface for AI Agents to manage multiple graphs in Apache AGE. They expose tools for creating, updating, administering, and visualizing graphs.

Tool Name

Description

Parameters

get_or_create_graph

Get or create a graph with the specified name.

graph_name: str

list_graphs

List all graph names in the database.

upsert_graph

Upsert both vertices and edges into the specified graph (deep merge).

graph_name: str

,

vertices: List[Dict[str, Any]]

,

edges: List[Dict[str, Any]]

upsert_edge

Insert or update an edge's properties in a graph non-destructively.

graph_name: str

,

label: str

,

edge_start_ident: str

,

edge_end_ident: str

,

properties: Dict[str, Any]

upsert_vertex

Insert or update a vertex's properties in a graph non-destructively.

graph_name: str

,

vertex_ident: str

,

label: str

,

properties: Dict[str, Any]

drop_graphs

Drop one or more graphs by name.

graph_names: List[str]

drop_vertex

Remove a vertex by ident.

graph_name: str

,

vertex_ident: str

drop_edge

Remove an edge by ident.

graph_name: str

,

edge_ident: str

generate_visualization

Generate a single-page HTML file visualizing a graph using vis.js and pyvis.

graph_name: str

Server Installation

Install the latest release using pipx (recommended for CLI/server tools):

# Install pipx install agemcp # Postgres DSN / MCP Server Defaults agemcp config # Start the server agemcp run

You should see something like this:

INFO: Starting MCP server 'agemcp' with transport 'streamable-http' on http://0.0.0.0:8000/mcp/ INFO: Started server process [13951] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)

Client Installation

VSCode

  1. Open Command Palette (Cmd+Shift+P or Ctrl+Shift+P).

  2. Select MCP: Add Server...

  3. Choose "HTTP" option.

  4. Enter the server URL (e.g., http://localhost:8000/mcp/).

  5. Enter a "server id" (e.g., agemcp).

  6. Select Global for the scope.

  7. Done. (It should appear in the extensions sidebar.)

Roo / Cline / Claude

{ "mcpServers": { "agemcp": { "url": "http://localhost:8000/mcp/", "type": "streamable-http", "headers": { "Content-Type": "application/json" } } } }
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Enables AI agents to manage and interact with Apache AGE graph databases through natural language. Supports creating, updating, querying, and visualizing multiple graphs with vertices and edges.

  1. Server Installation
    1. Client Installation
      1. VSCode
      2. Roo / Cline / Claude

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      Memory manager for AI apps and Agents using various graph and vector stores and allowing ingestion from 30+ data sources
      Last updated -
      7,433
      Apache 2.0
      • Apple
    • -
      security
      A
      license
      -
      quality
      An MCP server that provides natural language interaction with Apache AGE graph databases, allowing users to query, visualize and manipulate graph data in PostgreSQL through Claude AI.
      Last updated -
      1
      MIT License
      • Apple
    • -
      security
      F
      license
      -
      quality
      A knowledge-graph-based memory system for AI agents that enables persistent information storage between conversations.
      Last updated -
      6
    • A
      security
      A
      license
      A
      quality
      Powers AI agents with indexed blockchain data from The Graph, enabling them to fetch subgraph schemas and execute GraphQL queries against blockchain data.
      Last updated -
      2
      5
      MIT License

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/veloper/agemcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server