File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
registry/coder-labs/modules/cursor-cli Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 11---
22display_name : Cursor CLI
33icon : ../../../../.icons/cursor.svg
4- description : Run Cursor CLI agent in your workspace (no AgentAPI)
4+ description : Run Cursor Agent CLI in your workspace for AI pair programming
55verified : true
66tags : [agent, cursor, ai, cli]
77---
88
99# Cursor CLI
1010
11- Run the Cursor Coding Agent in your workspace using the Cursor CLI directly.
11+ Run the Cursor Agent CLI in your workspace for interactive coding assistance and automated task execution.
12+
13+ ``` tf
14+ module "cursor_cli" {
15+ source = "registry.coder.com/coder-labs/cursor-cli/coder"
16+ version = "0.1.1"
17+ agent_id = coder_agent.example.id
18+ folder = "/home/coder/project"
19+ }
20+ ```
21+
22+ ## Basic setup
1223
1324A full example with MCP, rules, and pre/post install scripts:
1425
@@ -31,7 +42,7 @@ module "coder-login" {
3142
3243module "cursor_cli" {
3344 source = "registry.coder.com/coder-labs/cursor-cli/coder"
34- version = "0.1.0 "
45+ version = "0.1.1 "
3546 agent_id = coder_agent.example.id
3647 folder = "/home/coder/project"
3748
@@ -40,6 +51,7 @@ module "cursor_cli" {
4051 force = true
4152 model = "gpt-5"
4253 ai_prompt = data.coder_parameter.ai_prompt.value
54+ api_key = "xxxx-xxxx-xxxx" # Required while using tasks, see note below
4355
4456 # Minimal MCP server (writes `folder/.cursor/mcp.json`):
4557 mcp = jsonencode({
You can’t perform that action at this time.
0 commit comments