Set up Cursor in Metorial for Claude, ChatGPT and Cursor
Share Cursor with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 34 tools (22 read-only).
To give your team Cursor in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Cursor integration in a Metorial portal, and each person connects with an API key. Launch and manage Cursor cloud agents and individual runs, retrieve downloadable files, and track Enterprise team usage, spending, members, and repository blocklists. The integration has 34 tools, 22 read-only, 7 write and 5 destructive, plus 1 trigger.
What you'll learn
- How an admin shares Cursor in a portal and how each person connects
- What Cursor asks for when you connect, and where to find it
- How to keep the 22 read-only tools and reject the other 12
Before you start
- A portal with at least one access group
- An API key from Cursor for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Key | API token | token |
API Key
To connect, a person enters:
token: Cursor API key (User API Key or Admin API Key). Generated from your Cursor dashboard.
Admin: share Cursor in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Cursor. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Cursor.
Choose who gets it
Add the access groups that should see Cursor. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Cursor integration. Once it exists, check which groups have it:
Employee: connect Cursor
In the portal
Open Cursor in the catalog
Sign in to your portal and open Cursor. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key (token).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your Cursor connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 22 read-only tools, such as get_agent and list_agents, and lose the 7 write tools, such as stop_agent or launch_agent, and the 5 destructive tools, such as delete_agent or manage_cloud_agent.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 34 tools, minus any you rejected. list_models takes no input. It lists available AI models that can be used when launching Cursor cloud agents.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (22)
get_team_members: DEPRECATED — use `list_team_members` instead.list_models: List available AI models that can be used when launching Cursor cloud agents.get_audit_logs: Retrieve audit logs for your team.list_agent_artifacts: List files produced by a Cursor cloud agent. NeedsagentId.download_artifact: Get a temporary download URL for a specific agent artifact file. NeedsagentIdandartifactPath.get_agent: Retrieve the current status and details of a Cursor cloud agent by its ID. NeedsagentId.list_cloud_agents: List durable Cursor cloud agents, newest first, using the current public beta API.get_repo_blocklists: Retrieve all repository blocklists configured for your team.get_team_spend: DEPRECATED — use `get_team_spending` instead.download_cloud_artifact: Prepare a downloadable file produced by a durable cloud agent.get_cloud_agent: Get durable cloud agent metadata, repositories, branch settings, and latest run ID using the current public beta API.list_agent_runs: List a durable cloud agent’s runs, newest first, with pagination.get_usage_events: Retrieve detailed usage events for your team with filtering by date range, user, and pagination. NeedsstartDateandendDate.get_agent_conversation: Retrieve the full conversation history of a Cursor cloud agent, including both user prompts and assistant responses. NeedsagentId.get_daily_usage: Retrieve daily usage metrics for your team within a date range. NeedsstartDateandendDate.get_team_spending: Get current-cycle Cursor team spending with encoded member IDs, on-demand and overall spending in cents, and effective user limits.list_team_members: List current and removed Cursor team members with their encoded user IDs, names, emails, and roles.list_cloud_agent_artifacts: List downloadable files produced by a durable cloud agent.list_agents: List cloud agents in your Cursor account.get_api_key_info: Retrieve information about the authenticated API key, including the associated user email and key metadata.list_repositories: List GitHub repositories accessible to your Cursor account.get_agent_run: Read run execution status, timestamps, duration, final reply, and pushed branches.
Write tools (7)
launch_agent: Launch a new Cursor cloud agent to work on a GitHub repository. NeedspromptText.create_agent_run: Send a new prompt to a durable cloud agent, reusing its conversation and workspace.set_user_spend_limit: Set or remove a monthly spend limit for a team member. NeedsuserEmailandspendLimitDollars.stop_agent: Stop a running Cursor cloud agent. NeedsagentId.follow_up_agent: Send a follow-up instruction to a running or stopped Cursor cloud agent. NeedsagentIdandpromptText.cancel_agent_run: Cancel an active cloud agent run.create_cloud_agent: Create a durable Cursor cloud agent and its initial run using the current public beta API.
Destructive tools (5)
delete_agent: Permanently delete a Cursor cloud agent. NeedsagentId.delete_repo_blocklist: Delete a repository blocklist entry by its ID. NeedsrepoId.remove_team_member: Remove a member from the team.manage_cloud_agent: Archive, unarchive, or permanently delete a durable cloud agent.upsert_repo_blocklists: Add or update repository blocklist patterns. Needsrepos.
Triggers
Cursor has 1 trigger, which fire on events in Cursor:
agent_status_change: Triggered when a Cursor cloud agent reaches FINISHED or ERROR status.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Cursor there
- Tool permissions: tool filters and what employees see
- Cursor on metorial.com: the integration overview