Enable, disable, or log in to an MCP server

rules & mcp

// what it does

mcp enable adds a server to the local approved list; mcp disable stops it loading or prompting; mcp login runs the server's authentication flow with automatic callback handling. In headless runs, --approve-mcps auto-approves all MCP servers at once so tool calls do not stall on prompts.

// shell

$ cursor-agent mcp login linear
$ cursor-agent mcp enable linear
$ cursor-agent mcp disable linear

// resources