Closed
Description
Current Behavior
I setup nx-mcp and started the server
.vscode/mcp.json
{
"servers": {
"nx-mcp": {
"type": "http",
"url": "http://localhost:9436/mcp"
}
}
}
to test the server, I opened "ttp://localhost:9436/mcp" in the browser
{"jsonrpc":"2.0","error":{"code":-32000,"message":"Method not allowed."},"id":null}
Then, I opened the copilot chat and entered a basic prompt @nx describe the workspace
, the response is Request Failed: 400 Bad Request
I also tried to run nx graph
before using the prompt
Expected Behavior
The MCP can response to the copilot prompts
GitHub Repo
No response
Steps to Reproduce
- setup MCP
- start the MCP server
- run
nx graph
- ask copilot about the nx workspace using a basic propmpt
@nx describe the workspace
Nx Report
Node : 22.12.0
OS : linux-x64
Native Target : x86_64-linux
pnpm : 9.15.0
nx (global) : 21.2.0
nx : 21.2.0
@nx/js : 21.2.0
@nx/jest : 21.2.0
@nx/eslint : 21.2.0
typescript : 5.8.3
---------------------------------------
Registered Plugins:
@nx/js/typescript
@nx/jest/plugin
@nx/jest/plugin
---------------------------------------
Cache Usage: 49.24 MB / 46.73 GB
Failure Logs
Package Manager Version
No response
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)
Additional Information
No response