Harness Notes

Commands

Updated 2026-11-25,

On this page

The command for each task, in each harness. Pick what you are working with, then read across: commands you type in your shell or a script and commands you type inside an open session are listed separately. Commands for renaming sessions are on Thread naming and importing from another harness on Migration.

From your shell

Commands you run in a terminal or script, outside a session.

TaskCursor Agentchecked at 2026.10.12-d47ca18
Set up
Sign in or pair

agent mcp login <identifier>

Sign in to an MCP server configured in .cursor/mcp.json or ~/.cursor/mcp.json.

Use
List

agent mcp list

also cursor-agent mcp list

List configured MCP servers and their status.

Show details

agent mcp list-tools <identifier>

List the tools an MCP server exposes and their argument names.

Change
Enable

agent mcp enable <identifier>

Add an MCP server to the local approved list.

1 note

--approve-mcps approves every server for one run.

Disable

agent mcp disable <identifier>

Disable an MCP server so it is neither loaded nor offered for approval.

Inside a session

Slash commands you type into an open session.

TaskCursor Agentchecked at 2026.10.12-d47ca18
Use
Open the manager

/mcp

Open the MCP pager to browse tools, sign in or out, enable or disable servers.

Notes and sources

Cursor Agent
  • Nested --help at this version prints the top-level help, so subcommand syntax for plugin marketplaces and in-session commands comes from the docs and changelog.
  • agent env, agent cloud and agent automations exist behind feature flags and are not recorded.