promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Cursor CLI

/mcp

Manages MCP servers via an interactive menu: log in, list, view tools.

/mcp opens a menu to manage MCP servers: filter, log in, list a server's tools, view server details. Servers are grouped by scope (User/Project/Team), and failed servers show their actual error.

โœ… WHEN TO USE IT?

Check a new MCP server's tools before using it

/mcp list-tools github

Do an OAuth login for a team MCP server

/mcp โ€” select the server, then 'Login'

โ›” WHEN NOT TO?

All MCP servers should be auto-approved at startup

/mcp is meant for interactive management, not automated approval in scripts.

Better: Use --approve-mcps at startup

A server should disappear from the config permanently

/mcp only manages connection status and approvals at runtime.

Better: Remove the server entry directly from mcp.json

SOURCES