productivity
Cursor MCP, CLI, and Lua Integration for AI Agents
Cursor integration docs for AI agents: MCP gateway setup, Cursor CLI commands, Lua API reference, credentials, and function schemas.Cursor for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
cursor.cursor_list_team_members | Read read | 0 | List all Cursor team members and their roles. |
cursor.cursor_get_daily_usage_data | Read read | 2 | Get Cursor team daily usage data for a start and end date in epoch milliseconds. |
cursor.cursor_get_spend | Read read | 5 | Get Cursor team spending data with optional search, sorting, and pagination. |
cursor.cursor_get_usage_events | Read read | 6 | Get detailed Cursor usage events filtered by date range, user ID, email, and pagination. |
cursor.cursor_set_user_spend_limit | Write write | 2 | Set a whole-dollar Cursor spending limit for a team member. |
cursor.cursor_list_repo_blocklists | Read read | 0 | List repository blocklists configured for the Cursor team. |
cursor.cursor_upsert_repo_blocklists | Write write | 1 | Replace blocklist patterns for one or more Cursor team repositories. |
cursor.cursor_delete_repo_blocklist | Write write | 1 | Delete a repository blocklist entry from the Cursor team settings. |