UNPKG

@kpritam/gremlin-mcp

Version:

A Gremlin MCP server that allows for fetching status, schema, and querying using Gremlin for any Gremlin-compatible graph database (TypeScript implementation).

17 lines 633 B
/** * Combined handler registration for MCP server. * Simplifies server setup by providing a single registration function. */ import { registerResourceHandlers } from './resources.js'; import { registerToolHandlers } from './tools.js'; /** * Register all MCP handlers (resources and tools) with the server. * * @param server - The MCP server instance * @param getGraphClient - Function to get the Gremlin client instance */ export function registerAllHandlers(server, getGraphClient) { registerResourceHandlers(server, getGraphClient); registerToolHandlers(server, getGraphClient); } //# sourceMappingURL=index.js.map