Cursor Setup
Prerequisites
- Cursor IDE
- Unizo API key and File Storage 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:storage"
],
"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:storage"
],
"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:scm"
],
"env": {
"UNIZO_API_KEY": "your_api_key"
}
}
}
}
Available Tools
Once configured, you'll have access to:
storage_list_connectors- Get list of available storage servicesstorage_list_integrations- Get integrations for a specific storage servicestorage_list_drives- Browse available drives with paginationstorage_get_drive_details- Retrieve comprehensive drive informationstorage_list_folders- Browse and search folders with paginationstorage_get_folder_details- Retrieve detailed folder informationstorage_create_folder- Create a new folderstorage_update_folder- Update folder propertiesstorage_delete_folder- Delete a folderstorage_list_files- Browse and search files with paginationstorage_get_file_details- Retrieve comprehensive file informationstorage_create_file- Create a new filestorage_update_file- Update file contentstorage_delete_file- Delete a filestorage_list_users- Browse storage users with paginationstorage_get_user_details- Retrieve user informationstorage_list_groups- Browse storage groups with paginationstorage_get_group_details- Retrieve group informationstorage_list_versions- List file version historystorage_get_version_details- Retrieve specific version informationstorage_list_permissions- List file permissionsstorage_get_permission_details- Retrieve permission detailsstorage_add_permission- Add file permissionstorage_delete_permission- Remove file permissionstorage_list_comments- List file commentsstorage_get_comment_details- Retrieve comment informationstorage_create_comment- Create a new commentstorage_update_comment- Update comment contentstorage_delete_comment- Delete a comment
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 : storage,scm,ticketing"
],
"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"
]
}