4,500+ servers built on MCP Fusion
Vinkius
Glean logo
Vinkius
CrewAI logo

How to Use the Glean MCP in CrewAI

Deploy specialized teams of agents to search and index workspace data using CrewAI and Glean.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Glean MCP on Cursor AI Code Editor MCP Client Glean MCP on Claude Desktop App MCP Integration Glean MCP on OpenAI Agents SDK MCP Compatible Glean MCP on Visual Studio Code MCP Extension Client Glean MCP on GitHub Copilot AI Agent MCP Integration Glean MCP on Google Gemini AI MCP Integration Glean MCP on Lovable AI Development MCP Client Glean MCP on Mistral AI Agents MCP Compatible Glean MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
CrewAI

Connect Glean MCP to CrewAI

Create your Vinkius account to connect Glean to CrewAI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Run multi-agent research using this MCP Server

This setup uses `search` to let your CrewAI research agents dig up historical project files. A specialized researcher agent queries your workspace, while an analyst agent synthesizes the results into a single report. The agents share a common memory space. This means the analyst agent can read the output of `get_document` fetched by the researcher without needing to query the server again.

CrewAI agents manage your document collections

This system runs `list_collections` to let a moderator agent audit your company's knowledge base. The agent identifies empty or outdated collections and uses `delete_document` to prune them automatically. You establish strict guardrails for these operations. A monitor agent watches the session and can halt the crew if it attempts to delete files from restricted directories.

Index new files with specialized agent validation

This MCP capability uses `index_document` to register newly created files into your organization's search index. Before indexing, a CrewAI editor agent checks the file for formatting, while a compliance agent ensures no sensitive keys are written. Once approved, the writer agent calls the indexing tool. This multi-step validation prevents dirty or non-compliant data from polluting your search results.

Setup guide

Set up Glean MCP in CrewAI

Prerequisites

  • Python 3.10+ installed
  • crewai package (pip install crewai)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install CrewAI

    Run pip install crewai to install the framework. MCP support is built-in via the mcps parameter.

  2. 2

    Add the MCP URL to your agent

    Pass your Vinkius endpoint directly to the mcps list. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. CrewAI handles tool discovery and caching automatically.

  3. 3

    Kick off your crew

    Create a Crew with your agent and tasks. Call crew.kickoff() — the agent will automatically invoke Glean tools as needed.

crew.py
from crewai import Agent, Task, Crew

agent = Agent(
    role="Glean Analyst",
    goal="Access and analyze Glean data via MCP.",
    backstory="Expert analyst with direct Glean access.",
    mcps=[
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    ],
)

task = Task(
    description="List recent Glean transactions",
    agent=agent,
    expected_output="A summary of recent activity",
)

crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result)

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Glean MCP in CrewAI

You pass the server URL directly into your CrewAI Agent definition using the `mcps` parameter. The agent automatically discovers tools like `search` and uses them when researching tasks.
Yes. Your HR agent can call `search_people` to find employee profiles, roles, and contact details. This allows the crew to automatically route questions to the correct team lead.
You use the `MCPServerHTTP` class from `crewai.mcp` and set a `tool_filter`. This restricts your agents to safe tools like `search` while blocking destructive tools like `delete_document`.
You trigger `check_glean_status` before starting your crew's task execution. This ensures that your autonomous agents don't waste API tokens trying to search an offline workspace index.
Your internal documents and wiki entries are protected by Vinkius's zero-trust architecture. The MCP Server executes in an ephemeral V8 sandbox, ensuring your private corporate knowledge never leaves your secure infrastructure.

Start using the Glean MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 12 tools

We've already built the connector for Glean. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 12 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.