Cursor Setup
Prerequisites
- Cursor IDE
- Unizo API key and SCM integration ID
- Node.js v20 or higher
Setup Instructions
-
Install @mcp-remote if not already installed:
npm i mcp-remote -
Open Cursor Settings (
Cmd/Ctrl + ,) -
Add MCP configuration:
- macOS/Linux
- Windows
Navigate to Cursor's settings.json and add:
{
"mcpServers": {
"unizo": {
"command": "/Users/{user_name}/.nvm/versions/node/v18.x.x/bin/node",
"args": [
"/Users/{user_name}/.nvm/versions/node/v18.x.x/bin/mcp-remote",
"https://api.unizo.ai/mcp",
"--header",
"apikey:${UNIZO_API_KEY}",
"--header",
"x-mcp-scopes:ticketing"
],
"env": {
"UNIZO_API_KEY": "your_api_key"
}
}
}
}
{
"mcpServers": {
"unizo": {
"command": "npx",
"args": [
"mcp-remote",
"https://api.unizo.ai/mcp",
"--header",
"apikey:${UNIZO_API_KEY}",
"--header",
"x-mcp-scopes:ticketing"
],
"env": {
"UNIZO_API_KEY": "your_api_key"
}
}
}
}
- Restart Cursor to load the MCP server
Flags: If npx is producing errors, consider adding -y as the first argument to auto-accept the installation of the mcp-remote package.
{
"mcpServers": {
"unizo": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.unizo.ai/mcp",
"--header",
"apikey:${UNIZO_API_KEY}",
"--header",
"x-mcp-scopes:ticketing"
],
"env": {
"UNIZO_API_KEY": "your_api_key"
}
}
}
}
Available Tools
Once configured, you'll have access to:
ticketing_list_connectors- Get list of available ticketing servicesticketing_list_integrations- Get integrations for a specific ticketing serviceticketing_list_organizations- Browse available organizationsticketing_get_organization- Retrieve comprehensive organization informationticketing_list_collections- Browse collections (projects/boards)ticketing_get_collection- Retrieve detailed collection informationticketing_list_users- Browse users with paginationticketing_get_user- Retrieve detailed user informationticketing_list_tickets- Browse tickets with paginationticketing_get_ticket- Retrieve comprehensive ticket informationticketing_create_ticket- Create a new ticketticketing_create_bulk_tickets- Create multiple tickets in bulkticketing_update_ticket- Update an existing ticketticketing_link_tickets- Link two tickets togetherticketing_list_comments- Browse ticket commentsticketing_get_comment- Retrieve detailed comment informationticketing_create_comment- Create a new commentticketing_list_attachments- Browse ticket attachmentsticketing_get_attachment- Retrieve attachment informationticketing_create_attachment- Upload a new attachmentticketing_list_labels- Browse ticket labelsticketing_create_label- Create a new label
Environment Variables
You can also set environment variables in your shell profile:
- macOS/Linux
- Windows
export UNIZO_API_KEY="your_api_key"
[System.Environment]::SetEnvironmentVariable("UNIZO_API_KEY", "your_api_key", "User")
Then reference them in settings.json:
{
"env": {
"UNIZO_API_KEY": "${env:UNIZO_API_KEY}"
}
}
Multiple Integrations
To work with multiple categories or integrations, add them as a comma-separated list under the x-mcp-scopes header:
{
"mcpServers": {
"unizo": {
"command": "npx",
"args": [
"mcp-remote",
"https://api.unizo.ai/mcp",
"--header",
"apikey:${UNIZO_API_KEY}",
"--header",
"x-mcp-scopes : ticketing,scm,incident"
],
"env": {
"UNIZO_API_KEY": "your_api_key"
}
}
}
}
Troubleshooting
MCP not detected
- Check Cursor's output panel: View → Output → MCP
- Ensure Node.js v20+ is installed
Authentication errors
- Verify your API key in Unizo dashboard
- Check that the integration ID is correct
- Ensure the integration is active
Debug mode
Enable debug logging in settings.json:
{
"args": ["--debug"]
}