cursor-agent CLI. Smithers plugs into those surfaces; generated
CLI skill files can also be synced to ~/.agents/skills for harnesses that read
that directory.
Register the MCP server
mcp add writes the registration. To do it by hand, create
.cursor/mcp.json in the project (or ~/.cursor/mcp.json for all projects).
Note Cursor uses the mcpServers key:
list_workflows, run_workflow,
watch_run, resolve_approval, and the rest). See the
MCP Server reference.
Optional generated skill files
skills add syncs generated Smithers CLI skill files into ~/.agents/skills
globally, or .agents/skills with --no-global. Use this if your Cursor setup
bridges that directory into its skill context:
Add a project rule
A rule keeps Smithers in context whenever someone works in.smithers/. Create
.cursor/rules/smithers.mdc:
AGENTS.md at the repo root as a simpler alternative,
the same file Codex and Copilot use.
Headless: cursor-agent
cursor-agent runs Cursor’s agent in the terminal and honors the same
.cursor/ config, so the MCP server and rule above apply in CI. Any bridged
generated skill files can travel with the same setup:
cursor-agent is a CLI, Smithers can also spawn it as a worker inside a
workflow via a compute task that shells out;
there is no dedicated CursorAgent class yet.
See also
- MCP Server: the full tool reference
- Agent Support: the cross-agent commands