---
title: "Cursor Integration"
description: "Manage Cursor Cloud Agents and background tasks"
---
The Cursor integration provides access to manage Cursor Cloud Agents and background tasks through the Integrate MCP server.

## Installation

The Cursor integration is included with the SDK:

```typescript
import { cursorIntegration } from "integrate-sdk/server";
```

## Setup

Add Cursor to your server configuration:

```typescript
import { createMCPServer, cursorIntegration } from "integrate-sdk/server";

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    cursorIntegration(),
  ],
});
```

### Client-Side Usage

```typescript
import { client } from "integrate-sdk";

const result = await client.cursor.listAgents({});

console.log(result);
```

## Configuration Options

<AutoTypeTable
  path="../src/integrations/cursor.ts"
  name="CursorIntegrationConfig"
/>


## Tools

### `cursor_list_agents`

List all cloud agents

<AutoTypeTable
  path="generated/tool-params/cursor.ts"
  name="CursorListAgentsParams"
/>

### `cursor_get_agent`

Get agent status

<AutoTypeTable
  path="generated/tool-params/cursor.ts"
  name="CursorGetAgentParams"
/>

### `cursor_get_conversation`

Get conversation history

<AutoTypeTable
  path="generated/tool-params/cursor.ts"
  name="CursorGetConversationParams"
/>

### `cursor_launch_agent`

Launch a new agent

<AutoTypeTable
  path="generated/tool-params/cursor.ts"
  name="CursorLaunchAgentParams"
/>

### `cursor_followup_agent`

Add follow-up instruction

<AutoTypeTable
  path="generated/tool-params/cursor.ts"
  name="CursorFollowupAgentParams"
/>

### `cursor_stop_agent`

Stop a running agent

<AutoTypeTable
  path="generated/tool-params/cursor.ts"
  name="CursorStopAgentParams"
/>

### `cursor_delete_agent`

Delete an agent

<AutoTypeTable
  path="generated/tool-params/cursor.ts"
  name="CursorDeleteAgentParams"
/>

### `cursor_get_me`

Get API key info

_No parameters._

### `cursor_list_models`

List available models

<AutoTypeTable
  path="generated/tool-params/cursor.ts"
  name="CursorListModelsParams"
/>

### `cursor_list_repositories`

List GitHub repositories

<AutoTypeTable
  path="generated/tool-params/cursor.ts"
  name="CursorListRepositoriesParams"
/>

## Notes

- Category: Engineering
- Authentication mode: None
