Cursor

Launch and manage Cursor cloud agents to work on GitHub repositories

Configuration

Launch Agent

Operation
Launch Agent
API Key*
••••••••
Repository URL*
https://github.com/your-org/your-repo
Branch/Ref
main (optional)
Prompt*
Describe the task for the agent...
Model
Auto-selection by default
Branch Name
Custom branch name (optional)
Auto Create PR
Disabled
Open as Cursor GitHub App
Disabled
Skip Reviewer Request
Disabled
Launch Agent (cursor_launch_agent)

Start a new cloud agent to work on a GitHub repository with the given instructions.

Input
ParameterTypeRequiredDescription
apiKeystringYesCursor API key
repositorystringYesGitHub repository URL (e.g., https://github.com/your-org/your-repo\)
refstringNoBranch, tag, or commit to work from (defaults to default branch)
promptTextstringYesThe instruction text for the agent
promptImagesstringNoJSON array of image objects with base64 data and dimensions
modelstringNoModel to use (leave empty for auto-selection)
branchNamestringNoCustom branch name for the agent to use
autoCreatePrbooleanNoAutomatically create a PR when the agent finishes
openAsCursorGithubAppbooleanNoOpen the PR as the Cursor GitHub App
skipReviewerRequestbooleanNoSkip requesting reviewers on the PR
Output
ParameterTypeDescription
contentstringSuccess message with agent details
idstringAgent ID

Add Follow-up

Operation
Add Follow-up
API Key*
••••••••
Agent ID*
e.g., bc_abc123
Follow-up Prompt*
Additional instructions for the agent...
Add Follow-up (cursor_add_followup)

Add a follow-up instruction to an existing cloud agent.

Input
ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)
followupPromptTextstringYesThe follow-up instruction text for the agent
promptImagesstringNoJSON array of image objects with base64 data and dimensions (max 5)
Output
ParameterTypeDescription
contentstringSuccess message

Get Agent Status

Operation
Get Agent Status
API Key*
••••••••
Agent ID*
e.g., bc_abc123
Get Agent Status (cursor_get_agent)

Retrieve the current status and results of a cloud agent.

Input
ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)
Output
ParameterTypeDescription
contentstringHuman-readable agent details
idstringAgent ID
namestringAgent name
statusstringAgent status
sourceobjectSource repository info
targetobjectTarget branch info
summarystringAgent summary

Get Conversation

Operation
Get Conversation
API Key*
••••••••
Agent ID*
e.g., bc_abc123
Get Conversation (cursor_get_conversation)

Retrieve the conversation history of a cloud agent, including all user prompts and assistant responses.

Input
ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)
Output
ParameterTypeDescription
contentstringHuman-readable conversation history
idstringAgent ID

List Agents

Operation
List Agents
API Key*
••••••••
Limit
20 (default, max 100)
Pagination Cursor
Cursor from previous response
List Agents (cursor_list_agents)

List all cloud agents for the authenticated user with optional pagination.

Input
ParameterTypeRequiredDescription
apiKeystringYesCursor API key
limitnumberNoNumber of agents to return (default: 20, max: 100)
cursorstringNoPagination cursor from previous response
Output
ParameterTypeDescription
contentstringHuman-readable list of agents
agentsarrayArray of agent objects

Stop Agent

Operation
Stop Agent
API Key*
••••••••
Agent ID*
e.g., bc_abc123
Stop Agent (cursor_stop_agent)

Stop a running cloud agent. This pauses the agent without deleting it.

Input
ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)
Output
ParameterTypeDescription
contentstringSuccess message

Delete Agent

Operation
Delete Agent
API Key*
••••••••
Agent ID*
e.g., bc_abc123
Delete Agent (cursor_delete_agent)

Permanently delete a cloud agent. This action cannot be undone.

Input
ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)
Output
ParameterTypeDescription
contentstringSuccess message

Usage Instructions

Interact with Cursor Cloud Agents API to launch AI agents that can work on your GitHub repositories. Supports launching agents, adding follow-up instructions, checking status, viewing conversations, and managing agent lifecycle.

Notes

  • Category: tools
  • Type: cursor