MCP Tool Graph
mcp.tool.graphCreate, list, and modify ArangoDB graphs by adding vertex collections, edge definitions, and edges.
Instructions
create - Created graph. mcp.tool.graph(action=create, payload={"name":"notes_graph","edge_definitions":[]}) list - Graph listing. mcp.tool.graph(action=list, payload={}) add_vertex_collection - Added vertex collection. mcp.tool.graph(action=add_vertex_collection, payload={"graph":"notes_graph","collection":"notes"}) add_edge_definition - Added edge definition. mcp.tool.graph(action=add_edge_definition, payload={"graph":"notes_graph","edge_collection":"edges","from_collections":["notes"],"to_collections":["notes"]}) add_edge - Added edge. mcp.tool.graph(action=add_edge, payload={"graph":"notes_graph","collection":"edges","from_id":"notes/a","to_id":"notes/b"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Graph operation to perform. | |
| payload | Yes | Graph action payload. Required fields depend on action and are enforced by the graph owner. |