Add it in Tori
- Open Settings with the gear in the title bar.
- Go to LSP.
- GraphQL is already there: it ships inside Tori. When the catalog has a newer version, Add a language lists it with Update.
Adding writes one file and runs nothing. Installing graphql-language-service-cli from npm is a separate click on the same row.
Use it without the catalog
Download the file and drop it in the folder below. Tori loads it the next time it starts.
Download file graphql.toml
~/.config/tori/packs/lsp/
The file
graphql.tomlRead only
1# GraphQL via graphql-language-service-cli. It answers from the project's2# GraphQL config. See LSP-SERVERS.md.34schema_version = 15id = "graphql"6label = "GraphQL"7description = "GraphQL schemas and queries, through the GraphQL language service"8license = "Apache-2.0"9contributor = { name = "Tori", github = "gettori" }10verified_against = "graphql-language-service-cli 3.5.0"11verified_on = "2026-10-09"12root_markers = [".graphqlrc", ".graphqlrc.yml", ".graphqlrc.json", "graphql.config.js", "graphql.config.ts", "package.json", ".git"]1314# A `graphql.config.js` or `.ts` is loaded as code.15runs_project_code = true1617[languages]18graphql = "graphql"19gql = "graphql"2021[launch]22kind = "managed"23runtime = "node"24program = "graphql-lsp"25args = ["server", "-m", "stream"]2627[install]28kind = "npm"29package = "graphql-language-service-cli"30version = "3.5.0"