Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
Running cursor-agent mcp list will not show remote servers or servers with Auth requirements.
Steps to Reproduce
in your ~/.cursor/mcp.json:
{
"mcpServers": {
"mcp-atlassian": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-v",
"~/.mcp-atlassian:/home/app/.mcp-atlassian",
"-e",
"JIRA_URL",
"-e",
"ATLASSIAN_OAUTH_CLIENT_ID",
"-e",
"ATLASSIAN_OAUTH_CLIENT_SECRET",
"-e",
"ATLASSIAN_OAUTH_REDIRECT_URI",
"-e",
"ATLASSIAN_OAUTH_SCOPE",
"-e",
"ATLASSIAN_OAUTH_CLOUD_ID",
"mcp/atlassian:latest"
],
"env": {
"JIRA_URL": "https://smg-re.atlassian.net",
"ATLASSIAN_OAUTH_CLIENT_ID": "xxx",
"ATLASSIAN_OAUTH_CLIENT_SECRET": "xxx",
"ATLASSIAN_OAUTH_REDIRECT_URI": "http://localhost:8085/callback",
"ATLASSIAN_OAUTH_SCOPE": "write:jira-work read:jira-work offline_access",
"ATLASSIAN_OAUTH_CLOUD_ID": "xxx"
}
},
"github": {
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer xxx"
}
},
"context7": {
"url": "https://mcp.context7.com/mcp"
},
"aws-knowledge-mcp-server": {
"url": "https://knowledge-mcp.global.api.aws"
}
}
}
Then run cursor-agent mcp list.
=>
No MCP servers configured (expected in .cursor/mcp.json or ~/.cursor/mcp.json)
Expected Behavior
All of the are showing up and working as in the Cursor Desktop app.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Cursor CLI Version: 2025.09.18-7ae6800
For AI issues: which model did you use?
All
Does this stop you from using Cursor
No - Cursor works, but with this issue