Skip to content

nx-mcp having issues with my workspace (too big) #2559

Open
@comatory

Description

@comatory

Current Behavior

Using Nx MCP server tool on Monorepo with 700+ libraries is not possible with Claude Code (terminal).

Expected Behavior

Find a targets to execute when I give it a library name.

Steps to Reproduce

Launch Claude Code. Asked to implement an HTML template in libray my-library-name.

Failure Logs / Images / Videos

  ⎿  Error: MCP tool "nx_workspace" response (77742 tokens) exceeds maximum allowed tokens (25000). Please use
     pagination, filtering, or limit parameters to reduce the response size.

Environment

  • Nx Console version: unknown1
  • VSCode version: N/A

Footnotes

  1. I tried running pnpm dlx nx-mcp --version and it gave me unknown

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions