Egnyte logo

Egnyte

Organization
egnyte

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.

Publisheregnyte
Repositoryegnyte-mcp-server
LanguagePython
Forks
4
Stars
9
Available tools
0
Transport typestreamable-http
Links
  • Connect tools to AI workflows

    Egnyte exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    9 stars and 4 forks from the linked repository.

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.

This server uses Egnyte’s public APIs and Python SDK to support secure, real-time access to your Egnyte content, enabling smart AI-driven workflows while respecting existing permissions.


📚 About

Model Context Protocol (MCP) is a framework to help AI agents securely query external systems for real-time context.
The Egnyte MCP Server allows agents to:

  • Search for documents by name
  • Retrieve relevant documents from Egnyte
  • Seamlessly integrate enterprise content into generative AI workflows

🛠️ Tools Implemented

Tool NameDescription
search_for_document_by_nameSearches for a document in your Egnyte domain using its filename.

📋 Requirements

Installing Prerequisites

🔧 Installation

1. Clone the Repository

bash
git clone https://github.com/egnyte/egnyte-mcp-server.git
cd egnyte-mcp-server

2. Install uv (Python environment & dependency manager)

Mac/Linux:

bash
curl -LsSf https://astral.sh/uv/install.sh | sh

Windows (PowerShell):

powershell
irm https://astral.sh/uv/install.ps1 | iex

3. Install Egnyte SDK

bash
uv pip install egnyte

📄 Egnyte SDK Documentation
🔗 Egnyte SDK GitHub

4. Setting up Environment Variables

  1. Create a .env File

Create a .env file inside the root directory with the following content:

DOMAIN=your-egnyte-domain.egnyte.com 
ACCESS_TOKEN=your-access-token-here
  1. Update with Your Credentials
  • Replace your-egnyte-domain.egnyte.com with your actual Egnyte domain.

  • Replace your-access-token-here with your actual Egnyte API access token.

    This .env file is necessary for the server to authenticate and connect securely to your Egnyte domain.

🚀 Running the MCP Server

bash
uv run server.py --python 3.11

This will start the MCP server locally and make the tools available to MCP-compliant clients.

⚡ Setting up MCP Clients

This is a sample MCP (Model Context Protocol) client that connects to a locally running MCP server using fastmcp.
It uses Python Stdio Transport to communicate with the server and call specific tools by name.

How it works

  • Connects to the MCP server (server.py) via Python Stdio.
  • Lists available tools exposed by the server.
  • Calls a specific tool by its name, with provided arguments.
  • The response is returned based on the tool execution.

Prerequisites

  • Python 3.11+
  • fastmcp library installed:
    bash
    uv pip install fastmcp
  • MCP server (server.py) running locally
  • .env file configured

Usage

  1. Ensure the MCP server is running first.
  2. Run the client using the command:
    bash
    python client.py

Cursor IDE Setup

  1. Open Cursor → Settings → MCP
  2. Click "Add new global MCP server"
  3. Add the following configuration:
json
{
  "mcpServers": {
    "Egnyte Document Retriever": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/egnyte-mcp-server",
        "run",
        "server.py"
      ]
    }
  }
}

✅ Replace /path/to/egnyte-mcp-server with your actual directory path.

  1. Save and enable the server in the MCP settings.

🖼️ Example Screenshots

Cursor MCP Server Configuration

Cursor MCP Config

Cursor MCP Query in Action

Cursor MCP Run


Claude Desktop Setup

To connect Egnyte’s MCP server to Claude Desktop:

  1. Launch Claude Desktop and open MCP tool configuration
  2. Go to Settings → MCP Tools → Add New Server
  3. Add the following configuration:
json
{
  "mcpServers": {
    "egnyte": {
      "command": "python3",
      "args": ["server.py"],
      "cwd": "/Users/yourname/path/to/egnyte-mcp-server",
      "env": {
        "DOMAIN": "your-egnyte-domain.egnyte.com",
        "ACCESS_TOKEN": "your-access-token"
      }
    }
  }
}

✅ Replace /Users/yourname/path/to/egnyte-mcp-server with your actual directory path.

  1. Save and Start - Claude should detect the server, list search_for_document_by_name under “Available MCP tools,” and be able to call it with filenames.

🖼️ Example Screenshots

Claude MCP Server Configuration

Claude MCP Config

Claude MCP Query in Action

Claude MCP Run

📈 Roadmap

  • ✅ File search by name
  • ✅ Retrieve relevant documents
  • 🔜 Hybrid search (structured + content)
  • 🔜 Document text extraction

#Helping with development

Please report any problems you find to api-support@egnyte.com or pint@egnyte.com

If you'd like to fix something yourself, please fork this repository, commit the fixes and updates to tests, then set up a pull request with information what you're fixing.

🔗 Helpful Links

Installation

TypingMind
{
  "mcpServers": {
    "egnyte": {
      "url": "https://mcp-server.egnyte.com/mcp",
      "env": null
    }
  }
}

Use Egnyte MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Egnyte is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP connects through a hosted MCP server URL in TypingMind.

Add an MCP server URL

Use this when Egnyte is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter https://mcp-server.egnyte.com/mcp in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste https://mcp-server.egnyte.com/mcp into the Server URL field.
  2. Enter a connection name for Egnyte.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Egnyte connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Egnyte tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Egnyte tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Egnyte to help me with this task?
Egnyte
Sure. I read it.
Here is what I found using Egnyte.

Frequently asked questions

What is the Egnyte MCP server used for?

Egnyte is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Egnyte MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Egnyte with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Egnyte MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Egnyte connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Egnyte MCP to TypingMind?

Egnyte can be connected in TypingMind by adding its hosted MCP server URL. This is useful when you want a remote MCP connection that is available from your TypingMind workspace.

What tools does Egnyte MCP provide in TypingMind?

Egnyte exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Egnyte MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Egnyte requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇