Provides tools for managing multiple graphs in Apache AGE, enabling creation, updating, administration, and visualization of graph databases with support for vertices, edges, and graph operations.
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 | Purpose/Description | Arguments |
---|---|---|
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 Setup
- Clone the repository:
- Navigate to the project directory:
- Install the required dependencies:
- Run the server:You should see something like this:
Client Setup
VSCode
- Open Command Palette (Cmd+Shift+P or Ctrl+Shift+P).
- Select
MCP: Add Server...
- Choose "HTTP" option.
- Enter the server URL (e.g.,
http://localhost:8000/mcp/
). - Enter a "server id" (e.g.,
agemcp
). - Select
Global
for the scope. - Done. (It should appear in the
extensions
sidebar.)
Roo / Cline / Claude
This server cannot be installed
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.
Related MCP Servers
- AsecurityAlicenseAqualityMemory manager for AI apps and Agents using various graph and vector stores and allowing ingestion from 30+ data sourcesLast updated -46,740PythonApache 2.0
- -securityAlicense-qualityAn 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 -1PythonMIT License
- -securityFlicense-qualityA knowledge-graph-based memory system for AI agents that enables persistent information storage between conversations.Last updated -5Python
- AsecurityAlicenseAqualityPowers AI agents with indexed blockchain data from The Graph, enabling them to fetch subgraph schemas and execute GraphQL queries against blockchain data.Last updated -25PythonMIT License