Skip to main content
Once you’ve enabled Glean MCP servers, you can create custom MCP servers tailored to specific use cases. Each server has its own URL and can be configured with a specific set of tools.

Creating a New MCP Server

1

Navigate to MCP servers

In the Admin Console, go to Platform > Glean MCP servers and click Create server.
MCP servers admin page
2

Configure server details

Fill in the server configuration form:
MCP server configuration form
Server name: Choose a short, user-friendly name to easily identify this server.
  • Use descriptive names that indicate the server’s purpose (e.g., “Engineering Tools”, “Product Research”)
  • This name will be visible to users when they connect MCP host applications
Server path: Define a simple path identifier for the server.
  • Use simple names like sales or engineering-tools
  • Avoid special characters or spaces
Server URL: This is automatically generated based on your path and cannot be edited.
  • Format: https://[instance-name]-be.glean.com/mcp/[your-path]
3

Select tools

Choose which tools to enable for this server. You can add:
  • Built-in Glean tools (search, chat, code search, etc.)
  • Glean agents as tools
See the sections below for details on available tools.
4

Enable the server

Toggle the server status to Enabled to make it active and available for connections.

Server Design Best Practices

Design each server for a single, specific purpose - Keep enabled tools to the minimum needed. Some hosts cap totals (e.g., ChatGPT limits to a specific number of tools per server). Focus on quality over quantity.

Examples of Well-Designed Servers

  • Coding Server: search, read_document, code_search
  • Development Server: code_search, employee_search, meeting_lookup
  • General Knowledge: search, chat, read_document
Avoid creating one server with all tools enabled. This can:
  • Overwhelm the LLM in the host application
  • Make tool selection less accurate
  • Hit host-specific tool limits

Built-in Tools

Glean provides the following built-in tools that can be added to any MCP server. You can mix and match any combination of these tools based on your server’s purpose:

Search

Search across your entire knowledge base with permission-aware results.Tool name: search

Chat

Interactive conversations with Glean’s AI assistant.Tool name: chat

Read Document

Retrieve specific documents by ID or URL.Tool name: read_document

Code Search

Search your codebase and repositories.Tool name: code_search

Employee Search

Find people and expertise in your organization.Tool name: employee_search

Gmail Search

Search Gmail messages and threads.Tool name: gmail_search

Meeting Lookup

Find meeting recordings and notes.Tool name: meeting_lookup

Outlook Search

Search Outlook emails and calendar.Tool name: outlook_search

Adding Agents as Tools

Unlock Custom AI Capabilities

Transform your Glean Agents into reusable MCP tools that can be invoked from any MCP host application. This powerful feature lets you create specialized, company-specific capabilities that extend beyond standard search and retrieval.Example use cases:

PR Review Agent

Analyze pull requests and provide structured feedback on code quality, patterns, and best practices

Competitive Analysis

Research competitors and synthesize insights from internal documents, market data, and customer feedback

Onboarding Assistant

Help new hires find relevant docs, team contacts, and setup guides tailored to their role
Getting started:See the Agents as Tools guide for:
  • How to add an agent as a tool
  • Agent constraints and limitations
  • Best practices for agent design

Managing Existing Servers

To modify an existing server:
  1. Navigate to Platform > Glean MCP servers
  2. Click on the server name to view its configuration
  3. Make your changes (add/remove tools, rename, etc.)
  4. Changes take effect immediately for new connections
Existing connections: Users with active MCP connections may need to refresh or reconnect their host application to see updated tool availability.

Server URLs

Each server has a unique URL that is automatically generated based on the server path you provide:
https://[instance-name]-be.glean.com/mcp/[server-path]
For example, a server with path engineering on instance acme-corp would automatically generate the URL:
https://acme-corp-be.glean.com/mcp/engineering
This URL is displayed in the configuration form (read-only) after you enter the server path. Share this URL with users who need to connect to this specific server from their MCP host applications.

Next Steps