fix(.mcp.json): use pnpm dlx for typescript-language-server (#27294)

## Problem

The `typescript-language-server` MCP server in `.mcp.json` launched the
language server via `pnpx`, but `pnpx` is not installed in the workspace
(only `pnpm` is available). As a result the server failed to start and
appeared inactive/broken.

## Fix

Swap `pnpx` for the pnpm equivalent, `pnpm dlx`, so the language server
is fetched and run correctly:

```diff
 "-lsp",
-"pnpx",
+"pnpm",
 "--",
+"dlx",
 "typescript-language-server",
 "--stdio"
```

## Verification

- `pnpm dlx typescript-language-server@latest --version` returns
`5.3.0`.
- Ran the full chain `go run
github.com/isaacphi/mcp-language-server@latest -workspace ./site/ -lsp
pnpm -- dlx typescript-language-server --stdio`. It logged `Successfully
registered all MCP tools` and stayed up cleanly until terminated.

---

_This PR was generated by Coder Agents on behalf of @jeremyruppel._
This commit is contained in:
Jeremy Ruppel
2026-07-22 15:52:50 -05:00
committed by GitHub
parent c309f4d5ff
commit 877c13de2b
+2 -1
View File
@@ -25,8 +25,9 @@
"-workspace",
"./site/",
"-lsp",
"pnpx",
"pnpm",
"--",
"dlx",
"typescript-language-server",
"--stdio"
],