{"library":"nx-mcp","title":"Nx Model Context Protocol Server","description":"The `nx-mcp` package, currently at version `0.24.0`, implements a server for the Model Context Protocol (MCP) specifically for Nx monorepos. This server provides Large Language Models (LLMs) with deep, structured access to an Nx workspace's internal architecture, encompassing project relationships, file mappings, runnable tasks, ownership information, tech stacks, and Nx generators. This capability allows AI agents to generate code with precise context, understand the downstream impact of changes, and apply modifications accurately across interconnected files within a monorepo. Although it functions as a standalone CLI server, its development and releases are closely tied to the Nx Console VS Code extension, which often automatically manages its lifecycle. Its key differentiator is leveraging Nx's inherent understanding of monorepo structure to offer a richer, more actionable context for AI compared to generic code embeddings.","language":"javascript","status":"active","last_verified":"Sun Apr 19","install":{"commands":["npm install nx-mcp"],"cli":{"name":"nx-mcp","version":null}},"imports":["npx nx-mcp@latest","npx nx-mcp@latest --sse --port 3000","npx nx-mcp@latest --no-minimal"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"{\n  \"servers\": {\n    \"nx-mcp-stdio\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"nx-mcp@latest\"]\n    },\n    \"nx-mcp-http\": {\n      \"type\": \"http\",\n      \"command\": \"npx\",\n      \"args\": [\"nx-mcp@latest\", \"--sse\", \"--port\", \"3000\"]\n    }\n  }\n}\n# Then, run directly via npx:\nnpx nx-mcp@latest --help\n# Or, for HTTP mode:\nnpx nx-mcp@latest --sse --port 3000\n","lang":"json","description":"This quickstart demonstrates how to configure the `nx-mcp` server for AI clients using `mcp.json` for both `stdio` and `http` transport, and how to invoke it directly via `npx`.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}