Catalog PyPI
PACKAGE EXPLORERView in registry

agemcp

PyPI

PostgreSQL MCP

Versions collected1
Direct dependencies18From release 0.5.3
Last observed20 Oct, 21:22 UTC

README

Version 0.5.3 documentation

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 NameDescriptionParameters
get_or_create_graphGet or create a graph with the specified name.graph_name: str
list_graphsList all graph names in the database.
upsert_graphUpsert both vertices and edges into the specified graph (deep merge).graph_name: str, vertices: List[Dict[str, Any]], edges: List[Dict[str, Any]]
upsert_edgeInsert 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_vertexInsert or update a vertex's properties in a graph non-destructively.graph_name: str, vertex_ident: str, label: str, properties: Dict[str, Any]
drop_graphsDrop one or more graphs by name.graph_names: List[str]
drop_vertexRemove a vertex by ident.graph_name: str, vertex_ident: str
drop_edgeRemove an edge by ident.graph_name: str, edge_ident: str
generate_visualizationGenerate 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"
      }
    }
  }
}

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.5.320 Aug 202518

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:22 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:707ad3f262dea5d9daa9b73421bbd9744ea851cd3b312d70cdefb5e86522fa64