Overview
What is Egnyte MCP Server?
An MCP (Model Context Protocol) server that connects to your Egnyte domain and exposes document search and retrieval functionality for use in AI agents like Cursor, Claude, or OpenAI. It uses Egnyte’s public APIs and Python SDK to support secure, real‑time access to your Egnyte content while respecting existing permissions.
How to use Egnyte MCP Server?
Clone the repository, install Python 3.11+ and uv, then run uv pip install egnyte. Create a .env file with your Egnyte domain and API access token. Start the server with uv run server.py --python 3.11. Configure MCP clients (Cursor IDE or Claude Desktop) with the provided JSON configuration to call the search_for_document_by_name tool.
Key features of Egnyte MCP Server
- Search for documents by filename in your Egnyte domain
- Retrieve relevant documents for AI agents
- Secure, real‑time access respecting existing permissions
- Integrates with Cursor, Claude, and OpenAI MCP clients
- Uses Egnyte’s public Python SDK for authentication
Use cases of Egnyte MCP Server
- AI assistants (Cursor, Claude) searching enterprise documents by name
- Enabling generative AI workflows with live Egnyte content
- Quick document retrieval without leaving the AI chat interface
FAQ from Egnyte MCP Server
What tools does the server expose?
The server implements a single tool: search_for_document_by_name, which searches for a document in your Egnyte domain using its filename.
What are the prerequisites?
Python 3.11+, an Egnyte API access token (obtained from the Egnyte Developer Portal), and an Egnyte domain with files to test.
How do I get an Egnyte API access token?
Register at https://developers.egnyte.com/member/register to get an API key for your Egnyte account.
How do I configure the server for Cursor IDE?
In Cursor, go to Settings → MCP, add a new global MCP server with a JSON configuration specifying the command uv, arguments ["--directory","/path/to/egnyte-mcp-server","run","server.py"], replacing the directory path with your actual installation folder.
How do I set it up in Claude Desktop?
In Claude Desktop, go to Settings → MCP Tools → Add New Server and add a JSON configuration with command python3, args ["server.py"], the cwd pointing to your server directory, and environment variables DOMAIN and ACCESS_TOKEN with your actual credentials.