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)
Open as Cursor GitHub App
Launch Agent (cursor_launch_agent)
Start a new cloud agent to work on a GitHub repository with the given instructions.
Input
Parameter Type Required Description apiKeystring Yes Cursor API key repositorystring Yes GitHub repository URL (e.g., https://github.com/your-org/your-repo\ ) refstring No Branch, tag, or commit to work from (defaults to default branch) promptTextstring Yes The instruction text for the agent promptImagesstring No JSON array of image objects with base64 data and dimensions modelstring No Model to use (leave empty for auto-selection) branchNamestring No Custom branch name for the agent to use autoCreatePrboolean No Automatically create a PR when the agent finishes openAsCursorGithubAppboolean No Open the PR as the Cursor GitHub App skipReviewerRequestboolean No Skip requesting reviewers on the PR
Output
Parameter Type Description contentstring Success message with agent details idstring Agent ID
API Key*
••••••••
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
Parameter Type Required Description apiKeystring Yes Cursor API key agentIdstring Yes Unique identifier for the cloud agent (e.g., bc_abc123) followupPromptTextstring Yes The follow-up instruction text for the agent promptImagesstring No JSON array of image objects with base64 data and dimensions (max 5)
Output
Parameter Type Description contentstring Success message
API Key*
••••••••
Get Agent Status (cursor_get_agent)
Retrieve the current status and results of a cloud agent.
Input
Parameter Type Required Description apiKeystring Yes Cursor API key agentIdstring Yes Unique identifier for the cloud agent (e.g., bc_abc123)
Output
Parameter Type Description contentstring Human-readable agent details idstring Agent ID namestring Agent name statusstring Agent status sourceobject Source repository info targetobject Target branch info summarystring Agent summary
API Key*
••••••••
Get Conversation (cursor_get_conversation)
Retrieve the conversation history of a cloud agent, including all user prompts and assistant responses.
Input
Parameter Type Required Description apiKeystring Yes Cursor API key agentIdstring Yes Unique identifier for the cloud agent (e.g., bc_abc123)
Output
Parameter Type Description contentstring Human-readable conversation history idstring Agent ID
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
Parameter Type Required Description apiKeystring Yes Cursor API key limitnumber No Number of agents to return (default: 20, max: 100) cursorstring No Pagination cursor from previous response
Output
Parameter Type Description contentstring Human-readable list of agents agentsarray Array of agent objects
API Key*
••••••••
Stop Agent (cursor_stop_agent)
Stop a running cloud agent. This pauses the agent without deleting it.
Input
Parameter Type Required Description apiKeystring Yes Cursor API key agentIdstring Yes Unique identifier for the cloud agent (e.g., bc_abc123)
Output
Parameter Type Description contentstring Success message
API Key*
••••••••
Delete Agent (cursor_delete_agent)
Permanently delete a cloud agent. This action cannot be undone.
Input
Parameter Type Required Description apiKeystring Yes Cursor API key agentIdstring Yes Unique identifier for the cloud agent (e.g., bc_abc123)
Output
Parameter Type Description contentstring Success message
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.
Category: tools
Type: cursor