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

mcp-server
MCP server for Glean API integration
3 years
Works with Finder
4
Github Watches
3
Github Forks
18
Github Stars
@gleanwork/mcp-server
A Model Context Protocol (MCP) server implementation for Glean's search and chat capabilities. This server provides a standardized interface for AI models to interact with Glean's content search and conversational AI features.
Features
- Search Integration: Access Glean's powerful content search capabilities
- Chat Interface: Interact with Glean's AI assistant
- MCP Compliant: Implements the Model Context Protocol specification
Tools
-
glean_search
Search Glean's content index using the Glean Search API. This tool allows you to query Glean's content index with various filtering and configuration options.
For complete parameter details, see Search API Documentation
-
glean_chat
Interact with Glean's AI assistant using the Glean Chat API. This tool allows you to have conversational interactions with Glean's AI, including support for message history, citations, and various configuration options.
For complete parameter details, see Chat API Documentation
Configuration
API Tokens
You'll need Glean API credentials, and specifically a user-scoped API token. API Tokens require the following scopes: chat
, search
. You should speak to your Glean administrator to provision these tokens.
Configure Environment Variables
-
Set up your Glean API credentials:
export GLEAN_SUBDOMAIN=your_subdomain export GLEAN_API_TOKEN=your_api_token
-
(Optional) For global tokens that support impersonation:
export GLEAN_ACT_AS=user@example.com
Client Configuration
You can use the built-in configuration tool to automatically set up Glean for your MCP client:
# Configure for Cursor
npx @gleanwork/mcp-server configure --client cursor --token your_api_token --domain your_subdomain
# Configure for Claude Desktop
npx @gleanwork/mcp-server configure --client claude --token your_api_token --domain your_subdomain
# Configure for Windsurf
npx @gleanwork/mcp-server configure --client windsurf --token your_api_token --domain your_subdomain
Alternatively, you can use an environment file:
npx @gleanwork/mcp-server configure --client cursor --env path/to/.env.glean
The environment file should contain:
GLEAN_SUBDOMAIN=your_subdomain
GLEAN_API_TOKEN=your_api_token
After configuration:
- For Cursor: Restart Cursor and the agent will have access to Glean tools
- For Claude Desktop: Restart Claude and use the hammer icon to access Glean tools
- For Windsurf: Open Settings > Advanced Settings, scroll to Cascade section, and press refresh
MCP Client Configuration
To configure this MCP server in your MCP client (such as Claude Desktop, Windsurf, Cursor, etc.), add the following configuration to your MCP client settings:
{
"mcpServers": {
"glean": {
"command": "npx",
"args": ["-y", "@gleanwork/mcp-server"],
"env": {
"GLEAN_SUBDOMAIN": "<glean instance subdomain>",
"GLEAN_API_TOKEN": "<glean api token>"
}
}
}
}
Replace the environment variable values with your actual Glean credentials.
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Contributing
Please see CONTRIBUTING.md for development setup and guidelines.
License
MIT License - see the LICENSE file for details
Support
- Documentation: docs.glean.com
- Issues: GitHub Issues
- Email: support@glean.com
相关推荐
Converts Figma frames into front-end code for various mobile frameworks.
Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven
I find academic articles and books for research and literature reviews.
A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.
Mirror ofhttps://github.com/suhail-ak-s/mcp-typesense-server
本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。
Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.
Reviews

user_UACdoggf
I'm thrilled with the Spring Boot MCP Server by ansis-m! It's incredibly efficient and streamlines my development process. The intuitive design and robust functionality make it a top choice for any developer. I highly recommend it to anyone looking for a reliable MCP solution. Check it out here: https://mcp.so/server/MCP-server-for-Claude/ansis-m