-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
Describe the bug
The PrimeVue MCP server fails to start in Cursor when configured as documented with:
{
\"mcpServers\": {
\"primevue\": {
\"command\": \"npx\",
\"args\": [\"-y\", \"@primevue/mcp\"]
}
}
}Cursor is able to launch the command, but the server crashes during startup before exposing any tools.
Reproducer
- Add this to project-level
.cursor/mcp.json:
{
\"mcpServers\": {
\"primevue\": {
\"command\": \"npx\",
\"args\": [\"-y\", \"@primevue/mcp\"]
}
}
}- Restart/reload Cursor or refresh MCP servers.
- Observe that the PrimeVue MCP server fails during initialization.
Actual behavior
PrimeVue MCP never finishes initializing and Cursor shows no available tools for the server.
Error log
2026-03-26 12:05:34.280 [info] Server creation in progress, waiting for completion
2026-03-26 12:05:34.356 [error] npm warn Unknown project config \"shamefully-hoist\". This will stop working in the next major version of npm.
2026-03-26 12:05:34.356 [error] npm warn Unknown project config \"strict-peer-dependencies\". This will stop working in the next major version of npm.
2026-03-26 12:05:42.047 [error] Failed to start PrimeVue MCP Server: Error: Tool get_composable expected a Zod schema or ToolAnnotations, but received an unrecognized object
at McpServer.tool (file:///home/mohammad/.npm/_npx/e1e395eaa6dbfbb5/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:688:27)
at F (file:///home/mohammad/.npm/_npx/e1e395eaa6dbfbb5/node_modules/@primeuix/mcp/dist/index.js:232:4752)
at file:///home/mohammad/.npm/_npx/e1e395eaa6dbfbb5/node_modules/@primeuix/mcp/dist/index.js:232:4593
at Generator.next (<anonymous>)
at l (file:///home/mohammad/.npm/_npx/e1e395eaa6dbfbb5/node_modules/@primeuix/mcp/dist/index.js:1:54)
2026-03-26 12:05:42.083 [info] Client closed for command
2026-03-26 12:05:42.083 [warning] [V1] initializing -> error: Client closed
2026-03-26 12:05:42.083 [warning] Pending server creation failed: MCP error -32000: Connection closed
2026-03-26 12:05:42.099 [info] Server not yet created, returning empty offerings
Expected behavior
The PrimeVue MCP server should start successfully and expose its documented tools in Cursor.
Environment
- PrimeVue MCP package:
@primevue/mcpvianpx -y @primevue/mcp - Cursor on Linux
- Project-level MCP config
- Node version used by
npxon the local machine
Notes
The npm warnings about shamefully-hoist and strict-peer-dependencies appear to be non-fatal and likely unrelated.
The failure looks like a runtime compatibility problem while registering the get_composable tool, possibly around MCP SDK schema / ToolAnnotations handling.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels