You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/dev/developer/development-environment.asciidoc
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -309,17 +309,25 @@ See the <<release-environment,Release Environment>> section for more information
309
309
[[nodejs-environment]]
310
310
=== JavaScript Environment
311
311
312
-
When building `gremlin-javascript`, mvn command will include a local copy of Node.js runtime and npm inside your project
313
-
using `com.github.eirslett:frontend-maven-plugin` plugin. This copy of the Node.js runtime will not affect any
314
-
other existing Node.js runtime instances in your machine.
312
+
When building `gremlin-javascript`, `gremlint` and `gremlin-mcp`, the `mvn` command will include a local copy of Node.js
313
+
runtime and npm inside your project using `com.github.eirslett:frontend-maven-plugin` plugin. This copy of the Node.js
314
+
runtime will not affect any other existing Node.js runtime instances in your machine.
315
315
316
-
To run the development and build scripts of `gremlint` and its corresponding web page `docs/gremlint`, Node.js and npm
317
-
have to be installed. When generating or publishing the TinkerPop website, the `docs/gremlint` web page has to be
316
+
To run the development and build scripts of the web app in `docs/gremlint`, Node.js and npm have to be installed on the
317
+
local system at this time. When generating or publishing the TinkerPop website, the `docs/gremlint` web page has to be
318
318
built. Consequently, the scripts `bin/generate-home.sh` and `bin/publish-home.sh` require that Node.js and npm are
319
-
installed. Version 8.x or newer of npm is required. This is covered in more detail in the <<site,Site>> section.
319
+
installed. Check the root `pom.xml` for the `runtime.node.version` property for the minimum version required. This is
320
+
covered in more detail in the <<site,Site>> section.
320
321
321
-
As of TinkerPop 3.5.5, `gremlin-javascript` uses Docker for all tests inside of Maven. Please make sure Docker is
322
-
installed and running on your system.
322
+
A fast way to test `grelin-mcp` after doing a build is to use link:https://modelcontextprotocol.io/docs/tools/inspector[@modelcontextprotocol/inspector]
323
+
which will start up the Gremlin MCP server and present a browser-based tool to use the commands. It is most easily
The MCP client is responsible for launching the Gremlin MCP server and providing connection details for the Gremlin
2424
+
endpoint the server should use.
2425
+
2426
+
Basic connection settings:
2427
+
2428
+
* `GREMLIN_MCP_ENDPOINT` — `host:port` or `host:port/traversal_source` for the target Gremlin Server or compatible endpoint (default traversal source: `g`)
2429
+
* `GREMLIN_MCP_USE_SSL` — set to `true` when TLS is required by the endpoint (default: `false`)
2430
+
* `GREMLIN_MCP_USERNAME` / `GREMLIN_PASSWORD` — credentials when authentication is enabled (optional)
2431
+
* `GREMLIN_MCP_IDLE_TIMEOUT` — idle connection timeout in seconds (default: `300`)
2432
+
* `GREMLIN_MCP_LOG_LEVEL` — logging verbosity for troubleshooting: `error`, `warn`, `info`, or `debug` (default: `info`)
0 commit comments