cursor-usage
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CURSOR_API_KEY | Yes | Your Cursor Enterprise Admin API key. This key provides read access to team usage data and allows setting spending limits. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_team_membersB | List all team members with their roles and status. Returns name, email, role, and whether they've been removed. |
| get_spendingC | Get current billing cycle spending for all team members. Shows spend in dollars, included vs overage, fast premium requests, and spend limits. |
| get_daily_usageB | Get daily usage data per user: lines added/deleted, applies, accepts, rejects, tabs, requests by mode (composer/chat/agent), models used, and client versions. |
| get_billing_groupsB | Get billing groups with member lists, group-level spend, and daily spend breakdown. Also returns billing cycle dates. |
| get_usage_eventsA | Get granular per-request usage events with model, token counts, costs, and whether the request was chargeable. Supports filtering by user email and date range. |
| set_spend_limitA | Set a hard spending limit (in dollars) for a specific team member. Use with caution — this will block the user from making requests once the limit is reached. |
| get_dauB | Get daily active users over time, including breakdowns for CLI, cloud agent, and Bugbot usage. |
| get_model_usageA | Get model usage breakdown per day: which models are being used, how many messages, and by how many users. Essential for understanding model adoption and cost drivers. |
| get_agent_editsC | Get agent edit metrics: suggested vs accepted vs rejected diffs and lines. Shows how effectively the team is using AI-generated code. |
| get_tabsC | Get tab autocomplete usage: suggestions shown vs accepted vs rejected, with line-level detail. |
| get_mcp_usageB | Get MCP (Model Context Protocol) tool usage: which MCP servers and tools are being used, and how often. |
| get_file_extensionsB | Get top file extensions being edited with AI: which file types get the most AI suggestions, accepts, and rejects. |
| get_client_versionsB | Get Cursor client version distribution across the team: which versions are in use and what percentage of users are on each. |
| get_commandsB | Get command usage analytics: which Cursor commands are being used and how often. |
| get_plansC | Get plan mode adoption: which models are being used in plan mode and how often. |
| get_team_overviewA | Get a comprehensive team overview: member count, total spend, top spenders, DAU, and most-used models. This is the best starting point for understanding your team's Cursor usage. |
| get_user_deep_diveC | Deep dive into a specific user's usage: their spending, daily usage patterns, recent requests, and model preferences. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ofershap/cursor-usage'
If you have feedback or need assistance with the MCP directory API, please join our Discord server