home / mcp / cloud agent mcp server
MCP server that exposes Cursor Cloud Agents API endpoints as tools for AI assistants
Configuration
View docs{
"mcpServers": {
"jxnl-cursor-cloud-agent-mcp": {
"url": "http://localhost:3000/mcp",
"headers": {
"PORT": "3000",
"CURSOR_API_KEY": "YOUR_API_KEY"
}
}
}
}You run a Cloud MCP Server that lets Cursor Cloud Agents be created and managed programmatically. This server exposes a stable interface you can connect to from MCP clients, enabling automated task creation, repository interactions, and progress tracking across GitHub repositories.
You connect to the MCP server from a client and authorize with your API key. Choose the integration method you prefer: run the HTTP server locally or use a standard input/output (stdio) server for tight local workflows.
Typical workflow you’ll follow: discover your repository context, create a cloud task with a prompt, monitor its status, optionally send follow-up instructions, and review the resulting conversation or task output.
Prerequisites you need on your machine before starting the MCP server: Node.js and npm installed.
# Install the MCP server globally
npm install -g cursor-cloud-agent-mcp
# Set your API key for Cursor Cloud
export CURSOR_API_KEY=your_api_key_here
# Start the HTTP MCP server (default port 3000) and listen for connections
npm start
# Or start the stdio MCP server for local integrations
npm run start:stdioConfigure how you connect to the MCP server from your client. You can either point to the HTTP endpoint or run the stdio version locally and communicate via standard input/output.
HTTP server example you can use when you want a remote/machine-to-machine connection.
Run the HTTP version locally to expose a web endpoint for MCP clients to reach.
Start the server and connect your MCP client to the following address.
Use the stdio server when you prefer process-based spawning and local integration within your development environment.
The runtime command and arguments shown below are the standard way to launch the stdio server via npm.
Protect your CURSOR_API_KEY as a secret and do not expose it in logs or shared configuration. Use environment-variable-based configuration in all deployment scenarios.
If the server does not start, verify Node.js and npm are installed, ensure your API key is set, and check that no other process is occupying port 3000. For stdio mode, confirm the process can communicate through standard I/O channels.
The following configurations illustrate how you can connect from MCP clients using either the HTTP endpoint or the stdio workflow. Use the method that matches your environment and tooling.
This MCP server enables you to manage cloud agents that operate on GitHub repositories. You can run tasks, monitor progress, and retrieve conversation histories as part of an automated workflow.
{
"mcpServers": {
"cursor-cloud-agent": {
"type": "http",
"url": "http://localhost:3000/mcp",
"args": []
}
}
}# Start HTTP server (default port 3000)
npm startDetects current git repository information (URL, branch, uncommitted changes) and can list accessible repos when filtering is enabled.
Verify authentication and retrieve API key info.
List available LLM models.
Launch a cloud task with a given prompt and target repository.
List all cloud tasks for your account.
Get status of a specific task.
Send additional instructions to a running task.
Retrieve full conversation history for a task.
Permanently delete a task.