Recommendation
Use Streamable HTTP for the self-hosted HTTP endpoint. Use stdio only when you want Cursor to launch the npm package locally.
Config files
Project:
1 | .cursor/mcp.json |
Global:
1 | ~/.cursor/mcp.json |
Hosted HTTP
1 | { |
Local stdio
1 | { |
Verify
Restart or refresh Cursor after saving MCP configuration. Then ask:
1 | List the Netskope NPA MCP tools you can access. Do not call any write tools. |
If the client has an MCP status panel, confirm netskope-npa is connected before sending NPA prompts.
Common issues
| Symptom | Fix |
|---|---|
| Tools unavailable | Check Cursor settings and the Available Tools list. |
| Project config ignored | Confirm the file is exactly .cursor/mcp.json. |
| Remote auth fails | Confirm headers and token value. |
| Local command fails | Use npx -y or a full path to Node/npm. |
Platform notes
Cursor documents stdio, SSE, and Streamable HTTP transports and uses mcpServers in project or global mcp.json.
Source: Cursor MCP docs