Skip to content

Conversation

@Harshul23
Copy link
Contributor

@Harshul23 Harshul23 commented Nov 19, 2025

Summary

  • add server-level diagnostics (stdio error hooks, uncaught exception handlers) so Cursor can surface initialization failures
  • harden shadcn mcp bootstrap: explicit logging for each startup phase, exit non‑zero on failures, and better tool registration validation.
  • emit debug breadcrumbs for every tool request to make Cursor’s MCP inspector useful for support teams

Testing

  • pnpm --filter shadcn build
  • node packages/shadcn/dist/index.js mcp (manual: verify logs show tool registration and tool calls)
  • Cursor MCP panel now lists 7 tools instead of “No tools, prompts or resources” (confirmed via local stdio logs)
Screenshot 2025-11-19 at 1 53 40 PM

Notes

  • Root cause tracked in #8843 Cursor fails silently when the stdio MCP process doesn’t log errors. These changes give Cursor enough signal to report failures and keep the tool list populated.

closes #8843

@vercel
Copy link

vercel bot commented Nov 19, 2025

@Harshul23 is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: MCP saying No tools, prompts or resources, in Cursor.

1 participant