@@ -3014,7 +3014,7 @@ describeGraph(HadoopGraph)
30143014----
30153015
30163016[[gremlin-mcp]]
3017- === Gremlin MCP
3017+ == Gremlin MCP
30183018
30193019Gremlin MCP integrates Apache TinkerPop with the Model Context Protocol (MCP) so that MCP‑capable assistants (for
30203020example, desktop chat clients that support MCP) can discover your graph, run Gremlin traversals and exchange graph data
@@ -3058,7 +3058,7 @@ The Gremlin MCP server exposes these tools:
30583058* `refresh_schema_cache` — Forces schema discovery to run again when the graph has changed.
30593059* `format_gremlin_query` — Formats a Gremlin query using gremlint.
30603060
3061- ==== Schema discovery
3061+ === Schema discovery
30623062
30633063Schema discovery is the foundation that lets humans and AI assistants reason about a graph without prior tribal
30643064knowledge. By automatically mapping the graph’s structure and commonly observed patterns, it produces a concise,
@@ -3078,7 +3078,7 @@ Schema discovery uses Gremlin traversals and sampling to uncover the following i
30783078* Relationship patterns - Connectivity is derived from the labels of edges and their incident vertices.
30793079* Enums - Properties with a small set of distinct values may be surfaced as enumerations to promote precise filters.
30803080
3081- ==== Formatting traversals
3081+ === Formatting traversals
30823082
30833083Gremlin is much easier to understand when it is properly formatted with appropriate line breaks and indents. An AI
30843084assistant can format Gremlin using Gremlint via `format_gremlin_query` MCP tool which accepts any string input and
@@ -3113,7 +3113,7 @@ g.V().
31133113 limit(1).fold())
31143114----
31153115
3116- ==== Executing traversals
3116+ === Executing traversals
31173117
31183118When the assistant needs to answer a question, a common sequence is:
31193119
@@ -3130,7 +3130,7 @@ For example, the assistant may execute a traversal like the following:
31303130g.V().hasLabel('person').has('age', gt(30)).out('knows').values('name')
31313131----
31323132
3133- ==== Configuring an MCP Client
3133+ === Configuring an MCP Client
31343134
31353135The MCP client is responsible for launching the Gremlin MCP server and providing connection details for the Gremlin
31363136endpoint the server should use.
0 commit comments