Cover image
Try Now
2025-03-17

MCP -Server für Glean Chat

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Glean MCP Server

A Model Context Protocol (MCP) server that integrates with Glean's Chat API.

Prerequisites

  • Python 3.10+
  • UV package manager (recommended)
  • Glean API key with appropriate permissions(/rest/api/v1/*)

Installation

  1. Clone this repository:

    git clone https://github.com/rahul-roy-glean/glean-mcp-server.git
    cd glean-mcp-server
    
  2. Install dependencies using UV:

    uv sync
    uv lock
    

Configuration

Before running the server, you need to set up your Glean API credentials. Create a .env file in the project root with the following variables:

GLEAN_API_KEY=your_api_key_here
GLEAN_BASE_URL=https://your-domain-be.glean.com/rest/api/v1/

Running the Server

Standalone Mode

To run the server in standalone mode:

uv --directory <PATH_TO_CHECKOUT> run glean_server.py

Debug Mode

To debug the server with the MCP inspector:

npx @modelcontextprotocol/inspector uv --directory <PATH_TO_CHECKOUT> run glean_server.py

You can then test with JSON payloads like:

{
  "messages": [
    {
      "author": "USER",
      "fragments": [
        {
          "text": "What are the company holidays in 2025 ?"
        }
      ],
      "messageType": "CONTENT"
    }
  ],
  "saveChat": true,
  "stream": false
}

Integration with Cursor

To use this server with Cursor, add the following to ~/.cursor/mcp.json:

{
    "mcpServers": {       
        "glean": {
            "command": "uv",
            "args": [
                "--directory",
                "<PATH_TO_CHECKOUT>",
                "run", "glean_server.py"
            ]
        }
    }
}

Documentation Links

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • OffchainLabs
  • GO -Umsetzung des Ethereum -Beweises des Anteils

  • huahuayu
  • Ein einheitliches API-Gateway zur Integration mehrerer Ethercan-ähnlicher Blockchain-Explorer-APIs mit Modellkontextprotokoll (MCP) für AI-Assistenten.

  • deemkeen
  • Steuern Sie Ihren MBOT2 mit einer Power Combo: MQTT+MCP+LLM

    Reviews

    5 (1)
    Avatar
    user_OWyLYARp
    2025-04-17

    I've been using the glean-mcp-server and I'm thoroughly impressed with its performance and capabilities. Rahul-roy-glean has done a fantastic job designing this application, which is evident from its seamless integration and reliability. For anyone in need of a solid MCP server, I highly recommend checking out the glean-mcp-server on GitHub.