Supports loading configuration from .env files for API key management and other environment variables.
Integrates with GitHub for CI workflows, bug reporting, feature requests, and discussions.
Includes testing support with Jest, allowing for running tests with coverage and in watch mode.
Runs on Node.js, with specific support for Node.js 16+ as a prerequisite for installation.
Allows installation and distribution of the MCP server package through npm, with support for running via npx.
Built with TypeScript, following TypeScript best practices for development.
Cursor Admin MCP Server
by Utlyze.com
🎮 The Team Analytics Power-Up for Your AI Assistant
Brought to you by Utlyze - Zero Latency Operations Through AI Employees
🚀 Quick Install
That's it. Your AI assistant just leveled up.
🎯 What You Get
Think of this as equipping your AI with X-ray vision for your development team:
- 🏢 Team Roster - Instantly know who's on the team and their roles
- 📊 Usage Analytics - See who's actually coding vs. who's in meetings
- 💰 Credit Tracker - Know exactly where your AI credits are going
- 📈 Productivity Metrics - Lines added, AI acceptance rates, favorite models
- 🔍 Deep Insights - Which developer uses which tools, when they're most active
💪 Why This Matters
Stop asking your team for status updates. Your AI can now tell you:
- "Who wrote the most code this week?"
- "What's our AI spending trend?"
- "Which team member has the highest AI acceptance rate?"
- "Show me usage patterns for the last month"
📸 See It In Action
Installation
Prerequisites
- Node.js 16+
- A Cursor team admin API key (get it from your team settings)
Install from npm
Install from source
Configuration
1. Set up your API key
Create a .env
file in the project root (or set the environment variable):
2. Configure in Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json
):
3. Configure in Cursor
Add to your Cursor settings:
Available Tools
1. get_team_members
Get a list of all team members with their information.
Example usage in Claude/Cursor:
Returns:
2. get_daily_usage_data
Retrieve detailed usage metrics for a specified date range (max 90 days).
Parameters:
startDate
: Start date in epoch millisecondsendDate
: End date in epoch milliseconds
Example usage in Claude/Cursor:
Returns:
3. get_spending_data
Get team spending information with optional filtering and pagination.
Optional Parameters:
searchTerm
: Filter by search termsortBy
: Field to sort bysortDirection
: "asc" or "desc"page
: Page numberpageSize
: Items per page
Example usage in Claude/Cursor:
Returns:
Development
Setup
Testing
Building
Project Structure
Examples
Basic Usage
Advanced Queries
Error Handling
The server includes comprehensive error handling:
- Invalid API Key: Clear error message if authentication fails
- Rate Limiting: Respects Cursor API rate limits
- Date Validation: Ensures date ranges don't exceed 90 days
- Network Errors: Graceful handling of connection issues
- Invalid Parameters: Detailed validation messages
Security
- API keys are never logged or exposed
- All communication uses HTTPS
- Basic authentication as per Cursor API requirements
- Environment variables for sensitive data
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Development Guidelines
- Write tests for new features
- Update documentation
- Follow TypeScript best practices
- Ensure all tests pass
- Add examples for new functionality
Troubleshooting
API Key Issues
If you get authentication errors:
- Verify your API key starts with
key_
- Ensure you're a team admin
- Check the key hasn't been revoked
Connection Issues
If the server won't connect:
- Check your internet connection
- Verify the Cursor API is accessible
- Check for any firewall restrictions
Date Range Errors
If you get date range errors:
- Ensure your date range is within 90 days
- Use epoch milliseconds for dates
- Verify endDate > startDate
License
MIT License - see LICENSE file for details
Acknowledgments
- Built for the Cursor editor
- Implements the Model Context Protocol
- Uses the official MCP SDK
Support
Built by Utlyze
Utlyze - Zero Latency Operations Through AI Employees
We're pioneering the future of work by creating AI employees that seamlessly integrate with your existing workflows. The Cursor Admin MCP Server is just one example of how we're making teams more efficient through intelligent automation.
Visit Utlyze.com | Contact Us | LinkedIn
Made with ❤️ by the Utlyze team for the Cursor community
This server cannot be installed
An MCP server that provides AI assistants with team analytics capabilities for Cursor editor, allowing them to retrieve team member information, usage metrics, and spending data through natural language queries.
Related MCP Servers
- -securityFlicense-qualityAn MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.Last updated -1Python
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Linear project management systems, allowing users to retrieve, create, and update issues, projects, and teams through natural language.Last updated -32805TypeScriptMIT License
- AsecurityFlicenseAqualityAn MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.Last updated -1140TypeScript
- -securityFlicense-qualityAn MCP server that integrates with AI editors like Cursor to maximize agentic capabilities while solving context window limitations, providing a Svelte UI for task planning and implementation tracking.Last updated -14TypeScript