
Connectors / Developer tools · HTTP Connector
Cursor integration and API
Create an agent, send a follow-up prompt and create an environment in Cursor. Connect Cursor to the rest of your developer tools stack with Tray.ai.
What can you do with Cursor on Tray.ai?
Cursor is an AI code editor and coding agent platform that writes, edits and reviews code, with cloud agents that work on repositories in the background. Tray.ai connects to Cursor through the HTTP Connector, so your workflows can call the Cursor API alongside the rest of your stack.
- Create an agent to fix a bug when an issue is labelled for automation in your project tracker.
- Get run status and post the result to your engineering team chat.
- Send a follow-up prompt with reviewer comments from your code review tool.
- Cancel a run when the linked ticket is closed in your project tracker.
- Connects through
- HTTP Connector
- Authentication
- Basic authentication or a bearer token
- Base URL
- https://api.cursor.com
Set it up
Connect Cursor to Tray.ai
Each step uses Cursor's own API details, from its documentation.
Step 1
Save Cursor's username and password
Save the credentials Cursor gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay out of the workflow and out of the logs.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.cursor.com as the base URL. Or paste a cURL example from Cursor's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “List agents”
It's one of 17 documented actions, under Cloud agents. The response comes back as data the next step can map into your other apps.
Step 4
Hand it to an AI agent
Wrap “Create an agent” and “Get an agent” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.
Workflows to build with Cursor
Connect Cursor with Jira, GitHub and Slack
Each one uses actions and events from Cursor's own API documentation.
Start a Cursor agent on Jira bugs labeled for AI
When
An issue is labeled for AI in Jira
Then
- Create an agent with the issue description as the prompt
- Get run status until the agent finishes
- Add the result as a comment on the issue in Jira
With Jira
Apps you can build on Cursor data
Internal tools your team can build with an AI assistant, each one using Cursor calls from its API documentation.
Coding agent run monitor
Lists cloud agents and their runs with status, and lets an engineer cancel a run.
Coding task request portal
Lets an engineer submit a coding task as a new agent and send follow-up prompts.
Agent environment manager
Lists environments and lets platform engineers update one or start a new build.
Give your AI agents Cursor tools
Build an MCP server on Cursor in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- Create an agent
- Send a follow-up prompt
- Create an environment
- List secrets
- List agents
- Get an agent
- Archive an agent
- Delete an agent
What the Cursor API covers
4 resources and 17 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
Cloud agents
- Create an agent
- List agents
- Get an agent
- Archive an agent
- Delete an agent
Agent runs
- Send a follow-up prompt
- List agent runs
- Get run status
- Cancel a run
Environments
- Create an environment
- List environments
- Update an environment
- Start a build
- Delete an environment
Secrets
- List secrets
- Create or update a secret
- Delete a secret
Checked against Cursor's own documentation on 2026-10-22
How Tray.ai makes this work
Cursor plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Cursor — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Cursor actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on Cursor data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More developer tools apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every developer tools connector →
Frequently asked questions
What can a Tray.ai workflow do in Cursor?
+
The Cursor API documents 17 actions across 4 resources (Cloud agents, Agent runs, Environments, Secrets). For example: Create an agent; Send a follow-up prompt; Create an environment. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Cursor?
+
The Cursor API uses basic authentication and a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See Cursor working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.