Skip to content
Source
Sign inSign up
TanStack/ai

ai-mcp cli doesnt work #2265

Openjuackomdz(GitHub profile, opens in a new tab) opened this issue 0 comments

TanStack AI version

ai v1.8.0, ai-mcp v1.3.1

Framework/Library version

Vue 3.5.46, Nuxt v4.6.4

Describe the bug and the steps to reproduce it

im trying to run the cli to generate de types from a remote mcp, but i getting this error: Error: Dynamic require of "fs" is not supported

im running with "pnpm dlx @tanstack/ai-mcp generate" with pnpm 12.6.0 *running with npx get this: Error: Cannot find module.

https://stackblitz.com/edit/vitejs-vite-3fdxs6o4?file=package.json,mcp.config.ts&terminal=dev

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
  1. tanstack-source added labelsbug

  2. github-actions[bot](GitHub profile, opens in a new tab) added labelswaiting-on: maintainer

Sign in to join this conversation.