Cursor with IDrive® e2 Self-Hosted MCP

IDrive® e2 MCP connects your IDrive® e2 object storage with AI assistants and applications using the open Model Context Protocol (MCP) standard. It enables compatible AI clients to securely access and work with your data using natural language, eliminating the need for custom integrations, scripts, or manual workflows. This guide explains how to connect Cursor with IDrive® e2 storage using the Self-hosted MCP.

Prerequisites

  1. An active IDrive® e2 account.
  2. Access to a Cursor account.
  3. Node.js 20 or newer

Reference Architecture

IDrive e2 mcp guides

Deploy IDrive® e2 MCP Package

  1. Install the Self-hosted MCP package
    npm install --global @idrivee2/s3-mcp
    Or install it in a Node.js project:
    npm install @idrivee2/s3-mcp
  2. Run the agent after installation:
    idrivee2-s3-mcp
    The server starts in the background and prints its process ID, MCP URL, and log file. Use the default MCP URL to connect with Cursor.
    http://127.0.0.1:1908/s3

Configure Cursor for IDrive® e2 MCP

  1. Sign in to Cursor, start a chat, and click +.
    IDrive e2 mcp guides
    IDrive e2 mcp guides
  2. Go to MCP Servers and click Add MCP.
    IDrive e2 mcp guides
  3. In the Browse MCPs popup, select Custom MCP.
    IDrive e2 mcp guides
  4. In the Add a Custom MCP popup, provide the following details and click Add MCP.
    1. Name: IDrive® e2
    2. Type: URL
    3. Server URL: http://127.0.0.1:1908/s3
    IDrive e2 mcp guides
  5. The newly added MCP server will be listed in the MCP Servers dropdown.
    IDrive e2 mcp guides
  6. Enable IDrive® e2 MCP using the toggle and click Login.
    IDrive e2 mcp guides
  7. You will be redirected to the IDrive® e2 web console.
  8. Enter your IDrive® e2 account email address and password and click Sign in.
    IDrive e2 mcp guides
  9. Set session timeout duration and access permission.
    IDrive e2 mcp guides
  10. Once signed in you will be redirected to Cursor.
  11. Navigate to the Cursor MCP page and verify that IDrive® e2 MCP is active.
  12. You can now use natural language prompts to interact with IDrive® e2 storage.