Skip to content

GraphQL#

Server#

For more information about the LSP server, check graphql-language-service-cli.

Installation#

npm i -g graphql-language-service-cli

For more instructions on how to install manually, check here.

Debugger: Not available#

Available configurations#

lsp-clients-graphql-server-args#

Type: (repeat string)

Default: (server --method=stream)

CLI arguments for graphql language server.


lsp-graphql-activated-modes#

Type: (repeat symbol)

Default: (js-mode js2-mode typescript-mode typescript-ts-mode)

List of major modes that can activate the GraphQL language server. When a buffer is in one of these modes, the GraphQL language server may be activated if appropriate GraphQL content is detected.


lsp-graphql-target-file-extensions#

Type: (repeat string)

Default: (ts js jsx tsx vue graphql graphqls gql)

List of target file extensions for the GraphQL language server.



Last update: October 2, 2025