Skip to main content

Glean Docs MCP Server

Use this MCP server to give your AI coding assistant access to Glean's documentation. It provides two tools for searching and retrieving docs content.

Server URL​

https://docs.glean.com/mcp

Available tools​

ToolDescription
docs_searchSearch documentation with relevance ranking. Returns matching pages with URLs, snippets, and scores.
docs_fetchRetrieve the full content of a documentation page as markdown. Use URLs from search results.

Connect your AI tool​

Claude Code​

claude mcp add --transport http glean-docs https://docs.glean.com/mcp

Cursor and VS Code​

Add to your MCP configuration (.cursor/mcp.json or VS Code MCP settings):

{
"mcpServers": {
"glean-docs": {
"url": "https://docs.glean.com/mcp"
}
}
}

Windsurf​

Add to your ~/.codeium/windsurf/mcp_config.json:

{
"mcpServers": {
"glean-docs": {
"serverUrl": "https://docs.glean.com/mcp"
}
}
}

Example usage​

After connecting, ask your AI assistant questions about Glean:

  • "How do I configure SSO for Glean?"
  • "What connectors does Glean support?"
  • "How do I set up a custom connector?"

The assistant uses the MCP tools to search and retrieve relevant documentation pages to answer your questions.